I would like to cut down a dead apple tree in my yard, in order to put up a swing set. Is this permitted? It has not grown any leaves since I have the house.
Being that this is a complex Halachic question involving a Sakana from Rebbi Yehuda Hachasid, you should ask three Rabbonim whether they agree that it is permitted to be done.
If they agree, then sell the tree to a non Jew and have him do it.
The sources explain that by the basic law cutting a fruit tree is permitted when the place is needed for building a dwelling (Taz, Yoreh Deah 116:6; the Alter Rebbe's Shulchan Aruch, Hilchos Shmiras HaGuf V'Nefesh and Bal Tashchis 15). In practice it is hard to be lenient, since later authorities raise concerns of danger and of the Tzavaas of Rabbi Yehuda HeChasid even in cases that are permitted by law, and an Igros Kodesh letter advises refraining from permitting even where it is explicitly allowed, though for a special reason there. Several later authorities forbid it outright when the purpose is added comfort or beauty rather than lack of space, and some require the agreement of three Rabbonim.This is a generative summary and should not be relied upon for practical halachic rulings. Report an error or leave us a comment.
אף שבפשטות מן הדין יש להתיר כשצריך למקומו לבנות שם [בית דירה – ט”ז יו”ד קטז, ו] כמ”ש בשו”ע אדה”ז שמירת הגוף ונפש ובל תשחית, טו, למעשה קשה להקל, שהרי באחרונים כתבו שגם באופנים המותרים לדינא יתכן חשש מחמת סכנה ומחמת צוואת ריה״ח, ראה שו״ת שאילת יעבץ א, עו. לבושי מרדכי ד, נז. מנח״א ג, יג.
וראה גם באג״ק ח”ז ע’ רס”ד-רס”ה למשוך ידו מלהתיר גם במקום שמפורש להיתר – אלא ששם סיבה מיוחדת.
ועוד שבמקום שמרחיב דירתו להרווחה או לנוי ויופי ולא מחמת דוחק המקום – כתבו כמה אחרונים לאסור מדינא, ראה שו”ת חות יאיר סי’ קצה. שבות יעקב ח”א, קנט. זרע אמת ח”ב, לג. חיים שאל כב. לחם הפנים ובית לחם יהודה יו”ד קטז. ערוה״ש שם יג. וראה בשו”ת יביע אומר חלק ה’ יו”ד סימן י”ב.
וידוע שזו משאלות קשות. וכמה מחמירים שיהא דוקא בהסכמת ג’ רבנים.
ולכן יש להתיר רק אם ימכור לגוי והוא יקצצנו.
#9199

It seems that someone may have misunderstood the question. In the question the person clearly writes that it is a “dead tree”. If I am not mistaken, all agree that you can cut it down a dead fruit tree.
See here: https://asktherav.com/9984-cutting-down-a-dead-fruit-tree/