Ocean City, officially the Town of Ocean City, is an Atlantic resort town in Worcester County, Maryland, along the East Coast of the United States. During the summer, Ocean City becomes the second most populated municipality in Maryland, after Baltimore. It is part of the Salisbury metropolitan area as defined by the United States Census Bureau.