Abstract: A snap fastener includes a male component and a female component. In a mechanical fastener, a shaft having an enlarged tip fits within a socket having a retaining element for releasably holding the enlarged tip. In a magnetic snap fastener, the female component has a magnet and a cover with a central hole for receiving the shaft. In both forms of snap fasteners, the male component and female component have anti-rotation surfaces, which interact to prevent rotation of the male and female components relative to each other.