And according to this, according to the opinion of the Tur, one who removes his tefillin to go urinate or for a bowel movement with the intent to don them immediately upon his return—does not need to bless. But our teacher, the Beit Yosef, in section 12 disagrees with him, as he wrote: If they slipped from their place… – he must bless. If he moved them from their place with the intent to return them immediately – he must bless. Thus far his words. For he holds that whenever they are removed from their place, whether intentionally or unintentionally, whether with the intent to return them immediately or with the intent not to return them – he must bless. And upon this our teacher, the Rema, wrote: And there are those who say not to bless, and such is the custom. Thus far his words, and it refers to moving them from their place with the intent to return them immediately, and according to the opinion of the Tur that we explained. And so we practice. And more than this: that even if they slipped from their place on their own – we do not practice to bless. And I do not know the reason, for behold, in this everyone agrees that he should bless. And there are those who wrote the reason is because during the time of prayer he presumably does not divert his mind from them, and it is like removing them with the intent to return them (Magen Avraham, subsection 21 in the name of the Shelah). And how weak is this reason, for even if we compare it to this, behold the opinion of our teacher, the Beit Yosef, is to bless even in such a case. Furthermore: for behold the early authorities did not hold so, for regarding slipping, everyone agrees that he must bless, even those who hold regarding removing them with the intent to return them not to bless. And one must say that the intent of the early authorities was when they slipped not during the time of prayer, and the difficulty is evident. (And in my humble opinion, it seems it is because the source is from the rabbis of the academy of Rav Ashi, that whenever they touch them – they bless. And the Rosh explains that this is when they slipped. And the Rambam in the fourth chapter of Sefer Torah omitted this. And the Kesef Mishneh wrote that this is a simple matter, see there. And it requires investigation, for if so, why did he omit a law explicitly stated in the Gemara? Rather, the Rambam explains that they disagree with the previous view, and the halacha is not like the rabbis of the academy of Rav Ashi in several places in the Shas, as I wrote in Yoreh Deah, siman 293. Examine and you will find it simple.)
ולפי זה לפי דעת הטור, החולץ תפיליו לילך להשתין או לגדולים על מנת להניחן מיד בבואו – אינו צריך לברך. אבל רבינו הבית יוסף בסעיף י"ב חולק עליו, שכתב: נשמטו ממקומם… – צריך לברך. הזיזם ממקומם אדעתא להחזירם מיד – צריך לברך. עד כאן לשונו. דסבירא ליה דכל שנחלצו ממקומן, בין בכוונה בין שלא בכוונה, בין אדעתא להחזירן מיד ובין אדעתא שלא להחזירן – צריך לברך. ועל זה כתב רבינו הרמ"א: ויש אומרים שלא לברך, והכי נהוג. עד כאן לשונו, וקאי אהזיזם ממקומן אדעתא להחזירם מיד, וכדעת הטור שבארנו. וכן אנו נוהגים. ויותר מזה: דאפילו נשמטו ממקומן מעצמן – אין אנו נוהגים לברך. ולא אדע הטעם, שהרי בזה הכל מודים שיברך. ויש שכתבו הטעם משום דבשעת תפילה מסתמא אינו מסיח דעתו מהם, והוי כחולצן על מנת להחזירן (מגן אברהם סעיף קטן כ"א בשם של"ה). וכמה חלוש טעם זה, דאפילו אם נדמה לזה הא דעת רבינו הבית יוסף לברך גם בכהאי גוונא. ועוד: דהא הקדמונים לא תפסו כן, דבנשמטו כולי עלמא מודים דצריך לברך, אפילו הסוברים בחולצן על מנת להחזירן שלא לברך. וצריך לומר דכוונת הקדמונים היתה שלא בשעת התפילה כשנשמטו, והדוחק מבואר. (ולעניות דעתי נראה משום דהמקור הוא מרבנן דבי רב אשי, דכל אימת דממשמשי – מברכי. ומפרש הרא"ש דהיינו בנשמטו. והרמב"ם בפרק רביעי מספר תורה השמיט זה. והכסף משנה כתב דזהו מילתא דפשיטא, עיין שם. וצריך עיון, דאם כן למה השמיט דין מפורש בגמרא? אלא הרמב"ם מפרש דפליגי אקודם, ולית הלכתא כרבנן דבי רב אשי בכמה מקומות בש"ס, כמו שכתבתי ביורה דעה סימן רצ"ג. ודייק ותמצא קל.)