The khalwa · خَلْوَة is one of the most demanding practices of Sufism — the prolonged spiritual retreat. The disciple secludes himself in a cell, sometimes for forty days, to give himself entirely to invocation, to prayer, and to the inner combat. It is the ordeal through which, at one moment or another, almost all the great masters pass.
The prophetic model
The khalwa takes root in the very model of the Prophet Muḥammad. Before the beginning of the revelation, the Prophet withdrew regularly to the cave of Ḥirāʾ, at the summit of the mountain above Mecca. It was there, during one of these retreats — around the age of forty — that he received for the first time the revelation through the archangel Gabriel.
This forty is not an arbitrary number. It echoes Mūsā (Moses) on Sinai: “And We appointed for Moses a term of thirty nights, and We added to it ten — which made forty” (Quran 7:142). Forty days is, in the Abrahamic spiritual tradition, the symbolic duration of a profound transformation — Jesus in the desert, Elijah on Horeb, Israel in the crossing.
The arbaʿīn
The Sufis therefore fixed the initiatic khalwa at forty days — the arbaʿīn · أَرْبَعِين. During these forty days, the disciple:
- Remains enclosed in a narrow cell (khalwa), often adjoining the master's zawiya.
- Fasts as much as possible — at the minimum each day according to the rules of Ramadan, sometimes much more.
- Does not speak — except with the master who visits him regularly to inquire after his state.
- Practises the dhikr continuously — vocal then silent, day and night.
- Limits his sleep to the minimum — a few hours each night, sometimes less.
- Follows a precise protocol according to the way — hours, formulas, postures.
The master watches closely. He knows that the khalwa can degenerate — exaltation, illusion, imbalance. He intervenes if necessary. According to the schools, he prescribes a variable duration: seven days for a beginner, twenty for a confirmed disciple, forty for whoever has the strength for it. Some masters made as many as twelve successive khalwa of forty days (chilla in Persian).
The Khalwatiyya way
An entire brotherhood — the Khalwatiyya · الخَلْوَتِيَّة — bears the name of this practice, because it made of it its centre. Born in the fourteenth century in Khorasan, propagated in Anatolia and later in Egypt, Algeria, Sudan, it structures the practice of the khalwa around seven divine Names recited according to a precise order:
- Lā ilāha illā Allāh — “No divinity but God” — the station of islām, submission.
- Allāh — the supreme Name — the station of īmān, faith.
- Huwa — “He” — the station of iḥsān, excellence.
- Al-Ḥaqq — “The Real” — the station of maʿrifa, knowledge.
- Al-Ḥayy — “The Living” — the station of maḥabba, love.
- Al-Qayyūm — “The Subsistent” — the station of tawḥīd, realised unity.
- Al-Qahhār — “The Dominator” — the station of fanāʾ, extinction.
The disciple passes to a following Name only with the master's authorisation, when the latter judges that the preceding one has been sufficiently worked. The khalwa according to the seven Names can take several years to traverse entirely — it is an inner journey of long endurance.
The phenomenology of the cell
What happens in the cell during forty days? The testimonies of Sufis who have traversed the khalwa give a striking idea. According to Najm al-Dīn Kubrā (founder of the Kubrawiyya way, d. 1221), in his work Fawāʾiḥ al-Jamāl, the experience follows identifiable phases:
- The first days: an agitated mental surface, the return of the thoughts of the world, boredom, doubt. The nafs protests, seeks to flee, suggests that it is useless.
- Around the tenth day: the agitation calms. The first inner lights appear — coloured points that arise and disappear.
- Around the twentieth: the lights become more stable. The nafs is more mastered. Visions may arise — of authors and deceased saints, of the Prophet, at times.
- Around the thirtieth: a feeling of presence penetrates the soul. The silence is no longer heavy — it is inhabited.
- The last days: according to grace, spiritual unveilings may come, which will mark the disciple for the rest of his life. But nothing is guaranteed: the khalwa may also end without an exceptional experience, in dryness — and this too is a grace, which teaches humility.
The inner colours
A particularity of the Kubrawi teaching — studied masterfully by Henry Corbin in The Man of Light in Iranian Sufism — is the attention given to the spiritual colours that appear during the khalwa. Each colour corresponds to a station of the soul:
- Black — the nafs ammāra, the unpurified ego.
- Dark blue — the soul that blames itself.
- Red — the inspired soul, in struggle.
- Yellow — the soul at peace, the first lights of the heart.
- Green — the station of walāya, the divine friendship.
- White — the light of the spirit, of the rūḥ.
- Luminous black — the ultimate paradox: the “black above the white,” which is in fact the divine Essence — beyond even light, because dazzling.
These phenomena are not the goal. They are signs that the soul is advancing — or distractions to be surpassed, according to the schools. Many masters recommend not stopping at the visions and the colours, and continuing the dhikr through them. What matters is not what one sees, it is what one becomes.
Conditions and precautions
The khalwa is reserved. The masters do not impose it on just any disciple. Required are:
- A master authorised to direct khalwa — not a self-taught man. The wild khalwa is dangerous, even destructive.
- A prior spiritual maturity — years of practice of the ordinary dhikr, the frequenting of the brothers, knowledge of the way.
- A sufficient physical health — the khalwa, through fasting and lack of sleep, can sorely test the body.
- A practical life in order — affairs settled, family informed, responsibilities entrusted to others for the duration.
- A pure intention — to enter for God, not to have “experiences.”
Without these conditions, the khalwa can produce the inverse of its aim: exaltation, hallucinations, post-retreat depression, the illusion of having “attained” something. Many cases, in the tradition, are reported of imprudent disciples who came out of it broken.
Beyond the cell
And after the khalwa? The constant teaching of the masters is that the outer cell prepares for the inner cell. The goal is not to remain forty days in a recess — it is to become capable of carrying the inner khalwa everywhere: in the street, at the market, at work, in the family. The accomplished saint is the one who, outwardly, lives as if he were always in retreat.
Be outwardly with human beings — but inwardly with God.
Such is the perfect khalwa: solitude in the midst of the crowd. Naqshbandī adage (khalwa dar anjuman)
This idea — proper to the Naqshbandī way — bears the name of khalwa dar anjuman, “retreat in the assembly.” It is the culmination: to no longer need the physical cell because the cell of the heart has become habitable in every circumstance.