what state is ocean city in?
Ocean City, MD. Sponsored Topics. During the hot summer months, Ocean City becomes Marylandâs second-largest city, with beachcombers and sun seekers flocking to the sands. Located on a barrier island off the stateâs eastern coast, Ocean City is the summer vacation destination for residents of nearby Virginia, Pennsylvania, Delaware and beyond. A major reason why Ocean City tourism spikes in the summer is that the cityâs 10-mile-long beach is free and open to the public.