Bonifay is a city in Holmes County, Florida, United States. As of the 2010 census the population was 2,793. It is the county seat of Holmes County.
Bonifay was founded in 1882 when the Pensacola and Atlantic Railroad was built across the Florida Panhandle, and was named by P&A executive W. D. Chipley for Frank Bonifay, member of a prominent family who had a brickmaking factory in Pensacola, where the P&A was headquartered. Frank Bonifay bought a stake in the P&A, which in 1891 was merged into the Louisville and Nashville Railroad, which after several more mergers became part of CSX Transportation in 1986. On June 1, 2019, the Florida Gulf & Atlantic Railroad acquired most of the CSX line from Pensacola to Jacksonville. The median annual income for a household in the city was $25,060