Sources address whether a hotel guest may use an electronic key card to enter or exit a locked room on Shabbat when no mechanical key is available. The discussion includes guidance on permissible alternatives, the role of non-Jewish assistance, and advance planning to avoid Shabbat complications.
יקרא לגוי שיוציא הפיוזים
19 sources · 16 verified
Opens as a working sheet — explore, annotate, and export.
What the sources say
This question actually bundles together several separate halachic questions: whether opening an electronic door completes a melacha through electricity, whether triggering the mechanism passively (rather than deliberately) changes the analysis, and whether the absence of any alternative key justifies leniency.
Opening a door via electricity on Shabbos
Several poskim treat an electronically-operated door as raising a genuine melacha concern rather than a mere shvus: Kitzur Shulchan Arukh Yalkut Yosef, Orach Chaim 276:7 rules that one may not rely on staying in a hotel room whose door opens only via an electronic eye or card inserted in a slot, and Maamar Mordechai Hilchot Shabbat, Chelek 4 84:9 similarly forbids opening a door with an electronic code mechanism on Shabbos, directing that entry be arranged in advance so the resident opens it manually from inside.
B'Mareh HaBazak Volume I 28:5 explains that pressing a button that closes an electric circuit to release a magnetic lock generates sparks and is forbidden even though no flame or classic melacha is directly visible, citing the concerns of molid, boneh, and makeh b'patish.
B'Mareh HaBazak Volume VII 32:6 likewise forbids opening a door via electronic keys on Shabbos, and when no alternative exists prefers that a non-Jew be asked to open it, provided doing so does not also activate other devices.
B'Mareh HaBazak Volume IV 44:4 forbids use of an electronic coded entry device on Shabbos and suggests replacing it with a mechanical device resembling it, since fellow residents refused to disable the electronic lock for security reasons.
Activating a device through passive/indirect means
Kitzur Shulchan Arukh Yalkut Yosef, Orach Chaim 276:6 and Kitzur Shulchan Arukh Yalkut Yosef, Orach Chaim 318:34 discuss a door that opens automatically via an electronic eye when a person merely approaches it, ruling that one should be careful not to approach such a door so as not to cause its opening, though if a non-Jew opens it independently there may be room to be lenient, and disputing whether entering through such a door constitutes forbidden benefit from melacha or is comparable to מבריח ארי (chasing away a lion).
Kitzur Shulchan Arukh Yalkut Yosef, Orach Chaim 276:8 extends this to a door opened by a non-Jewish guard pressing an electric button, permitting entry when manual opening by key is also possible, but otherwise directing one to wait for a non-Jewish neighbor to open it and enter alongside him.
Shut HaRav HaRashi 27:3 likewise addresses the status of an automatic electric door that opens and closes as a person approaches, treating this passive triggering as its own distinct question for Shabbat and Yom Tov.
The Gemara's discussion of opening and closing an ordinary door behind which a candle burns, where the door's movement was not itself an act of kindling but merely caused an unintended effect, reflects an early paradigm for evaluating indirect causation of an effect through a permitted act, as recorded in Shabbat 120b:4.
Shulchan Arukh, Orach Chayim 307:5 establishes the broader principle that a non-Jew may be asked to perform an act that is only rabbinically prohibited on Shabbos when there is some illness, great need, or mitzvah involved, a principle these poskim apply to the hotel door predicament.
The Tosefta's teaching that doors may even be broken down to rescue a child trapped inside, or that one may act on Shabbos without seeking permission when danger to life is at stake, establishes a general model for how urgent necessity can override ordinary door-related restrictions, as recorded in Tosefta.
Revavos Ephraim (Revavos Ephraim 7:104) — Revavos Ephraim 7:104 addresses the permissibility of using an electronic key card to open a hotel door on Shabbos when no mechanical key is available, and permits it under specific conditions: either arranging beforehand with hotel staff to open the door, or modifying the card mechanism to operate non-electrically through a magnetic system that does not involve completing an electrical circuit when the card is inserted.
Minchas Yitzchak (Minchas Yitzchak 10:29) — Minchas Yitzchak (10:29) permits a Jewish guest to stay in a hotel on Shabbos where electronic key card locks are the only option, provided no mechanical key is available and there is genuine difficulty obtaining alternative lodging, reasoning that since the non-Jew opens the door independently upon seeing the guest approach (rather than in direct response to an instruction), this constitutes a tolerable form of indirect causation comparable to other instances where rabbinic prohibitions may be relaxed in cases of significant hardship.
·
Source 1 · Chazal
Verified
Shabbat 120b
שבת ק״כ ב — ד"ה תָּנָא
Shabbat 120b:4
Discusses indirect causation and the limits of permitted action in preventing or responding to prohibited Shabbat outcomes, relevant to indirect activation and access arrangements.
It was taught: With regard to a candle behind a door, one may open and shut the door in his usual manner, and if it is extinguished, it is extinguished. Rav would curse one who did so. Ravina said to Rav Aḥa, son of Rava, and some say that Rav Aḥa, son of Rava, said to Rav Ashi: What is the reason that Rav cursed and reprimanded one who did so? If you say it is because Rav holds in accordance with the opinion of Rabbi Yehuda that it is prohibited to perform an unintentional act from which a prohibited labor could ensue, and the tanna taught in accordance with the opinion of Rabbi Shimon that it is permitted to perform an unintentional act in those circumstances; because Rav holds in accordance with the opinion of Rabbi Yehuda, he curses anyone who teaches the halakha in accordance with the opinion of Rabbi Shimon? They rely on the ruling of a tanna, whose opinion is legitimate. He said to him: In this case, even Rabbi Shimon concedes that it is prohibited, as it was Abaye and Rava who both said that Rabbi Shimon concedes in a case of: Cut off its head, will it not die? In an instance where the unintentional act leads to an inevitable prohibited consequence, even Rabbi Shimon agrees that the person who performs the unintentional act is liable.
On Shabbat, one may violate other prohibitions to address possible danger to life without seeking permission from a court; for example, one may break down the doors of a house to extract a child who is trapped inside, even if the doors are made of stone.
מפקחין על ספק נפשות בשבת, והזריז הרי זה משובח, ואינו צריך ליקח רשות מבית דין. כיצד, נפל לים ואינו יכול לעלות, טבעה ספינתו בים ואינו יכול לעלות יורדין ומעלין אותו משם ואינו צריך ליטול רשות מבית דין. נפל לבאר ואינו יכול לעלות, עוקרין לו חוליא ומעלין אותו משם ואינו צריך ליטול רשות מבית דין. תינוק שנכנס לבית ואינו יכול לצאת שוברין לו דלתות הבית ואפילו הן של אבן ומעלין אותו ומוציאין אותו משם ואינו צריך ליטול רשות מבית דין. מכבין ומפסיקין דליקה משבת, והזריז הרי זה משובח, ואינו צריך ליטול רשות מבית דין.
Rav Yehuda reported in the name of Rav that one who opens a new neck opening in a garment on Shabbat by cutting the fabric and threads is liable to bring a sin-offering, since fashioning the opening renders the garment fit for use and thus constitutes crafting a utensil on Shabbat.
Having raised the issue of opening a collar, the Gemara cites that Rav Yehuda said that Rav said: One who opens a new neck opening in a shirt on Shabbat, by cutting through the fabric and threads that kept it closed, is liable to bring a sin-offering. By creating the opening, he renders the shirt fit to wear, thereby fashioning a utensil on Shabbat.
Rabba and Rabbi Zeira both rule that one who performs any action on Shabbat that contains an element of completion of work incurs liability for the labor of striking a blow with a hammer.
We learned in the mishna, among those liable for performing primary categories of labor: One who builds and one who dismantles; one who extinguishes and one who kindles; and one who strikes a blow with a hammer. With regard to the labor of striking a blow with a hammer, it is Rabba and Rabbi Zeira who both stated a principle: One who performs any action on Shabbat that contains an element of completion of work is liable for the labor of striking a blow with a hammer.
Joseph Karo states that an Israelite may instruct a non-Jew to perform on Shabbat an act that is not a melacha and violates only a rabbinic restriction (shvut), provided there is present some illness, significant need, or a mitzva involved.
דבר שאינו מלאכה ואינו אסור לעשותו בשבת אלא משום שבות מותר לישראל לומר לעכו"ם לעשותו בשבת והוא שיהיה שם מקצת חולי או יהיה צריך לדבר צורך הרבה או מפני מצוה כיצד אומר ישראל לעכו"ם בשבת לעלות באילן להביא שופר לתקוע תקיעת מצוה או להביא מים דרך חצר שלא עירבו לרחוץ בו המצטער ויש אוסרין: הגה ולקמן סי' תקפ"ו פסק להתיר וע' לעיל סי' רע"ו ס"ב דיש מקילין אפי' במלאכה דאורייתא וע"ש ס"ג:
recovered from “Shulchan Arukh HaRav, Orach Chayim 318:28”
Shulchan Arukh HaRav
שולחן ערוך הרב, אורח חיים שי״ח — ד"ה מֵחַם שֶׁפִּנָּה מִמֶּנּוּ מַיִם חַמִּין —
Shulchan Arukh HaRav, Orach Chayim 318:21
The Tanya rules that one may place a small amount of cold water into hot water to cool it down, even though this incidentally joins and strengthens the vessel (as metalworkers do when cooling hot metal in water to harden it), because the person's intention is only to cool the water rather than to repair the vessel, and there is no certainty that vessel-damage will result since the cold water prevents excessive heating.
Israel Meir Kagan rules that a book inscribed with letters or words at the top of its pages may not be opened or closed on Shabbos according to some authorities, since opening breaks the letters (like erasing) and closing resembles writing, but the Rama permits this leniently, and many later authorities agree that since the book is made to open and close regularly, it does not constitute erasing or writing but rather resembles a door that opens and closes continuously, though it is proper to be stringent when another book is available.
(יז) דהוי מוחק - ואף דאינו ע"מ לכתוב איסורא דרבנן מיהו איכא ואף שאינו מכוין למחוק פ"ר הוא ואסור אף בדרבנן וכדמוכח בסימן שי"ו ס"ד ועיין בספר דגול מרבבה שמצדד להקל בעיקר הדין הזה והביאו בשע"ת ויש לסמוך עליו כשאינו שובר במקום האותיות בידו רק בפיו דרך אכילה. וספר שכתוב עליו בראשי חודי דפיו אותיות או תיבות יש אוסרין לפתחו ולנעלו בשבת דע"י הפתיחה שובר האותיות והוי כמוחק וכן כשנועלו הוי ככותב אבל דעת הרמ"א בתשובה להקל בזה וכן דעת הרבה אחרונים וטעמם דכיון דעשוי לנעול ולפתוח תמיד ליכא ביה משום מחיקה וכתיבה והוי כדלת הנסגר ונפתח תמיד דאין בו משום בנין וסתירה וכן המנהג. ומ"מ נכון להחמיר כשיש לו ספר אחר:
Rav Yitzchak Yosef rules that one may not stay at a hotel on Shabbos if rooms open and close only by electronic eye or card-slot system with no alternative; however, if one is already trapped in a room on Shabbos and cannot leave to pray, eat, or sanctify Shabbos without activating an electrical circuit, one may instruct a non-Jew to disable the electrical system through sabotage (such as removing fuses) so that one can exit and enter freely.
מי שנקלע לבית מלון שחדריו נפתחים וננעלים באמצעות עין אלקטרונית, או על ידי כרטיס המוכנס לחריץ שבדלת, [הפועל על ידי מערכת אלקטרונית] , ואין אפשרות אחרת, אין להתיר לשהות בשבת במלון זה. ואם הדבר נתגלה לו אחר שכבר נמצא במלון בשבת, ואינו יכול לצאת מחדרו כדי לקדש ולאכול ולהתפלל אלא אם כן יפעיל מעגל חשמלי, מותר לומר לגוי שיבטל את מערכת החשמל בדרך קלקול, כגון הוצאת הפיוזים וכדו', כדי שיוכל לצאת ולהכנס. [ילקוט יוסף, שבת כרך א' עמוד שלב] .
Rav Yitzchak Yosef presents a machlokes regarding an automatically opening electronic door: one view holds that a Jew should not enter the building until the door closes again, since opening it constitutes a forbidden melacha that requires electrical action, and one may not benefit from Shabbat work even if unintentionally caused; the other view compares it to "scaring away a lion" and holds that there is no prohibition of benefiting from the melacha.
דלת חשמלית הפועלת על-ידי כך שכאשר האדם מתקרב אל הדלת היא נפתחת מאליה על-ידי עין אלקטרונית, או דלת שיש לפניה מישטח שכל דריכה עליו גורמת לפתיחת הדלת, ואחד השכנים שאינם שומרי תורה ומצוות עבר וגרם במזיד לפתיחת הדלת, יש אומרים שאין להכנס לבנין קודם שהדלת תיסגר חזרה, שהרי עצם פתיחת דלת זו היא מלאכת איסור, שהרי אי אפשר לפותחה בלי פעולה חשמלית, וכיון שנתכוין לפתיחה אין ליהנות ממלאכת שבת. וימתין עד שגוי יכנס לבנין ואז יכנס עמו. ויש חולקים ואומרים דחשיב כמבריח ארי, ואינו בכלל נהנה ממלאכת שבת. [ילקו"י שבת כרך ג' עמוד נח] .
Rav Yitzchak Yosef rules that one must be careful not to approach an electronic door that opens automatically when a person draws near, so as not to cause it to open on Shabbos; instead, one should wait for another person (a non-Jew) to enter the building and then enter together, and do the same when leaving, though if a non-Jew opens the door specifically for an Israeli, there is basis for leniency, particularly if one could enter via a side entrance anyway.
דלת חשמלית הפועלת על ידי כך שכאשר האדם מתקרב אל הדלת היא נפתחת מאליה על ידי עין אלקטרונית, יש להזהר בשבת שלא להתקרב אל דלת זו, כדי שלא לגרום לפתיחתה בשבת. וימתין עד שאדם אחר [גוי] יכנס לבנין, ואז יכנס יחד עמו. וכך יעשה כשברצונו לצאת. ואם בא הנכרי ופתח הדלת במיוחד בשביל הישראל, המיקל להכנס לבנין יש לו על מה לסמוך, בפרט כאשר בלאו הכי יכול להכנס לבנין דרך הפתח הצדדי. [ילקו"י שבת א' עמ' שלג] .
On Shabbos, opening a door via electronic keycard is prohibited; in cases of need where a mechanical key is unavailable, one should ask a non-Jew to open the door (even arranging this in advance is permitted), provided the opening does not activate other devices, and only if no non-Jew is available may one open it in an altered manner, provided no additional devices are activated.
א. אסור בשבת לפתוח דלת באמצעות מפתחות אלקטרוניים. ב. בשעת הדחק, כשאין אפשרות לנתק את הדלת ממפתחות אלו ולהשתמש במפתחות הרגילים, העדיפות היא לבקש מגוי שיפתח הוא את הדלת (מותר אף לקבוע איתו מראש שיהיה שם בשעה היעודה) , ובלבד שידאגו שפתיחת הדלת לא תגרום להדלקת מכשירים אחרים. ג. אם אין גוי בנמצא ולא הצליחו לדאוג מראש לגוי שיפתח עבורם את הדלת – יכולים לפתוח את הדלת בשינוי ובתנאי שפתיחת הדלת אינה מפעילה מכשירים נוספים.
When a door opens via an electronic button operated by a non-Jewish guard at the entrance, if manual opening with a key is possible and the non-Jew opens it electrically, entry is permitted; if manual opening is not an option, one should wait for a non-Jewish neighbor to arrive and enter together with them, and a wise person should arrange the matter properly before Shabbat begins.
דלת הנפתחת על ידי לחצן חשמלי המופעל על ידי שומר גוי היושב בפתח, אם ישנה אפשרות של פתיחה ידנית על ידי מפתח, והגוי פתח לו את הדלת על ידי הלחצן החשמלי, מותר להכנס לבית. ואם אין אפשרות כזו, נכון להמתין עד שיבוא אחד מהשכנים הגויים, וכאשר יפתחו עבורו את הדלת, יכנס עמו. וחכם עיניו בראשו צריך להסדיר את הענין על הצד היותר טוב מערב שבת. [ילקוט יוסף שבת כרך א' עמוד שלג] .
שו"ת במראה הבזק חלק ראשון כ״ח — ד"ה בבניינים המודרניים
B'Mareh HaBazak Volume I 28:5
The passage presents a halakhic question about opening a modern electronic door lock in a building by pressing a button that triggers an electromagnet to unlock the door, and offers two positions: one view holds that pressing the button is prohibited on Shabbat because it completes an electrical circuit (violating the melachot of creating, building, or striking with a hammer), while another view permits it in a Jewish center when done for security reasons (pikuach nefesh), though preferably by a non-Jew or through an indirect means such as using the back of one's hand.
בבניינים המודרניים, בפתח הכניסה יש כפתור שצריך לדוחקו ובזה הדלת נפתחת, כי המנעול מחובר לחוט עלקטרי מגנט, וע"י הדחיקה בכפתור מתעורר העלקטרי מגנט ופותח את המנעול. ידוע, שכל דחיפה או דחיקה של עלקטרי מתהווה עי"ז ניצוצות, שהם המעוררים לפעולה. האם מותר לפתוח את הדלת בשבת, ע"י דחיקת הכפתור, או לא? א. המחבר מעגל חשמלי: כתבו האחרונים, שאע"פ שלא נעשית מלאכת שבת ע"י הזרם, וכגון: שמפעיל מכשיר חשמלי שאין בו אש — הרי זה אסור בשבת משום מוליד, או משום בונה, או משום מכה בפטיש ולכן, אסור ללחוץ על הכפתור שגורם לפתיחת הדלת כיוון שעי"כ נסגר מעגל חשמלי. ב. במרכז היהודי, שהדלת נפתחת בצורה זו מסיבות ביטחוניות, מכיוון שזהו פיקוח נפש, מותר ללחוץ בשבת. אך רצוי, שייעשה ע"י גוי (שומר) או בשינוי (כגון בגב היד) .
מאמר מרדכי הלכות שבת, Chelek 4 פ״ד:ט׳ — ד"ה קוד חשמלי אסור לפתוח דלת בעלת
Maamar Mordechai Hilchot Shabbat, Chelek 4 84:9
Rabbi Mordechai Eliyahu rules that it is forbidden to open a door equipped with an electronic code mechanism on Shabbat, and therefore one who installs such a system for security reasons and expects guests to arrive must arrange a specific time for them to wait downstairs while he manually opens the door from inside.
אסור לפתוח דלת בעלת מנגנון קוד חשמלי בשבת. וע"כ המתקין מערכת כזו בדלת, שחושש מגנבים או מאנשי דלא מעלי, וצריכים להגיע אליו אורחים – יקבע עמם שיבואו בשעה מסוימת וימתינו למטה, והוא יפתח להם את הדלת באופן ידני מבפנים.
The passage discusses the modern practice of hotels using electronic key cards instead of mechanical keys, and notes that when the card is inserted into the door lock, it completes an electrical circuit that opens the door; the author advised several hotel guests to arrange with the hotel to have both a key card and a mechanical key available, and to disable the electricity on Shabbos so they could use the mechanical key instead, though this solution applies in most cases (the passage appears incomplete).
On this pageThe passage discusses the modern practice of hotels using electronic key cards instead of mechanical keys, and notes that when the card is inserted into the door lock, it completes an electrical circuit that opens the door; the author advised several hotel guests to arrange with the hotel to have both a key card and a mechanical key available, and to disable the electricity on Shabbos so they could use the mechanical key instead, though this solution applies in most cases (the passage appears incomplete).
Page 87
Revavos Ephraim is not freely available in text. This PDF surfaced in our research. Please use the feedback buttons below to help us improve.
The passage discusses the permissibility of a hotel guest in Jerusalem staying on Shabbat when rooms are opened only via electronic key cards (with a non-Jew opening the door upon seeing the guest enter), and concludes that this may be permitted in cases of significant hardship—such as when no other hotel is available or the guest arrives close to Shabbat without time to find alternatives—provided the guest does not explicitly signal the non-Jew but only enters while the non-Jew happens to see him, and provided there is no concern about sparks being generated; the passage then cites and discusses various Responsa and halakhic sources on related issues of non-Jews performing labor on Shabbat in cases of necessity.
On this pageThe passage discusses the permissibility of a hotel guest in Jerusalem staying on Shabbat when rooms are opened only via electronic key cards (with a non-Jew opening the door upon seeing the guest enter), and concludes that this may be permitted in cases of significant hardship—such as when no other hotel is available or the guest arrives close to Shabbat without time to find alternatives—provided the guest does not explicitly signal the non-Jew but only enters while the non-Jew happens to see him, and provided there is no concern about sparks being generated; the passage then cites and discusses various Responsa and halakhic sources on related issues of non-Jews performing labor on Shabbat in cases of necessity.
Page 335
Minchas Yitzchak is not freely available in text. This PDF surfaced in our research. Please use the feedback buttons below to help us improve.
Rabbi Mordechai Eliyahu addresses whether an automatic electronic door that opens when a person approaches it and closes after entry is permissible on Shabbat and Yom Tov.
דלת אוטומטית בשבת שאלה ד: דלת חשמלית אוטומטית, שכאשר אדם מתקרב אליה היא נפתחת וכשנכנס היא נסגרת, מה דינה לגבי שבת ויום טוב? תשובה:
שו"ת במראה הבזק חלק רביעי מ״ד — ד"ה חבר מהקהילה עבר לדירה עם דלת
B'Mareh HaBazak Volume IV 44:4
The passage presents a case where a community member moved into an apartment with an electronic key card lock requiring a code to enter, and other residents refuse to disable it for security reasons; the solution offered is to replace the electronic mechanism with a mechanical one that resembles it, which is available in many homes in the United States and can be ordered from there.
חבר מהקהילה עבר לדירה עם דלת כניסה מקודדת - יש להקליד מספר על מפתח אלקטרוני בכדי להיכנס לדירה. איזה פתרון ניתן להציע לחבר בשבת, היות ושאר דיירי הבית אינם מוכנים לנטרל את המפתח האלקטרוני, מאחר והעניין פוגע בביטחונם. אסור להשתמש במיתקן מסוג זה בשבת, אך ניתן להחליף מיתקן אלקטרוני זה במיתקן מכני שנראה כמוהו. הוא מצוי בבתים רבים בארה"ב וניתן להזמינו משם.
Rav Yitzchak Yosef rules that when a hotel guest cannot exit his room because it opens only by electronic eye or electronic card, he should call a non-Jew to remove the fuses.
מי שנקלע למלון שחדריו נפתחים באמצעות עין אלקטרונית, או כרטיס אלקטרוני, ואינו יכול לצאת מהחדר, יקרא לגוי שיוציא הפיוזים, וראה לעיל סימן רעו סעיף ז'.
לכמה שיש לד.ם מלון שיסדרו כרטיס ומפתח, ובשבת יפסיק החשמל וישתמשו במפתח, אבל ברוב המקומות יש p כרטיס, ויש עצה שיאמר לאחד מעובדי המלון לפני שבת כשיבוא שהוא יפתח לו את הדלת, ומה שטען אחד שיכניס בשינוי ביד שמאל או שנים
עח רכבות אורח חיים אפרים סימן קמא. דלת חשמלית בשבת בבנינים גדולות יש שומר בפנים וכשרואה מי שבא ומכיר שגר בבנין כדי לפתוח הדלת הוא מצלצל בפעמון חשמלי והדלת נפתחת. והשאלה בשבת ואף שאין אומר לו שיפתח אבל עי״ז שפותח יכול
סימן קמא. דלת חשמלית בשבת בבנינים גדולות יש שומר בפנים וכשרואה מי שבא ומכיר שגר בבנין כדי לפתוח הדלת הוא מצלצל בפעמון חשמלי והדלת נפתחת. והשאלה בשבת ואף שאין אומר לו שיפתח אבל עי״ז שפותח יכול להכנס ויש שאלה אמרתי לאלו
חשמל. ועי׳ בזה. ועי׳ שמירת שבת פי״ח סנ״א, האם מותד לעבוד דדך דלת זמיטמאטית בשבת. וכתב דאם זה באמצעות חשמל אסוד. ועיין שעדים המצוינים בהלכה סימן פ׳ סק״ב בהדלקת וכיבוי חשמל בשבת עקב פתיחת וסגידת הדלת אסוד. ועי׳ שם סי׳ צ״ח
מכמנו אלי שגא ע״י שליח גאיחור רג, וכג׳ הציע לי כמה שאלות הנוגעים לאנשים שהולכים למרחקים וגאים למלון וכמים שהדלתות נסמחות ע״י עין אלקטרי, וכן פותחים חדר השינה ע״י כרטיס אלקמרי, ועוד שאלות כדומה. והיותי עכשיו אינו פנוי