Generally speaking, pins, needles, and nails are protective elements in folk magic. They are one of the elements included in many British witch bottles, which function by drawing in malevolent magic and trap it. One source describes a witch doctor who recommended that a man “take a Bottle, and put his Wives Urine into it, together with Pins and Needles and Nails, and Cork them up,” first to be set on the fire to explode and then later buried in the yard to heal his wife from an illness (Saducismus triumphatus). In Appalachia, Scots-Irish settlers held onto these traditions and passed them down. Here, pins, needles, and nails can be used for protection, healing, divination, love magic, and cursing.
...