Spelled hamapil, ha-mapil or birkat hamapil, and searched as the “hamapil prayer” or the “hamapil blessing” — it is the blessing said over sleep, the one line of the bedtime Shema that is a berachah in the strict sense. Here is the text first, with transliteration and translation, then what the Shulchan Aruch and the Mishnah Berurah say about it: where it goes, why nothing is said after it, and what happens when you cannot fall asleep.
The siddur prints HaMapil as one paragraph. It opens with the blessing proper, continues with a request for a peaceful night, and closes with a second blessing formula. The text below is the siddur’s, unchanged; the transliteration follows common American pronunciation.
The blessing
בָּרוּךְ אַתָּה יְהֹוָה אֱלֺהֵֽינוּ מֶֽלֶךְ הָעוֹלָם הַמַּפִּיל חֶבְלֵי שֵׁנָה עַל עֵינָי וּתְנוּמָה עַל עַפְעַפָּי
Baruch atah Adonai, Eloheinu melech ha’olam, hamapil chevlei sheinah al einai u’tnumah al af’apai.
Blessed are You, Lord our God, King of the universe, who casts the bonds of sleep upon my eyes and slumber upon my eyelids.
The continuation
וִיהִי רָצוֹן מִלְּפָנֶֽיךָ יְהֹוָה אֱלֹהַי וֵאלֹהֵי אֲבוֹתַי שֶתַּשְׁכִּיבֵֽנִי לְשָׁלוֹם וְתַעֲמִידֵֽנִי לְשָׁלוֹם וְאַל יְבַהֲלֽוּנִי רַעְיוֹנַי וַחֲלוֹמוֹת רָעִים וְהַרְהוֹרִים רָעִים וּתְהֵא מִטָּתִי שְׁלֵמָה לְפָנֶֽיךָ וְהָאֵר עֵינַי פֶּן אִישַׁן הַמָּֽוֶת כִּי אַתָּה הַמֵּאִיר לְאִישׁוֹן בַּת עָֽיִן: בָּרוּךְ אַתָּה יְהֹוָה הַמֵּאִיר לָעוֹלָם כֻּלּוֹ בִּכְבוֹדוֹ:
Vihi ratzon milfanecha, Adonai Elohai v’Elohei avotai, she’tashkiveni l’shalom v’ta’amideni l’shalom, v’al yevahaluni ra’yonai va’chalomot ra’im v’hirhurim ra’im, u’tehei mitati shleimah lefanecha, v’ha’er einai pen ishan hamavet, ki atah hame’ir l’ishon bat ayin. Baruch atah Adonai, hame’ir la’olam kulo bichvodo.
May it be Your will, Lord my God and God of my fathers, that You lay me down in peace and raise me up in peace; let my thoughts not trouble me, nor bad dreams nor evil musings; let my bed be whole before You. Light up my eyes, lest I sleep the sleep of death, for it is You who gives light to the pupil of the eye. Blessed are You, Lord, who gives light to the whole world in His glory.
Text from the siddur — The Metsudah siddur, 1981. The spelling of the Divine Name is that edition’s.
The word hamapil — “who casts” — is what the blessing is named for; the paragraph opens and closes with Baruch atah.
People search for the “hamapil prayer”, but the Shulchan Aruch calls it what it is — a blessing. The siman on the bedtime Shema requires exactly two things:
…קורא על מטתו פרשה ראשונה של שמע ומברך המפיל חבלי שינה על עיני וכו'…
He reads upon his bed the first paragraph of the Shema, and recites the blessing HaMapil, who casts the bonds of sleep upon my eyes.Shulchan Aruch, Orach Chaim 239:1
ומברך המפיל
— “and he blesses HaMapil”. It is a berachah, with the Divine Name and “King of the universe”, like a blessing over food. What it is not is a blessing over reading the Shema. The Rama, in the same seif, says so in so many words:
…ואין מברכין על ק"ש של ערבית…
And one does not make a blessing over the evening reading of the Shema.Shulchan Aruch, Orach Chaim 239:1, Rama’s gloss
…ואין מברכין וכו' - פי' אשר קדשנו במצותיו וצונו על ק"ש אין לברך ולאפוקי מדעת איזה פוסק שמצריך לברך…
“And one does not make a blessing” — that is, “who sanctified us with His commandments and commanded us concerning the reading of the Shema” is not to be said, to exclude the view of a certain authority who requires a blessing.Mishnah Berurah 239:8
So the bedtime Shema is read without a blessing of its own. HaMapil is the blessing over sleep — over the bonds of sleep falling on the eyes — and that is what decides every rule on this page: where it goes, and why nothing comes after it.
Open a siddur and HaMapil comes before the Shema. Read the Shulchan Aruch and the order seems to be the other way round. The Mishnah Berurah lays out the three positions:
…מלשון השו"ע משמע דברכת המפיל אומר אחר ק"ש כדי שתהא הברכה סמוכה לשינה ומה שקורא אח"כ יושב בסתר ואינך כיון דהוי משום שמירה לא הוי הפסק [ויש מדקדקין לברך המפיל בסוף אחר כל הפסוקים] ויש מאחרונים שהסכימו שיברך ברכת המפיל קודם ואח"כ ק"ש ויתר פסוקי דרחמי (כמו שנדפס בסידורים…
From the wording of the Shulchan Aruch it appears that he recites the blessing HaMapil after the reading of the Shema, so that the blessing should be adjacent to sleep — and what he reads afterwards, Yoshev be’seter and the rest, since it is for protection, is not an interruption. And some are exacting to recite HaMapil at the very end, after all the verses. And there are Acharonim who agreed that he should recite the blessing HaMapil first, and afterwards the Shema and the other verses of mercy, as it is printed in the siddurim.Mishnah Berurah 239:2
Three views, then: after the Shema; at the very end, after every verse; or first, as the siddurim print it. And instead of ruling, the Mishnah Berurah hands the choice back:
…ונראה דלמעשה יתנהג האדם כפי טבעו דהיינו אם טבעו להרדם באמצע ק"ש טוב יותר שיקדים ברכת המפיל מה דאפשר ואם אין טבעו לזה טוב יותר לאחר ברכת המפיל עד לבסוף:
And it appears that in practice a person should conduct himself according to his nature — that is, if his nature is to fall asleep in the middle of the Shema, it is better that he say the blessing HaMapil as early as possible; and if that is not his nature, it is better to delay the blessing HaMapil until the end.Mishnah Berurah 239:2
The principle behind all three is the same one: the blessing should be adjacent to sleep. Someone who tends to drift off halfway through should say HaMapil early, so that it is said at all. Someone who stays awake to the end should leave it for last, so that nothing stands between the blessing and sleep. Which brings us to the rule people ask about most.
…ואין אוכלים ושותים ולא מדברים אחר קריאת שמע על מטתו אלא ישן מיד שנאמר אמרו בלבבכם על משכבכם ודומו סלה…
And one does not eat or drink or speak after the bedtime reading of the Shema, but sleeps immediately, as it is said: “Speak in your hearts upon your beds, and be still, Selah.”Shulchan Aruch, Orach Chaim 239:1, Rama’s gloss
That is the rule as the Rama states it, and it attaches to the whole bedtime reading. The Mishnah Berurah then draws the line exactly where HaMapil is:
…ואם תאב לשתות או לדבר איזה ענין נחוץ נראה שמותר אך יחזור ויקרא פרשת שמע אכן אם כבר אמר ברכת המפיל יזהר בזה כי יפסיק בין הברכה להשינה…
And if he is thirsty and wishes to drink, or to speak about some pressing matter, it appears that it is permitted — but he should go back and read the paragraph of the Shema. However, if he has already said the blessing HaMapil, he should be careful about this, for he would be interrupting between the blessing and the sleep.Mishnah Berurah 239:4
Two stages, then. After the Shema: thirsty, or something that cannot wait — permitted, provided you read the paragraph again afterwards. After HaMapil: this is where the care begins, because a drink or a conversation now comes between the blessing and the sleep it was said over. That is the whole reason the blessing is placed where it is, and the reason sitting in silence is treated differently from doing something:
…ואין לחוש משום הפסק אלא כשעושה ד"א בינתים אבל מה שיושב ודומם לא מקרי הפסק אף ששהה איזה זמן קודם שיישן…
And there is no concern of an interruption except when he does other things in between; but sitting silently is not called an interruption, even if he waited some time before falling asleep.Mishnah Berurah 239:3
Lying quietly waiting for sleep, even for a while, is not an interruption. Getting up to do something is.
The worry is universal: I said everything, and I am still awake. The Rama addresses it directly, in the same gloss:
…ואם קרא קריאת שמע ולא יוכל לישן מיד אז חוזר וקורא כמה פעמים זה אחר זה עד שישתקע בשינה ושיהיה קריאתו סמוך לשינתו…
And if he read the Shema and cannot fall asleep immediately, then he goes back and reads several times, one after another, until he sinks into sleep, so that his reading should be adjacent to his sleep.Shulchan Aruch, Orach Chaim 239:1, Rama’s gloss
Note carefully what is repeated: the reading. The Mishnah Berurah spells out which reading, and adds two refinements:
…חוזר וקורא - פרשה ראשונה [וראוי שלא לכפול פסוק ראשון] או שיאמר שאר פסוקים דרחמי. וה"ה אם מהרהר בד"ת שפיר דמי…
“He goes back and reads” — the first paragraph (and it is fitting not to repeat the first verse), or he says other verses of mercy. And the same applies if he meditates on words of Torah — that is well and good.Mishnah Berurah 239:7
So when sleep will not come: read the first paragraph again — without repeating the first verse (Shema Yisrael) — or say other verses of mercy, or simply think words of Torah. The sources quoted here say nothing about saying the blessing a second time; what they send you back to is the reading.
And if you did get up — to drink, to check on a child — the passage above (Mishnah Berurah 239:4) applies: after the Shema it is permitted, and you read the paragraph again; after HaMapil it is exactly the interruption to be careful of.
HaMapil belongs to the night. The Mishnah Berurah records the ruling on a daytime sleep in the same passage that explains why no blessing is made over the reading:
…כתבו הפוסקים הישן ביום א"צ לברך ברכת המפיל וטוב שיאמר ויהי נועם וגו' יושב בסתר וגו'…
The poskim wrote: one who sleeps by day need not recite the blessing HaMapil, and it is good that he say Vihi noam and Yoshev be’seter.Mishnah Berurah 239:8
א"צ
is the edition’s abbreviation for ein tzarich — “need not”. An afternoon nap, however long, does not take HaMapil; Vihi noam and Yoshev be’seter are said instead. The passages quoted on this page settle the daytime case; they do not take up a night with no sleep at all.
At the other end, HaMapil is part of the minimum. The verses of the bedtime order are a custom of protection, and someone who cannot say them all is told exactly what remains:
…כל אלו הפסוקים שנהגו לאומרם הוא להגן שלא יבוא עליו ח"ו דבר רע. ואם הוא חולה או אנוס די במה שיאמר פרשה ראשונה של ק"ש וברכת המפיל לבד…
All these verses that they customarily say are to protect, so that no bad thing should come upon him, Heaven forbid. And if he is ill or under constraint, it suffices that he say the first paragraph of the Shema and the blessing HaMapil alone.Mishnah Berurah 239:9
Ill, exhausted, or simply unable: the first paragraph and HaMapil alone. Everything else in the siddur’s bedtime order can be dropped; the blessing cannot.
ואין מברכין על ק"ש של ערבית); HaMapil is the blessing over sleep.
אלא ישן מיד); if something comes up after the Shema, the Mishnah Berurah permits it and asks for the paragraph to be read again — after HaMapil, that is the interruption to avoid (239:4).
לא מקרי הפסק— is not called an interruption (239:3).
For the full bedtime order — the Shema itself, El Melech ne’eman, Baruch shem and the verses that follow — see the page on the bedtime Shema.
A Halakha question? Ask RebSam for free — instant answer, sources cited.
💬 WhatsApp ✈️ Telegram 🌐 Web