Global sea temperatures were fractionally higher than for June last year while land temperatures tied, BBC quoted the US National Oceanic and Atmospheric Administration (NOAA) as saying.
Its global temperature records date back 137 years, to 1880.
Most scientists attribute the increases to greenhouse gas emissions.
They also say climate change is at least partially to blame for a number of environmental disasters around the world.
The combined average temperature over global land and ocean surfaces for June was 0.9 C above the 20th Century average of 15.5 C, the NOAA said in its monthly report.
Last year was the hottest on record, beating 2014, which had previously held the title.