Can I get a croissant from a non kosher bakery if I know that the croissant itself is kosher? Do I have to be worried about possible lard coating on the machines? I saw that the Rama in YD 102:6 says regarding sweet pastries that they coat the machines with lard are assur, but he writes that that is the minhag, so seemingly there are those that disagree.


from the last line in the rama it seems that he limits his heter in his tshuva and doesn’t consider lard in bakeries to be lifgam. At least he says that is the minhag. I couldn’t find anyone who disagrees.
Rama in YD 102:6? I don’t see any such Ram”a. Can you send a screenshot?
You can buy a croissant from a bakery without supervision. Ask them if it is vegetarian if you’re nervous.
But if you want to see the RAM”A’s opinion, look at the following two Teshuvot. The first is the question from a Rabbi that he knew. The second is the RAM”A’s response. https://kashrut.org/wp-content/uploads/2026/01/Responsa-of-Remah-olive-oil.pdf
שולחן ערוך יורה דעה הלכות מאכלי עובדי כוכבים סימן קיב סעיף ו – ז
סעיף ו
(ט’) יב] במקום שנהגו היתר בפת של פלטר, טו יד> מב’> אפילו הוא מג’> נלוש ח’} מד’> בבצים (י’) או שביצים טוחים על פניו, מותר. (יא’) טז טו> יג] מה’> אבל אינפנד”ה שאפאה עובד כוכבים, אסור לאכול מהפת שלה. (ע”ל סימן קי”ג ס”ג). הגה: {ג} יד] ויש אוסרים בפת מו’> שביצים טוחים על פניו, משום שהן בעין ואינם בטלים לגבי פת, יז טז> מז’> ויש בהם משום בשולי עובדי כוכבים (תוספות וסמ”ג והגהות אשירי וארוך ומרדכי פא”ט וסמ”ק סי’ ר”ז). מח’> וכן נוהגין. יז> טו] מט’> ואותן נ’> נילו”ש יח נא’> שקורין קיכלי”ך נב’> או נג’> מיני ט’} מתיקה נד’> שקורין לעקי”ך, הם בכלל פת ובמקום שנוהגים היתר בפת של עובד כוכבים גם הם מותרים, ולא אמרינן שיש בהם משום בשולי עובד כוכבים. נה’> ויש מיני נילו”ש שקורין קיכלי”ך שאופין אותם על ברזלים ומושחין הברזל בשעת אפייה בחלב או חזיר, באותן יש ליזהר ולאסרן. וכן המנהג (מהרא”י בהגהת ש”ד ואגור בשם ר”י מפרי”ש).
I posted the Rama above. How do you understand his opinion here?
The RAM”A is not arguing on his own Teshuva. He is talking about a scenario where it is normal to use animal fats, as it adds significant flavor. That would fit certain types of breads that a meaty flavor might be beneficial. However, a croissant or a bagel where adding a meaty flavor would not be appreciated, is fine and you don’t have to worry. Even if in some ridiculous scenario they used lard, it would be Noten Taam Lifgam.
The RAMA”H cannot cancel the Halachah of Noten Taam Lifgam.