Rosemary was associated with memory in ancient Greece, where students would adorn their hair with it while studying. It was also included in funerary rites as a symbol of remembrance of the deceased. The link between rosemary and remembrance was preserved by the Romans, who planted it near tombs. This practice survives today in England. The Romans also used this herb to purify their flocks, adorn their household deities and crown banquet guests.
In the Middle Ages, rosemary was believed to provide protection from nightmares and evil spirits. It was placed under pillows for this purpose. Long revered for its purifying powers, rosemary was also burnt during the medieval era in an attempt to repel the plague.
One prevailing superstition regarding this herb suggests that a thriving rosemary bush in a family's garden indicates a female head of household. In another European tradition, rosemary was used by young women on the eve of the feast of St. Mary Magdalene to attain prophetic dreams.