A castellated nut, sometimes referred to as a castle nut, is a nut with slots (notches) cut into one end. The name comes from the nut's resemblance to the crenellated parapet of a medieval castle.
Castle But vs Slotted Nut:
The difference between a slotted nut and a castle nut is the latter has turret geometry on the top of the nut. The nut thicknesses are the same as a slotted nut. Like slotted nuts, castle nut applications are similar using steel pins and taper or split pins, to lock the nut into position after tightening.