But the West Coast enjoyed above-average sunshine for the month.
Hokitika recorded 122.9 hours of sunshine, more than a full day above the average of 98.7 hours.
It was not quite the sunniest on record though: it had 157.4 hours of sunshine in 1967.
Nelson was the sunniest of the main centres this year, getting 155.6 sunshine hours, up from an average of 143.3.
Even Auckland on 124.1 sunshine hours was above its June average of 116.2.
MetService meteorologist John Law said the gloomy month for the east was result of persistent easterly winds bringing low cloud, and the central mountain ranges acting as a block.
"When the wind mainly comes from the western side, you get that shadow out to the east.
"As soon as it comes from the east, that central spine from Gisborne and Hawke's Bay, all the way down the country, acts as a good block and keeps the cloudy conditions on the east side."
There was a period in the beginning and middle of the month where it was grey and dull for weeks on end, Law said.
By June 18, Christchurch was well on track for its darkest June ever, having recorded only 13.8 hours of sunshine.
"It was a grey start to month in Christchurch, and it was only at the end of the month where there were days with 8-9 hours of sunshine that bumped the figure up."
Conversely the dominance of easterly winds provided the best weather to the west of the country.
"There were some great days on the West Coast," Law said.
July was looking like more of a "typical month", Law said.
"It is not looking like that grey trend will continue, but there will be some wet weather from time to time."