Ocean City is a census-designated place in Okaloosa County, Florida, United States. The population was 6,314 at the 2020 census, up from 5,550 at the 2010 census. It is part of the Crestview–Fort Walton Beach–Destin, Florida Metropolitan Statistical Area.