Does it help to mix the peeled egg/onion/garlic with other foods?
Some Poskim rule that the above prohibition only applies if the peeled egg/onion/garlic stayed overnight without being mixed with other foods. If, however it was mixed with other foods then it is permitted. Thus, if one adds oil or salt to the egg/onion/garlic, or mixes it into a salad or dish, it may remain overnight in its peeled state. Practically, the custom follows this opinion, and so is accepted by all the Mehadrin Hashgacha’s.
Does the prohibition apply if one needs to peel a large amount many days in advance?
Some Poskim rule the prohibition only applies when it is common to peel the item for right away use, however if one is peeling for mass production over the course of many days, then the prohibition does not apply.
Q&A on definition of egg/garlic/onion
On what species of garlic/onion does the prohibition apply?
Some Poskim suggest that perhaps the prohibition does not apply to any species of onion/garlic which is so bitter that it is inedible on its own.
Chives/green onions: The above prohibition does not apply to chives and green onions.
Does the above hazard garlic/onions apply to both cooked and raw onions/garlic?
The prohibition only applies if the garlic/onion was left overnight while raw. If, however the onion/garlic is cooked or pickled then the prohibition does not apply.
Does the above hazard regarding eggs apply to both cooked and raw eggs?
Some Poskim rule the above hazard only applies to raw eggs. Other Poskim however rule it applies to both cooked and raw eggs, and so is the practical custom. [This refers to a plain hardboiled egg. If however the egg was fried with oil, or mixed into a salad, then the prohibition does not apply.]
Does the above prohibition apply to crushed onions/garlic/eggs?
Yes. Thus, the custom is to add oil or salt to the mixture, and this is the practice of Mehadrin Hashgacha’s who sell crushed garlic containers.
Does the prohibition apply to egg powder and garlic/onion powder?
[pdfjs-viewer url=”http%3A%2F%2Fshulchanaruchharav.com%2Fwp-content%2Fuploads%2F2018%2F03%2FOnion-and-garlic-overnight-web.pdf” viewer_width=100% viewer_height=1360px fullscreen=true download=true print=true]
 Semak 171; Zivcheiy Tzedek 116:61; Ben Ish Chay Pinchas 2:14; Kaf Hachaim 116:92 and O.C. 505:1; Chazon Ish, brought in Hakashrus 18 footnote 53
 Hakashrus 18:12
 Ben Ish Chaiy ibid
 Badatz Eida Hachareidis and Landa provide Hashgacha to pre-broken eggs in cartons, used by bakeries, and instruct the factory to add sugar or salt to the eggs when they are broken and entered into their carton. [Teshuvos Vehanghagos 3:256 writes this is based on a directive of the Minbchas Yitzchak] Likewise, the custom of Mehadrin Hashgacha’s is to add oil or salt to crushed garlic containers.
 Igros Moshe Y.D. 3:20
 Kaf Hachaim 116:93
 Hakashrus 18 footnote 50
 See Kaf Hachaim 116:93; and previous Q&A regarding if the garlic:onion was mixed with other foods.
 See Hakashrus 18 footnote 50
 Beis Shlomo Y.D. 1:159
 See Darkei Teshuvah Y.D. 116:74; Shevet Halaevi 6:111; Hakashrus ibid
 Yaskil Avdi 7:44; Shevet Halevi ibid; Hakashrus ibid based on previous Q&A!
 Tosafus Shabbos 141a
 Beis Shlomo 1:159; Degel Efraim 28; Sheivet Halevi 6:111-5-7; Yabia Omer 2:7 based on Har Tzevi Y.D. 74; See also Kaf Hachaim 116:93
 The reason: As the food is no longer edible in its current state.