Castrojeriz or Castrogeriz is a locality and municipality located in the province of Burgos, Castilla la Vieja, in the autonomous community of Castilla y León (Spain), the comarca of Odra-Pisuerga, the judicial district of Burgos, head of the town council of the same name and former head of the Castrojeriz judicial district.