The taste of eggs in burps is due to the presence of hydrogen sulfide gas (H2S), which smells like rotten eggs. This gas is produced naturally in small amounts during digestion when bacteria in the intestines break down foods rich in sulfur. Common sulfur-rich foods include eggs, meats, dairy products, garlic, onions, broccoli, and Brussels sprouts. Burps that taste or smell like eggs are caused by this sulfur gas and can be influenced by your diet or gut bacteria activity. If these eggy burps are frequent and accompanied by other symptoms like diarrhea, it could indicate an underlying gastrointestinal issue that may require medical attention. Otherwise, such burps are usually harmless but can be unpleasant socially.