A square head bolt has a four-sided head. Compared to standard hex bolts, square bolts have a greater surface in contact with the part being fastened, and therefore provide greater resistance to loosening (though also greater resistance to tightening). Square bolts are typically mated with square-headed nuts.