The best time to visit Ocean City is from late May to early September, just be prepared for average highs in the mid-80s and a little humidity. There will also be a lot of crowds, and hotel rates that are double the cost of visiting in spring, so consider booking several months in advance.