Khodabandeh County (Persian: شهرستان خدابنده) is a county in Zanjan Province in Iran. The capital of the county is Qeydar. At the 2006 census, the county's population was 161,696, in 36,121 families. The county is subdivided into four districts: the Central District, Afshar District, Bizineh Rud District, and Sojas Rud District. The county has four cities: Qeydar, Garmab, Zarrin Rud, and Sojas.