The usual answer runs about 6,650 km from East Africa to the Mediterranean
The Nile, measured from the headwaters of the Kagera in Burundi or Rwanda
Geography · Records & extremes
Africa and South America — the Nile against the Amazon
The one geography record with no settled answer. On the conventional figures the Nile wins at about 6,650 km against the Amazon's 6,400, and that is what most reference works still print. But the Amazon's length depends entirely on which Andean headstream is called the source and where its vast estuary is said to end, and Brazilian and Peruvian surveys since 2007 have made claims above 6,800 km. The honest answer is that it depends on the measuring convention, and quiz setters usually expect the Nile.
The usual answer runs about 6,650 km from East Africa to the Mediterranean
The Nile, measured from the headwaters of the Kagera in Burundi or Rwanda
The challenger runs about 6,400 km on the same conventions, but far more on others
The Amazon, traditionally measured from the Apurímac and the glacier of Nevado Mismi in Peru
A 2007 Brazilian survey claimed a new source and mouth that put the South American river ahead (2007)
INPE and IBGE gave a figure around 6,800 km, measuring to the Pará estuary
A rival Peruvian headstream claim would add a further 70-odd kilometres
James 'Rocky' Contos argued in the 2010s for the Mantaro rather than the Apurímac
Whichever is longer, the South American one carries about twenty times more water
Roughly a fifth of all the river water reaching the world's oceans
The dispute is about convention, not measurement: where a source starts and an estuary ends
Seasonal and ephemeral headwaters, and a mouth over 300 km wide, make the question partly arbitrary
Third place is not disputed: a Chinese river of about 6,300 km
The Yangtze, the longest river to flow entirely within one country