From Middle English castle, castel, from late Old English castel, castell (“a town, village, castle”), borrowed from Late Latin castellum (“small camp, fort”), diminutive of Latin castrum (“camp, fort, citadel, stronghold”), possibly from Proto-Indo-European *kat- (“hut, shed”).