The main function of a washer is to distribute the load of a fastener and prevent damage to the surface being fastened. It also helps to prevent the fastener from loosening due to vibration or other forces.