Ifri (or Ifri-Tha, with the feminine article) was a Berber deity, or perhaps a class of Berber deities, associated with sacred caves. The word ifri in Tamazight means 'cave,' and the divine name was either an epithet for the goddess of any particular cave-sanctuary or a generic title for the cave-spirit class. Both interpretations are defensible from the surviving evidence; the Berber pattern of multiple local divinities (parallel to the Iberian Bandua-pattern, treated in Book III above) makes the multiplication of cave-goddesses across the region plausible.
The cave-cult was an important element of pre-Islamic Berber religion. Many natural caves throughout the Maghreb served as sanctuaries — the visitor would descend into the cave, perform offerings at the inner wall (often a small pool or spring), receive oracular response or healing, and emerge with the marks of having visited the sacred place. The practice has parallels with the cave-cults of the Mediterranean (the Greek and Cretan cave-sanctuaries, the Etruscan underworld-cult sites) and probably represents an indigenous tradition deeply rooted in the Maghreb landscape.
Ifri was depicted (when she was depicted at all — the iconographic tradition was sparse) as a young woman, sometimes seated within the cave-mouth, sometimes naked, sometimes accompanied by serpents (the cave's typical inhabitants) or by torches (for the necessary illumination of the underground sanctuary). Her cult was particularly developed in the Aurès region of eastern Algeria and in the High Atlas of southern Morocco, with a number of cave-sanctuaries known archaeologically.
The cave-cult was syncretized in the Islamic period with the cult of certain marabouts whose tombs were located in or near caves. The Berber folk-tradition of pilgrimages to cave-shrines preserves elements of the older Ifri-veneration, transferred onto the framework of the Islamic saint-cult. The continuity is real but indirect; the explicit name Ifri has receded, but the cave-as-sacred-site sensibility has persisted into the modern period in Berber popular religion.



