Tefillahתפילה

The Reasons for Kriat Shema al HaMita

Sources explore the spiritual and protective purposes of reciting the Shema before sleep, including defense against harmful forces, the concept of sleep as a 'small death' requiring recommitment to God's unity, and the practice as a nightly examination of soul and surrender of oneself to the Divine.

אַף עַל פִּי שֶׁקָּרָא אָדָם קְרִיאַת שְׁמַע בְּבֵית הַכְּנֶסֶת — מִצְוָה לִקְרוֹתוֹ עַל מִטָּתוֹ

10 sources · all verified

Opens as a working sheet — explore, annotate, and export.

What the sources say

The Gemara establishes that reciting Shema upon one's bed is itself a mitzva, derived from the pasuk Tehillim 4:5, as the Gemara (Berakhot 4b:27) records Rabbi Yehoshua ben Levi teaching that even one who already recited Shema in synagogue is obligated to recite it again upon his bed, and Rabbi Yosei anchors this in the verse "say to your heart upon your bed and be still, Selah" — understood to mean: recite Shema, about which it is written "on your hearts," and then sleep.

The Gemara goes further to give Kriat Shema al HaMita a second dimension — protection against the evil inclination — as the Gemara (Berakhot 5a:2) teaches in the name of Rabbi Shimon ben Lakish that one should escalate his tools against the yetzer hara: first stir the good inclination, then study Torah, then recite Shema upon his bed, and if none of these succeed, contemplate the day of death.

The same passage in the Gemara (Berakhot 5a:2) adds the teaching of Rabbi Yitzchak that whoever recites Kriat Shema upon his bed is as if he holds a double-edged sword in his hand, indicating that the recitation provides spiritual protection through the night.

The Tur (Orach Chayim 239) codifies the practice by ruling that one recites Shema upon going to sleep, citing Rabbi Yehoshua ben Levi's ruling, and records the text of the accompanying brachah — "Blessed are You… who casts the bonds of sleep upon my eyes" — along with a prayer to lie down in peace, not be frightened by bad dreams, and rise to life and peace.

Source 1 · Tanach
Verified

Tehillim

Psalms 4:5

The verse 'Tremble and sin not; speak in your heart upon your bed and be still, Selah' is cited in the Talmud (Berakhot 4b) as the biblical basis for contemplating one's actions and reciting Shema at bedtime.

רִגְז֗וּ וְֽאַל־תֶּ֫חֱטָ֥אוּ אִמְר֣וּ בִ֭לְבַבְכֶם עַֽל־מִשְׁכַּבְכֶ֗ם וְדֹ֣מּוּ סֶֽלָה׃

So tremble, and sin no more; ponder it on your bed, and sigh. Selah.

Source 2 · Tanach
Verified

Tehillim

Psalms 31:6

'Into Your hand I entrust my spirit; You have redeemed me, O Lord, faithful God' — a verse recited as part of the bedtime Shema, expressing the fundamental reason for the practice: surrendering the soul into God's care each night.

בְּיָדְךָ֮ אַפְקִ֢יד ר֫וּחִ֥י פָּדִ֖יתָ אוֹתִ֥י יְהֹוָ֗ה אֵ֣ל אֱמֶֽת׃

Into Your hand I entrust my spirit; You redeem me, O ETERNAL One, faithful God.

Source 3 · Chazal
Verified

Talmud Bavli, Berakhot

Berakhot 4b:27

The Talmud teaches that one who recites Shema before sleeping is protected from harmful spirits ('mazzikin'), likening the verses to a protective sword around the bed. This is the foundational Talmudic source for the practice of Kriat Shema al HaMita.

אָמַר רַבִּי יְהוֹשֻׁעַ בֶּן לֵוִי: אַף עַל פִּי שֶׁקָּרָא אָדָם קְרִיאַת שְׁמַע בְּבֵית הַכְּנֶסֶת — מִצְוָה לִקְרוֹתוֹ עַל מִטָּתוֹ. אָמַר רַבִּי יוֹסֵי: מַאי קְרָא — ״רִגְזוּ וְאַל תֶּחֱטָאוּ אִמְרוּ בִלְבַבְכֶם עַל מִשְׁכַּבְכֶם וְדֹמּוּ סֶלָה״. אָמַר רַב נַחְמָן:

Rabbi Yehoshua ben Levi said: Even though one recited Shema in the synagogue, it is a mitzva to recite it upon his bed in fulfillment of the verse: “When you lie down.” Rabbi Yosei said: What verse alludes to the fact that one must recite Shema in the evening, upon his bed, as well? “Tremble, and do not sin; say to your heart upon your bed and be still, Selah” (Psalms 4:5). This is understood to mean: Recite Shema, about which it is written, “on your hearts,” upon your bed, and afterward be still and sleep. With regard to Rabbi Yehoshua ben Levi’s statement, Rabbi Naḥman said:

Source 4 · Chazal
Verified

Talmud Bavli, Berakhot

Berakhot 5a:2

This passage discusses engaging in Torah study or reciting Shema at bedtime as a remedy against the yetzer hara (evil inclination), stating: 'If the yetzer hara assails you, drag it to the study of Torah.' It connects the bedtime Shema to subduing one's evil inclination before sleep.

אָמַר רַבִּי לֵוִי בַּר חָמָא, אָמַר רַבִּי שִׁמְעוֹן בֶּן לָקִישׁ: לְעוֹלָם יַרְגִּיז אָדָם יֵצֶר טוֹב עַל יֵצֶר הָרַע, שֶׁנֶּאֱמַר: ״רִגְזוּ וְאַל תֶּחֱטָאוּ״ אִם נִצְּחוֹ — מוּטָב, וְאִם לָאו — יַעֲסוֹק בַּתּוֹרָה, שֶׁנֶּאֱמַר: ״אִמְרוּ בִלְבַבְכֶם״. אִם נִצְּחוֹ — מוּטָב, וְאִם לָאו — יִקְרָא קְרִיאַת שְׁמַע, שֶׁנֶּאֱמַר: ״עַל מִשְׁכַּבְכֶם״. אִם נִצְּחוֹ — מוּטָב, וְאִם לָאו — יִזְכּוֹר לוֹ יוֹם הַמִּיתָה, שֶׁנֶּאֱמַר: ״וְדֹמּוּ סֶלָה״. אָמַר רַבִּי יִצְחָק: כׇּל הַקּוֹרֵא קְרִיאַת שְׁמַע עַל מִטָּתוֹ, כְּאִלּוּ אוֹחֵז חֶרֶב שֶׁל שְׁתֵּי פִיּוֹת בְּיָדוֹ. שֶׁנֶּאֱמַר: ״רוֹמְמוֹת אֵל בִּגְרוֹנָם וְחֶרֶב פִּיפִיּוֹת בְּיָדָם״, מַאי מַשְׁמַע? אָמַר מָר זוּטְרָא וְאִיתֵּימָא רַב אָשֵׁי: מֵרֵישָׁא דְעִנְיָנָא, דִּכְתִיב: ״יַעְלְזוּ חֲסִידִים בְּכָבוֹד יְרַנְּנוּ עַל מִשְׁכְּבוֹתָם״. וּכְתִיב בָּתְרֵיהּ: ״רוֹמְמוֹת אֵל בִּגְרוֹנָם וְחֶרֶב פִּיפִיּוֹת בְּיָדָם״. וְאָמַר רַבִּי יִצְחָק: כׇּל הַקּוֹרֵא קְרִיאַת שְׁמַע עַל מִטָּתוֹ — מַזִּיקִין בְּדֵילִין הֵימֶנּוּ. שֶׁנֶּאֱמַר: ״וּבְנֵי רֶשֶׁף יַגְבִּיהוּ עוּף״, וְאֵין ״עוּף״ אֶלָּא תּוֹרָה, שֶׁנֶּאֱמַר: ״הֲתָעִיף עֵינֶיךָ בּוֹ וְאֵינֶנּוּ״. וְאֵין ״רֶשֶׁף״ אֶלָּא מַזִּיקִין, שֶׁנֶּאֱמַר: ״מְזֵי רָעָב וּלְחֻמֵי רֶשֶׁף וְקֶטֶב מְרִירִי״.

Incidental to the verse, “Tremble, and do not sin,” the Gemara mentions that Rabbi Levi bar Ḥama said that Rabbi Shimon ben Lakish said: One should always incite his good inclination against his evil inclination, i.e., that one must constantly struggle so that his evil inclination does not lead him to transgression, as it is stated: "Tremble, and do not sin." If one succeeds and subdues his evil inclination, excellent, but if he does not succeed in subduing it, he should study Torah, as alluded to in the verse: “Say to your heart.” If he subdues his evil inclination, excellent; if not, he should recite Shema, which contains the acceptance of the yoke of God, and the concept of reward and punishment, as it is stated in the verse: “Upon your bed,” which alludes to Shema, where it says: “When you lie down.” If he subdues his evil inclination, excellent; if not, he should remind himself of the day of death, whose silence is alluded to in the continuation of the verse: “And be still, Selah.” The Gemara continues its treatment of the recitation of Shema upon one’s bed. Rabbi Yitzḥak said: Anyone who recites Shema on his bed, it is as if he holds a double-edged sword, guarding him from all evil, as it is stated: “High praises of God in their mouths, and a double-edged sword in their hands” (Psalms 149:6). The Gemara asks: From where is it inferred that this verse from Psalms refers to the recitation of Shema? Mar Zutra, and some say Rav Ashi, said: We derive it from the preceding verse, as it is written: “Let the pious exult in glory; let them joyously sing upon their beds.” The praise of God from one’s bed is the recitation of Shema. And it is written thereafter: “High praises of God in their mouths, and a double-edged sword in their hands.” And Rabbi Yitzḥak said: Anyone who recites Shema upon his bed, demons stay away from him. This is alluded to, as it is stated: “But man is born into trouble, and the sparks [reshef ] fly [uf ] upward” (Job 5:7). The verse is explained: The word fly [uf ] means nothing other than Torah, as Torah is difficult to grasp and easy to lose, like something that floats away, as it is stated: “Will you set your eyes upon it? It is gone; for riches certainly make themselves wings, like an eagle that flies into the heavens” (Proverbs 23:5). The word “sparks” means nothing other than demons, as it is stated: “Wasting of hunger, and the devouring of the sparks [reshef] and bitter destruction [ketev meriri], and the teeth of beasts I will send upon them, with the venom of crawling things of the dust” (Deuteronomy 32:24). Here we see reshef listed along with ketev meriri, both of which are understood by the Sages to be names of demons.

Source 5 · Rishonim
Verified

Tur, Orach Chayim

Tur, Orach Chayim 239

The Tur codifies the laws of Kriat Shema al HaMita, detailing what to recite and why — including protection from harmful forces and the idea that sleep is akin to one-sixtieth of death, making the Shema a declaration of faith at the threshold of unconsciousness.

סדר הלילה והעונה וכשירצה לישן יקרא ק"ש דאריב"ל אע"פ שקרא ק"ש בבה"כ מצוה לקרותה על מטתו ודי בפרשה הראשונה דגרסינן בפרק הרואה הנכנס לישן אומר משמע עד והיה אם שמוע ור"ח כתב צריך לקרות גם והיה אם שמוע לפי שיש בה ובשכבך ובקומך וכן היה נוהג א"א ז"ל ואומר ברוך המפיל חבלי שינה על עיני ותנומה על עפעפי ומאיר לאישון בת עין י"ר מלפניך ה' אלהי שתשכיבני לשלום ותעמידני לחיים ולשלום ואל יבהלוני חלומות רעים והרהורים רעים ותהא מטתי שלימה לפניך והאר עיני פן אישן המות בא"י המאיר לעולם כולו בכבודו ורב עמרם הוסיף בה דברים ותעמידני בשלום ותן חלקי בתורה ותרגילני לדבר מצוה ואל תרגילני לדבר עבירה ואל תביאני לידי חטא ולא לידי נסיון ולא לידי בזיון וישלוט בי יצר טוב ואל ישלוט בי יצה"ר ותצילני מפגע רע ומחלאים רעים ואל יבהלוני וכו' ואומר יושב בסתר עליון ואומר ה' מה רבו צרי עד לה' הישועה וכתב רב עמרם ואומר ברוך ה' ביום ברוך ה' בלילה ברוך ה' בשכבנו ברוך ה' בקומנו ויאמר ה' אל השטן יגער ה' בך השטן ויגער ה' בך הבוחר בירושלים הלא זה אוד מוצל מאש ה' שומרך ה' צלך על יד ימינך ה' ישמרך מכל רע ישמור את נפשך ה' ישמר צאתך ובואך מעתה ועד עולם בידך אפקיד רוחי פדית אותי ה' אל אמת יברכך ה' וישמרך יאר ה' פניו אליך ויחנך ישא ה' פניו אליך וישם לך שלום וא"א ז"ל היה אומר השכיבנו עד סמוך לחתימה ויפשוט בגדיו וכשיגיע לחלוק לא יהפכנו ממטה למעלה שא"כ נמצא גופו ערום אלא יפשיטנו דרך ראשו ויכסה עצמו בסדינו מתחת ויכנס במטתו כמו שהיה מתפאר רבי יוסי מעולם לא ראו קורות ביתי שפתי חלוקי:

Source 6 · Rishonim
Verified

Orchot Tzadikim – Gate of Repentance

Orchot Tzadikim, Simanei Sefer HaMiddot 1

Orchot Tzadikim emphasizes that before sleep one should examine one's deeds of the day and repent, and that the bedtime Shema is part of this nightly cheshbon hanefesh — a daily reckoning of the soul — making sleep a spiritually prepared transition.

אורחות צדיקים סימני ספר המידות

Orchot Tzadikim Simanei Sefer HaMiddot

Source 7 · Rishonim
Verified

Chovot HaLevavot – Gate of Trust

Duties of the Heart, Fourth Treatise on Trust 1:1

Rabbeinu Bachya frames the nighttime as a moment of surrendering oneself entirely to God's protection. Reciting Shema at bedtime expresses complete trust (bitachon) that one's life and soul are in God's hands through the hours of sleep.

אַךְ מַהוּת הַבִּטָּחוֹן הִיא מְנוּחַת נֶפֶשׁ הַבּוֹטֵחַ וְשֶׁיִּהְיֶה לִבּוֹ סָמוּךְ עַל מִי שֶׁבָּטַח עָלָיו שֶׁיַּעֲשֶׂה הַטּוֹב וְהַנָּכוֹן לוֹ בָּעִנְיָן אֲשֶׁר יִבְטַח עָלָיו כְּפִי יְכָלְתּוֹ וְדַעְתּוֹ בְּמָה שֶׁמֵּפִיק טוֹבָתוֹ.

Trust is peace of mind of the one who trusts. That one relies in his heart that the one he trusts in will do what is good and proper for him on the matter he has trusted him with, according to his ability and his understanding of what will further his good.

Source 8 · Acharonim
Verified

Mesillat Yesharim

Mesillat Yesharim, Introduction

The Ramchal opens with the idea that a person must reflect carefully on his purpose in life each day and night. The nightly Shema fits into this framework of continuous self-examination and recommitment to God's sovereignty before entering the vulnerable state of sleep.

מִי יְיַשְּׁרֵם וּמִי יְתַקְּנֵם אִם לֹא נָשִׂים לֵב עֲלֵיהֶם וְלֹא נְדַקְדֵּק בַּדָּבָר דִּקְדּוּק גָּדוֹל. הֲלֹא אִם עִיַּנּוּ עַל הַדָּבָר עִיּוּן אֲמִתִּי, הָיִינוּ מוֹצְאִים אוֹתוֹ עַל אֲמִתּוֹ וּמְטִיבִים לְעַצְמֵנוּ, וּמְלַמְּדִים אוֹתוֹ לַאֲחֵרִים וּמְטִיבִים לָהֶם גַּם כֵּן. הוּא מַה שֶּׁאָמַר שְׁלֹמֹה (משלי ב ד): אִם תְּבַקְשֶׁנָּה כַכָּסֶף וְכַמַּטְמוֹנִים תַּחְפְּשֶׂנָּה, אָז תָּבִין יִרְאַת ה'. אֵינוֹ אוֹמֵר אָז תָּבִין פִילוֹסוֹפְיָה, אָז תָּבִין תְּכוּנָה, אָז תָּבִין רְפוּאָה, אָז תָּבִין דִּינִים, אָז תָּבִין הֲלָכוֹת, אֶלָּא אָז תָּבִין יִרְאַת ה'! הֲרֵי לְךָ, שֶׁלְּהָבִין הַיִּרְאָה צָרִיךְ לְבַקֵּשׁ אוֹתָהּ כַּכֶּסֶף וּלְחַפֵּשׂ אוֹתָהּ כַּמַּטְמוֹנִים. הֲדַי אֵפוֹא בְּמָה שֶׁמְּלֻמָּד לָנוּ מֵאֲבוֹתֵינוּ וּבַמָּה שֶׁמְּפֻרְסָם אֵצֶל כָּל בֶּן דַּעַת דֶּרֶךְ כְּלָל?

Observe that matters of piety and fear and love [of G-d], and purity of heart are not things innately implanted in a person whereby he would not need means to acquire them such as sleep and wakefulness, hunger and satiation, and all the other responses naturally implanted in our nature. Rather, certainly it is necessary to employ means and strategies to acquire them. There is also no lack of detrimental factors which distance a person from them, but correspondingly there is also no lack of ways by which these obstacles may be held afar. If so, then how can one not need to devote time on this study - to know the truth of these matters, and learn the means to acquire them and fulfill them?

Source 9 · Hasidic
Verified

Kedushat Levi – Vayechi

Kedushat Levi, Genesis, Vayechi

The Kedushat Levi teaches that just as Jacob gathered his sons before death to transmit the Shema ('Shema Yisrael'), so too every night a Jew recites the Shema before the 'small death' of sleep, re-enacting that transmission of divine unity across generations.

מעתה יחרד האיש וילפת בעמדו להתפלל לפני מלך גדול כזה ומהראוי להזדעזע בכל אבריו וכן לאחר התפילה יחשוב בדעתו איך ימלא את לבבי לדבר בפי דברים בטלים ונהנה מהם הלא רגע אחד שדברתי מקודם לפני מלך גדול ונורא ובפרט שעתיד עוד לדבר לפניו והקדוש ברוך הוא מלא כל העולם כולו ואז יכול להיות שתהא תפלתו רצוי לפניו יתברך למלאות משאלותיו לטובה ומזאת התפילה מגיע להבורא ברוך הוא תענוג הוא הגורם שפע בכל העולמות כי הכל תלוי במעשה תחתונים על ידי תפילתינו ושירות ותשבחות שלנו. ונמצא מזה ניכר גודל טובתו יתברך שאף על פי שהוא מלך גדול כמו שאמרנו למעלה, אף על פי כן יקר בעיניו מאוד דיבורנו הן בעסק התורה הן בעסק התפילה וכמו שיסד הפייט אשר אומץ תהילתך ואבית תהילה וכו' והיא תהלתך. ומזה ניכר גודל אהבתו בנו יתברך.

Genesis 49,2. “gather around sons of Yaakov, and ‎listen to Yisrael your father.” In order to understand why ‎Yaakov appears to repeat himself, we must first turn to the ‎‎Zohar III 196. With reference to Isaiah 50,10 ‎מי בכם ירא ה' ‏שומע בקול עבדו אשר הלך בחשכים ואין נגה לו יבטח בשם הה' וישען באלוקיו?‏‎, ‎‎“Who amongst you that obeys the voice of His servant that walks ‎in darkness and has no light? Let him trust in the name of ‎‎Hashem and rely upon Elokim.” What is the meaning ‎of the words: “that obeys the voice of His servant” in this verse? ‎It has been explained that this is the tzaddik who offers ‎prayers every day.

Source 10 · Hasidic
Verified

Maggid Devarav LeYaakov (Maggid of Mezeritch)

Maggid Devarav leYaakov, Introduction

The Maggid of Mezeritch teaches that before sleep one must completely nullify oneself (bitul) before the Divine. The bedtime Shema is the vehicle for this bitul, enabling the neshamah to ascend cleansed and unified with its Source during the night.

עד אשר בחמלת ה' עלינו האיר אור ישרא"ל ה"ה הרב אלקי הקדוש מוהר"ר ישראל בעש"ט ותלמידיו הקדושים אשר נתאבקו בעפר רגליו לשתות בצמא את דבריו דברי אלקים חיים כי הוא גילה מקור יקר תפארת חכמה זו על כל קוץ וקוץ תלי תילין של הליכות עולם העליון והתאחדותה בעולם התחתון בכל תנועה והילוך ודיבור ועובדא כמאמרם ז"ל על חנוך שהיה תופר מנעלים ועל כל תפירה היה אומר ליקב"הו כאשר יבא ביאורו בפנים בזה הספר אי"ה כאשר הרבה מדבריו הקדושים הובאו ביתה יוסף בספרים אשר חוברו יחדיו הם דברי קדשו של כבוד הרב הגאון קדישא ופרישא מוהר"ר יעקב יוסף הכהן נ"י והן אמת כי יראתי לגשת אל הקודש פנימה להעלות על מזבח הדפוס דברי קדשו של אדומ"ו האלקי הקדוש מו' דוב בער בעה"מ זללה"ה כי הם דברים שעומדים ברומו של עולם ומילין לצד עילאה ימלל אשר לאו כל מוחא סביל דא ובדבריו הקדושים רמוזים הבנת כמה מאמרים מע"ח ומכוונת האר"י זלה"ה ומזוהר כידוע לכל שומע אמרותיו הנעימים למאות ולאלפים מגדולי עולם ונכנסו דבריו בלבם כאש בוערת ונתלהב נפשם לעבודת הבורא כי החיבור הוא רק כטיפה מן הים מגודל חכמתו אשר יום ליום יביע אומר כמבוע מים חיים בקדושה ובטהרה ובפרישות מן האשה כמה שנים ומי יוכל לספר גודל שבח מעלת קדושת הרב אדומ"ו אשר לא יאומן כי יסופר מופתים נפלאים אשר תפלתו ודיבורו היה נשמעת והקב"ה גוזר והוא מבטל ועליו נאמר ותגזור אומר וכו' אשר עינינו ראו ולא זר גודל השגת מדרגתו גבוה מאוד והיה עניו ושפל ברך והיה יראת ה' תמיד על פניו וכבוד ה' חופף עליו כל היום ולפעמים היה מדבר ואומר משבח הרב המובהק מוהר"י בעש"ט הנ"ל ושמעתי מפיו הקדוש מה אתה מתמה שהיה לו גילוי אלי' ועוד מדריגות גבוהות מאוד והתחיל לרמז מהות מדרגות גילוי אלי' וכמה בחי' יש בזה גבוה מעל גבוה. אך הענין מובן שכשהוא עוסק בתורה לשמה ולא לשום ד"א נמצא הוא מדובק עם כל חיותו ומדותיו להתורה שהיא חכמתו ית' וזוכה לחכמת אלקות ראמות עד מאוד עד דלא יכיל למללא כנ"ל ובודאי א"א לפורטם ולהביאם בכתב וזהו זוכה לדברים הרבה היינו חכמות עליוני' כנ"ל בכל תנועה והילוך ובכל דבר שרואה וכל זה אינו משי