Ocala is a city in Marion County, Florida. In 2010, the number of people recorded by the U.S. Census Bureau was 56,315. It is the county seat of Marion County, and the principal city of the Ocala, Florida Metropolitan Statistical Area, which in the 2010 census had a population of 331,298.