July and August are typically the warmest months in Ogunquit, when the average temperature is 20°C. January and February are the coldest months, when the average temperature is -1°C. June and July are the months with the most rain.