In June, the weather in Ocean City is typically warm. Average daily high temperature in June is about 24 degrees above zero. On average, Ocean City has 14 partly cloudy, 12 sunny, and 4 rainy days in June. The rains are usually heavy. June as well as July, August, and September is considered the most comfortable time to visit Ocean City.