 The district is divided into 24 subdistricts ("tambon"), which are further subdivided into 184 villages ("muban").There are three municipal areas within the district.The town ("thesaban mueang") Phetchaburi covers "tambons" Tha Rap and Khlong Krachaeng.