The Shulchan Aruch · Orach Chayim
אורח חיים ת״טOrach Chayim 409
Siman 409 of 697 in Orach Chayim — 13 se'ifim
הלכות עירובי תחומיןLaws of Eruv Techumin· siman 409
Se’if 1א׳
הַנּוֹתֵן עֵרוּבוֹ בְּבֵית הַקְּבָרוֹת, אֵינוֹ עֵרוּב. לְפִי שֶׁבֵּית הַקְּבָרוֹת אָסוּר בַּהֲנָאָה, וְכֵיוָן שֶׁרוֹצֶה בְּקִיּוּם הָעֵרוּב שָׁם אַחַר קְנִיָּה, הֲרֵי נֶהֱנֶה בּוֹ. וְאִם נְתָנוֹ בְּבֵית הַפְּרָס, הֲרֵי זֶה עֵרוּב וַאֲפִלּוּ הָיָה כֹּהֵן, מִפְּנֵי שֶׁיָּכוֹל לְהִכָּנֵס שָׁם בְּמִגְדָּל הַפּוֹרֵחַ אוֹ שֶׁיְּנַפַּח וְהוֹלֵךְ.
Laws of where the eruv is placed. Contains 13 sections One who places his eruv in a cemetery — it is not a valid eruv, since a cemetery is forbidden in benefit, and since he wants the eruv to remain there after acquisition he is thereby benefiting from it. If he placed it in a beit hapras, it is a valid eruv, even for a priest, since he can enter there in a sealed chest or by blowing the ground as he walks.
Se’if 2ב׳
צָרִיךְ שֶׁיְּהֵא הוּא וְעֵרוּבוֹ בְּמָקוֹם אֶחָד, כְּדֵי שֶׁיִּהְיֶה אֶפְשָׁר לוֹ לְאָכְלוֹ בֵּין הַשְּׁמָשׁוֹת. לְפִיכָךְ אִם נִתְכַּוֵּן לִשְׁבֹּת בִּרְשׁוּת הָרַבִּים וְהִנִּיחַ עֵרוּבוֹ בִּרְשׁוּת הַיָּחִיד, אוֹ בִּרְשׁוּת הַיָּחִיד וְהִנִּיחַ עֵרוּבוֹ בִּרְשׁוּת הָרַבִּים, אֵינוֹ עֵרוּב, שֶׁאִי אֶפְשָׁר לוֹ לְהוֹצִיא מֵרְשׁוּת הַיָּחִיד לִרְשׁוּת הָרַבִּים בֵּין הַשְּׁמָשׁוֹת אֶלָּא בַּעֲבֵרָה. אֲבָל אִם נִתְכַּוֵּן לִשְׁבֹּת בִּרְשׁוּת הַיָּחִיד אוֹ בִּרְשׁוּת הָרַבִּים וְהִנִּיחַ עֵרוּבוֹ בַּכַּרְמְלִית, אוֹ שֶׁנִּתְכַּוֵּן לִשְׁבֹּת בַּכַּרְמְלִית וְהִנִּיחַ עֵרוּבוֹ בִּרְשׁוּת הַיָּחִיד אוֹ בִּרְשׁוּת הָרַבִּים, הֲרֵי זֶה עֵרוּב, שֶׁבִּשְׁעַת קְנִיַּת הָעֵרוּב שֶׁהוּא בֵּין הַשְּׁמָשׁוֹת מֻתָּר לְהוֹצִיא וּלְהַכְנִיס מִכָּל אֶחָד מִשְּׁתֵּי הָרָשֻׁיּוֹת לַכַּרְמְלִית לִדְבַר מִצְוָה. שֶׁכָּל דָּבָר שֶׁהוּא מִדִּבְרֵי סוֹפְרִים לֹא גָּזְרוּ עָלָיו בֵּין הַשְּׁמָשׁוֹת בִּמְקוֹם מִצְוָה אוֹ בִּשְׁעַת הַדַּחַק.
The person and his eruv must be in the same domain so that it is possible for him to eat it during twilight. Therefore if he intended to spend Shabbat in a public domain and placed his eruv in a private domain, or intended to spend Shabbat in a private domain and placed his eruv in a public domain — it is not a valid eruv, since he cannot carry from a private domain to a public domain during twilight except through a transgression. But if he intended to spend Shabbat in a private domain or public domain and placed his eruv in a karmelit, or intended to spend Shabbat in a karmelit and placed his eruv in a private domain or public domain — it is a valid eruv, since during twilight when the eruv is acquired it is permitted to carry between either of those two domains and a karmelit for a matter of mitzva, as anything rabbinic was not decreed upon during twilight in a case of mitzva or pressing need.
Se’if 3ג׳
נְתָנוֹ בְּרֹאשׁ הַקָּנֶה אוֹ הַקֻּנְדֵּס הַצּוֹמְחִים מִן הָאָרֶץ, אֵינוֹ עֵרוּב, מִפְּנֵי שֶׁמֵּאַחַר שֶׁהֵם רַכִּים וְנוֹחִים לְקִטּוּם וְיִתְחַיֵּב חַטָּאת, גָּזְרוּ בָּהֶם, וְאִם הֵם רַכִּים כְּיֶרֶק עַיֵּן לְעֵיל רֵישׁ סִימָן של"ו, אֲפִלּוּ בֵּין הַשְּׁמָשׁוֹת אֲפִלּוּ בִּמְקוֹם מִצְוָה; וְאִם הָיוּ תְּלוּשִׁים וּנְעוּצִים, הֲרֵי זֶה עֵרוּב.
If he placed it on top of a reed or giant reed growing from the ground — it is not a valid eruv, since being soft and easy to snap would make one liable for a sin-offering, and they decreed regarding them (and if they are as soft as a vegetable, see above at the beginning of Siman 336) even during twilight and even in a case of mitzva. If they were detached and stuck into the ground, it is a valid eruv.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0