Las tierras castellonenses junto con las valencianas y alicantinas estuvieron habitadas hace muchos años por pobladores islámicos, estos pueblos tuvieron que marcharse ante la llegada del rey Jaime I, el cual después de conquistar estas comarcas fundó gran número de villas y pueblos a partir de 1233.