The findings by the National Oceanic and Atmospheric Administration showed a troubling trend, as the planet continues to warm due to the burning of fossil fuels, and scientists expect the scorching temperatures to get worse.
"The world is warming. It is continuing to warm. That is being shown time and time again in our data," said Jake Crouch, physical scientist at NOAA's National Centers for Environmental Information.
The month's average temperature across land and sea surfaces worldwide was 61.86 Fahrenheit (16.61 Celsius), marking the hottest July ever.
The previous record for July was set in 1998.
"This was also the all-time highest monthly temperature in the 1880-2015 record," said NOAA in its monthly climate report.
"The first seven months of the year (January-July) were also all-time record warm for the globe," NOAA said.
"This was the highest for January-July in the 1880-2015 record, surpassing the previous record set in 2010 by 0.16 F (0.09 C)."
Scientists also calculated the rate of temperature increase for July at an average of 1.17 F (0.65 C) per century.
Large parts of the Earth were much warmer than average, including Africa which saw its second hottest July on record.
"Record warmth was also observed across much of northern South America, parts of southern Europe and central Asia, and the far western United States," said the NOAA report.
