Trusting Hashem as You Close Your Eyes

The Hamapil prayer is the bracha recited immediately before falling asleep, and it transforms one of the most ordinary human experiences into an encounter with the divine. While the world prepares for rest by turning off lights and settling into pillows, a Yid pauses to bless the Creator of sleep itself — acknowledging that the ability to close one’s eyes and lose consciousness is not an accident of biology but an act of Hashem’s ongoing kindness.

Hamapil is a single bracha — a bracha with Hashem’s name — that a Yid recites as the final formal tefillah before sleep. Its opening words give it its name: Hamapil chevlei sheinah al einai — “Who causes the bonds of sleep to fall upon my eyes.” This bracha appears in the Gemara (Brachos 60b) as part of a series of brachos said at various points during the day and night. The Shulchan Aruch codifies it in Orach Chaim 239, within the framework of the bedtime Shema.

Hamapil is recited by both men and women, individually, in the privacy of one’s bedroom. It is said quietly, lying in bed, in the moments before consciousness gives way to sleep. The bracha includes a request that Hashem grant peaceful rest, protect from disturbing dreams and harmful thoughts, and illuminate one’s eyes — a reference to the hope that Hashem will restore the soul and wakefulness in the morning. In the sequence of the bedtime Shema, Hamapil typically comes after the recitation of Shema and the additional Tehillim and verses of protection, serving as the closing bracha — the seal of the day.

The Arizal’s kabbalistic teachings deepened the understanding of Hamapil significantly. In the Arizal’s framework, sleep represents the departure of the higher levels of the neshamah from the body, leaving only the nefesh to sustain physical life during the night. Hamapil, in this understanding, is not merely a bracha over the experience of sleep — it is a formal entrusting of the neshamah to Hashem’s care during its nightly absence. This dimension elevates it from a routine nightly bracha to a profound act of spiritual trust. Throughout the centuries, the text of Hamapil has remained remarkably stable across all communities.

Before You Say This Bracha

You are about to hand your neshamah back to Hashem for the night. Before the words of Hamapil leave your lips, take one slow breath and let the day go. The emails you did not answer. The conversation that did not land right. The worry that has been running in the background for hours. None of it follows you into sleep unless you carry it there. Let it settle. Then speak:

Ribono Shel Olam, thank You for this day, for the good I do not even know to count, and for carrying me through the hard parts. I am giving You my neshamah now. Please lay me down in shalom and raise me up in shalom. Guard my family while I sleep. Quiet the worries I cannot let go of. Let me wake up in the morning with a fresh heart and a clearer mind. Elaha d’Meir aneni.

If giving tzedakah, add:

In the zechus of the tzedakah I am giving for Rabbi Meir Baal Haness, watch over me and mine through this night. Let the chesed I am doing now be a shield for my sleep and a light for my morning.

Hamapil: The Full Bracha

[rmbh_prayer_tabs]

Understanding the Words of Hamapil

Hamapil chevlei sheinah al einai הַמַּפִּיל חֶבְלֵי שֵׁנָה עַל עֵינָי “Who causes the bonds of sleep to fall upon my eyes.”

The word chevlei — bonds or ropes — is startling. Sleep does not drift over a person like a mist; it binds them, captures them, pulls them down from the waking world. Rabbinic sources describe sleep as a force that can overpower a person’s will. The Tur elaborates that this language acknowledges the involuntary nature of sleep — no person can remain awake indefinitely, because Hashem has designed the human body to surrender to rest. For the person who fights sleep, who feels that resting means losing control or wasting time, this phrase reframes the experience: sleep is not weakness. It is Hashem’s design, and submitting to it is an act of trust in that design.

She’tashkiveini l’shalom v’sa’amideini l’shalom שֶׁתַּשְׁכִּיבֵנִי לְשָׁלוֹם וְתַעֲמִידֵנִי לְשָׁלוֹם “That You lay me down in peace and raise me up in peace.”

This request appears simple, but the precision of its language is striking. The tefillah does not ask merely to sleep in peace — it asks to be laid down and raised up. The passive voice is deliberate: we do not put ourselves to sleep, and we do not wake ourselves up. Both transitions — from waking to sleeping, and from sleeping to waking — are acts of Hashem. The pairing of tashkiveini and sa’amideini frames the entire night as a journey with Hashem as its guide. For the person anxious about what tomorrow holds — an uncertain diagnosis, a difficult meeting, an unresolved conflict — this tefillah is a reminder that the same G-d who lowers you into sleep is the One who will raise you into the morning. Both ends of the night are in His hands.

V’ha’eir einai pen ishan hamaves וְהָאֵר עֵינַי פֶּן אִישַׁן הַמָּוֶת “Illuminate my eyes lest I sleep the sleep of death.”

This phrase brings a raw honesty to Hamapil that is easy to overlook. We are asking Hashem, openly, not to let us die in our sleep. A number of acharonim explain that this request reflects the halachic reality that each night carries a genuine uncertainty — will the neshamah be returned in the morning? The fact that it has been returned every morning so far does not diminish the miracle. The Modeh Ani tefillah each morning is the answer to this nightly question. For the person saying these words, there is no pretense that sleep is trivial or guaranteed — it is an act of emunah, a nightly leap into the unknown, sustained only by Hashem’s commitment to illuminating the world anew.

Hameir la’olam kulo bichvodo הַמֵּאִיר לָעוֹלָם כֻּלּוֹ בִּכְבוֹדוֹ “Who illuminates the entire world with His glory.”

The closing bracha of Hamapil ends not with sleep but with light — Hashem’s light that fills the entire world. Commentators note that this closing is striking for a bracha about sleep and darkness. Why end with illumination? Because the bracha is ultimately not about the night — it is about the One Who governs both night and day. Hashem’s glory does not diminish when a person closes their eyes. The darkness of sleep, like the darkness of night, is not an absence of Hashem’s presence but another expression of it. For the person lying in darkness, afraid or alone, this closing is Hashem’s final word before sleep: even here, even now, My light fills everything.

How to Say This Bracha

The Hamapil prayer is recited in bed, immediately before going to sleep. It should be the very last thing said before one’s eyes close — the Mishnah Berurah (Orach Chaim 239) emphasizes that no unnecessary speech should follow Hamapil. The bracha is said lying down, though one should be sufficiently awake to say it with kavanah and not mumble through it while already half-asleep.

The standard Ashkenazi sequence is: first the Shema (first paragraph), then additional Tehillim and pesukim of protection, and finally Hamapil as the closing bracha. However, the Mishnah Berurah notes a practical concern: if a person says Hamapil and then does not fall asleep, there is a question of whether the bracha was said in vain. Because of this concern, some poskim recommend saying Hamapil before the Shema, so that the Shema remains on one’s lips as the very last words before sleep. Each person should follow the practice of their community or the guidance of their rav.

Women recite Hamapil as well. The bracha is a bracha over an experience (sleep), and women recite brachos over experiences just as men do. The practice is widely accepted across all communities. If a person is uncertain whether they will fall asleep (for example, if they are lying down for a nap during the day or are not tired), the common guidance is to recite Hamapil without Hashem’s name to avoid the concern of a bracha l’vatalah. For nighttime sleep, when one intends to sleep for the night, the full bracha with Hashem’s name is said.

If a person wakes up during the night and returns to sleep, they do not repeat Hamapil. The bracha covers the entire night’s sleep. If a person said Hamapil and then cannot fall asleep, they should not speak unnecessarily but may recite Tehillim or learn Torah silently in their mind.

Give Tzedakah in the Zechus of Rabbi Meir Baal Haness

The Hamapil prayer marks the boundary between the day’s activity and the night’s surrender. It is the last moment of conscious spiritual engagement before sleep carries the neshamah into Hashem’s care. The Gemara in Bava Basra 10a teaches that tzedakah creates merit that can tip the scales of judgment, and the teaching from Mishlei that tzedakah tatzil mimaves — “tzedakah saves from death” — takes on particular resonance at the moment we ask Hashem to illuminate our eyes lest we sleep the sleep of death.

When a Yid says Hamapil and then gives tzedakah — even a small amount — they close the day with both tefillah and ma’aseh. Rabbi Meir Baal Haness promised that giving to the poor of Eretz Yisroel in his zechus, accompanied by the words Eloka D’Meir Aneini, opens a channel of divine assistance. Rabbi Meir Baal Haness Charities, founded in 1799, is one of the oldest tzedakah organizations serving the poor of Eretz Yisroel, distributing funds to Torah scholars, widows, orphans, and needy families.

As you prepare to entrust your neshamah to Hashem for the night, consider the power of accompanying that trust with an act of generosity. Let the last act of your day be one that sustains life — both your own, through the zechus of tzedakah, and the lives of the needy families in Eretz Yisroel. Each morning you wake up is proof that Hashem answered last night’s tefillah. Let your tzedakah be the answer you offer Him in return.

Give Tzedakah in the Zechus of Rabbi Meir Baal Haness

Tefillah and Hishtadlus for Sleep

Hamapil is a tefillah, not a sleeping pill. It asks Hashem for peaceful rest — and it also expects you to do your part. Chazal teach that a person is responsible for their own hishtadlus, and sleep is no different. If you lie down already overcaffeinated, with your phone in your hand and your mind spinning through tomorrow’s tasks, Hamapil alone is not going to quiet you. Real rest takes preparation.

A few simple pieces of hishtadlus: end screen time earlier than you think you need to. Keep your bedroom quiet and as dark as you can make it. Avoid heavy food close to bedtime. If worries are keeping you up, write them down on a piece of paper beside your bed — a practical way of handing them off so your mind does not have to keep holding them. Then say Hamapil with kavanah. The combination of your hishtadlus and Hashem’s bracha is what makes the night what it is meant to be: a time of real renewal, so you can wake up tomorrow with the strength to serve Him well.

[rmbh_faq]

A Blessing for Restful Sleep

The Hamapil prayer stands at the threshold between consciousness and mystery — the last words a Yid speaks before entering the realm of sleep, where the neshamah draws close to its Source. It is a bracha that asks nothing grand and promises nothing specific. It simply acknowledges the truth: that sleep is a gift, that the night belongs to Hashem, and that we close our eyes trusting in His light.

In the zechus of Rabbi Meir Baal Haness, may you be blessed with restful, restorative sleep and the joy of opening your eyes each morning to a world illuminated by Hashem’s glory. May your nights be free of fear, your dreams be peaceful, and your mornings carry the freshness of a neshamah that has been held safely through the dark. And may your last conscious thought each night — and your first conscious thought each morning — be gratitude to the One who never sleeps and never slumbers.

You can submit a prayer request to the scholars at Rabbi Meir’s grave in Tiberias at no cost — they will daven for you by name through Rabbi Meir Baal Haness Charities. And if you would like to give tzedakah in Rabbi Meir’s zechus as well, your kindness will rise together with your tefillah.

Give Tzedakah in the Zechus of Rabbi Meir Baal Haness