Khafr County (Persian: شهرستات خفر) is located in Fars province, Iran. The capital of the county is Bab Anar. At the 2006 census, the county's population as a part of Jahrom County was 42,199, in 10,550 families. It was separated from Jahrom County in 2019.