Stonefort is a village in Saline and Williamson Counties, Illinois, United States. The population was 297 at the 2010 census.