A cotter joint is a type of mechanical joint used to connect two coaxial rods or bars rigidly, typically under axial tensile or compressive loads. It is also known as a socket and spigot joint. The joint consists of a socket on one rod, a spigot on the other, and a wedge-shaped cotter that is driven through slots in both rods to create a tight, temporary connection.