Mishnah Berurah Siman 686
Can copy this into an AI, or connect the whole library to your assistant. For deeper learning, you can directly use the original seforim, sites, and apps.
(א) מותר להתענות לפניהם ולאחריהם - וכן בהספד שרי וב"ח כתב דבחנוכה אסור להתענות לפניו וכן הוא ג"כ דעת הפר"ח. והנה יש נוהגים להתענות לפני חנוכה תמורת ער"ח ואין לשנות מנהגם אבל לכתחלה לא ינהוג כן ועכ"פ אסור לגזור בו תענית צבור וכן יום ראשון דאחר חנוכה אף דיחיד מותר להתענות בו תענית צבור אסור לגזור בו:
You are allowed to fast before them and after them- and thus you can also eulogize. And the Bach writes that on Chanukah you are not allowed to fast beforehand, and this is also the opinion of the Pri Chadash. And there are people whose custom is to fast the day before Chanukah to make up for [not fasting] Erev Rosh Chodesh [Tevet] (which occurs during Chanukah and hence forbidden). They should notc change their custom, but ideally one should not adopt that practice. And at least it is not allowed to declare a public fast for the day before Chanukah. And similarly it is forbidden to declare a public fast for the first day after Chanukah, even if an individual can fast on that day
(ב) מתענין בי"ג באדר - כי בימי מרדכי ואסתר נקהלו ביום י"ג באדר להלחם ולעמוד על נפשם והיו צריכין לבקש רחמים ותחנונים שיעזרם ד' להנקם מאויביהם ומצינו כשהיו ביום מלחמה שהיו מתענין שכן אמרו רז"ל שמרע"ה ביום שנלחם עם עמלק היה מתענה וא"כ בודאי גם בימי מרדכי היו מתענים באותו יום ולכן נהגו כל ישראל להתענות בי"ג באדר ונקרא תענית אסתר כדי לזכור שהש"י רואה ושומע כל איש בעת צרתו כאשר יתענה וישוב אל ד' בכל לבבו כמו שעשה בימים ההם:
We fast on the 13 of the month of Adar - Because in the days of Mordechai and Esther they gathered on the 13 of Adar to fight and stand for their lives and they needed to ask for mercy and they pleaded to be helped by Hashem to take revenge from their enemies. We find that on the day of war they were fasting as the Rabbis says that Moshe Rabbeinu, of blessed memory, fasted on the day [the Israelites] fought with Amalek and therefore certainly also in the days of Mordechai they were fasting on the same day; and therefore the Jews began a custom of fasting on the thirteenth of Adar. And they called this fast Taanit Esther to remember that God looks and listens to every person in their time of distress when they fast and repent to God with all of their heart just as they did in those days:
(ג) להתענות ביום ה' - אבל בע"ש אין קובעין תענית בתחלה מפני כבוד השבת לפי שרגילין בתענית לומר סליחות ותחנונים ובע"ש לא יתכן לעשות כן לפי שלא יוכלו לטרוח לכבוד השבת ומי שהיה בדרך ושכח שמתענים ביום ה' ואכל ובלילה בא לביתו ושמע שהעולם התענו היום יתענה למחר בע"ש. מהרי"ל לא היה מגיד ההלכה בתענית אסתר מפני שטרודים לקנות צרכי פורים אם לא כשחל פורים ביום א' וכתב בא"ר ונ"ל דכל זה מיירי לילך לישיבה אבל ללימוד הקבוע בביה"מ אינו בכלל זה דאין בזה כ"כ בטול צרכי סעודה. וא"א צדקתך באותה שבת שחל פורים למחר כמו שא"א תחנונים בערב פורים בחול כך א"א צידוק הדין בשבת שהוא ערב פורים:
To fast on the fifth day - but on erev Shabbos you don't schedule/set a fast day because of the honor of Shabbos since usually we say Selichot and pray for mercy and on Erev Shabbos its not proper to do so because you don't have time to prepare for Shabbos. And someone who is traveling and he forgot that [one is supposed to] fast on the fifth day and he ate and at night when he arrived home and he was notified that it was a fast day he should fast on Erev Shabbos. The Maharil did not teach halachah on Ta'anis Ester because everyone was busy preparing for purim, unless if purim came out on Sunday then he (the Maharil) would teach on Ta'anis Ester (which would then fall out on the previous Thursday, because there would be enough time on Friday to prepare for Purim). The Elya Rabbah wrote "it appears to me that (the Maharil's behavior) only applied to attending. Yeshiva but regular study in the Beis Midrash was not included because this does not infringe on people's ability to prepare properly for the Seudah". We don't say the prayer Tzidkascha on Shabbos when Purim falls on Sunday, just like we don't say Tachnunim on Erev Purim that falls on a weekday likewise we don't say Tziduk HaDin on Shabbos that is Erev Purim.
(ד) מצטערים - זה קאי על כואבי עינים אבל מעוברת אף שאינה מצטערת אינה מתענה כ"כ הישועות יעקב ובא"ר מחמיר בזה אך ביולדת כל ל' גם הוא מיקל:
In pain - This refers to someone who has pain in his eyes. But someone who is pregnant shouldn’t fast even if they are not in pain, so says the Yeshuas Yaakov. And the Elya Rabba is more strict on the matter (i.e. he says if you're pregnant you should fast), except if it's within a month of the woman giving birth, he also is lenient.
(ה) ויפרעו אח"כ - להישועות יעקב הנ"ל מסתברא דלא קאי ד"ז רק על כואבי עינים שבעצם יש עליו חיוב שלא לפרוש מן הצבור ורק עכשיו משום דכאיב ליה עיניו ולהכי לבתר שיסולק כאבו יפרע התענית משא"כ מעוברת ומניקה דפטורות בעצם אפילו אינן מצטערות אכן מדברי הב"ח לכאורה לא משמע כן:
And repay afterwards - According to the aforementioned Yeshuot Yaakov, it would seem that this only applies to individuals suffering eye pains. [i.e., the requirement to repay for the missed fast of Taanit Ester] that in principle there is an obligation on him (the one with eye pains) to not separate from the community, and only now because his eyes hurt him, and therefore after his pain is removed he'll repay the fast; however this does not apply to someone pregnant or breastfeeding, who to begin with at their core are exempt, even if they are not in pain. But from the words of the Bach it seemingly does not indicate this.
(ו) לא יפרשו - אפילו ההולך בדרך וקשה עליו התענית:
Should not separate: Even one traveling on the road and it is difficult for them to fast
(ז) מותר לאכול על המילה - היינו כל האנשים הקרואים להסעודה ואפילו יותר מעשרה ואפילו בשחרית מותרים לאכול אכן כולם צריכין להתענות למחר וכדלקמיה. ועיין בט"ז וא"ר שחולקים על הג"ה זו ודעתם דקביעותא דתעניתא הוא דוקא ליום ה' וע"כ אסורין כולם לאכול ביום ה' ויעשו הסעודה בלילה אכן הבעלי ברית בעצמן מותרין לאכול ביום ה' אחר מילה וא"צ להתענות למחר וכנ"ל בסימן תקנ"ט ס"ט לענין ט"ב ועיין בפמ"ג שכתב דהמיקל לנהוג כדעת הרמ"א לא הפסיד וכן במו"ק ובשבות יעקב הסכימו לדעת השו"ע:
You are allowed to eat for the circumcision - That is all the people who were invited for the feast, even more than ten, and even in the morning, they are allowed to eat, but they must all fast the next day as will be noted. And see the Taz and the Elya Rabba that disagree with this gloss and their view is that the fast is fixed for Thursday and therefore they are all forbidden to eat on Thursday and they should have the feast at night. But the Baalei Brit themselves are allowed to eat on Thursday after the Milah and don't need to eat the next day, like it is stated in Siman 559:9 concerning Tisha Ba'av; and see the Pri Megadim who wrote that one who is lenient to follow Rema's opinion [here] has not lost; and similarly in Mor uKetziah and Shevus Yaakov [those scholars] agree with Shulchan Aruch (i.e. this lenient ruling)
(ח) ג' ימים - פי' בה"ב אחר פורים. משנכנס אדר מרבין בשמחה ומי שיש לו דין עם עכו"ם ישפוט באדר [גמרא] יכולים בני עיר לתקן בהסכמה ובחרם עליהם ועל הבאים אחריהם לעשות פורים ביום שנעשה בו נס ומי שנעשה לו נס באדר ונדר לעשות פורים כשיבוא שנת העיבור צריך לעשות הפורים באדר שני אם לא שנעשה לו הנס בשנת העיבור באדר ראשון: