What to Eat (and Avoid) With an Ear Infection

No single food will cure an ear infection, but what you eat and drink during one can meaningfully affect how quickly you recover and how much discomfort you feel along the way. Ear infections involve inflammation, fluid buildup, and often bacterial activity in the middle ear, and your dietary choices can either ease or worsen all three. The practical advice boils down to prioritizing hydration, anti-inflammatory nutrients, and foods that support immune function while steering clear of items that may promote mucus, inflammation, or acid reflux.

Why Diet Matters During an Ear Infection

Most middle ear infections, called otitis media, develop when the eustachian tube that connects the middle ear to the back of the throat becomes swollen or blocked. Fluid gets trapped, bacteria or viruses thrive, and inflammation drives the pain. Your body’s ability to resolve that inflammation, thin the trapped fluid, and fight infection all depend in part on the raw materials you give it through food. That does not mean you can eat your way out of a serious infection that needs antibiotics, but it does mean that smart choices can support your recovery and poor ones can slow it down.

Foods and Drinks That Help

Warm Fluids and Hydration

Staying well-hydrated is the single most useful dietary move during an ear infection. Adequate fluid intake helps keep mucus thin and moving, which matters because thick, stagnant mucus in and around the eustachian tube is part of what keeps the infection going. Water is the obvious choice, but warm broth, herbal teas, and clear soups carry the additional benefit of steam, which can temporarily open congested passages. The warmth also encourages swallowing, and each swallow briefly opens the eustachian tube, allowing small amounts of air to flow through and helping equalize pressure in the middle ear.1JOURNAL OF CLINICAL AND DIAGNOSTIC RESEARCH. Middle Ear Function Changes due to the Combined Effect of Pressure along with Fluid in Middle Ear Pressure Regulation- A Review

Anti-Inflammatory Foods

Because pain and tissue damage in an ear infection are driven by inflammation, foods with natural anti-inflammatory properties can be helpful support. Fatty fish like salmon and sardines, which are rich in omega-3 fatty acids, are a good choice. So are colorful fruits and vegetables packed with antioxidants: berries, leafy greens, bell peppers, and citrus fruits. Ginger and turmeric deserve a special mention. An animal study on middle ear infections found that curcumin, the active compound in turmeric, reduced markers of oxidative stress and had a positive effect on inflammatory cell buildup in the middle ear.2PubMed Central. The Anti-Inflammatory and Antioxidant Effects of Curcumin in Middle Ear Infection That does not mean sprinkling turmeric on your dinner will cure an ear infection, but it adds to a broader picture that an anti-inflammatory diet supports healing.

Vitamin D and Zinc

Two micronutrients come up repeatedly in ear infection research. Vitamin D plays a well-established role in immune regulation, and children who are prone to repeated ear infections often have low levels of it. A clinical trial found that giving otitis-prone children 1,000 IU of vitamin D daily restored healthy blood levels in most cases and was associated with a significant drop in the risk of uncomplicated acute otitis media.3PubMed. Vitamin D supplementation reduces the risk of acute otitis media in otitis-prone children Good food sources include fatty fish, egg yolks, and fortified dairy or plant milks.

Zinc’s story is more mixed. A Cochrane review of zinc supplementation for preventing ear infections found inconsistent results across trials in healthy children. Two trials showed no significant difference between zinc and placebo in the number of children who developed an ear infection, while a third trial in a low-income community did show a meaningfully lower rate in the zinc group. A small trial in severely malnourished infants found zinc reduced the average number of ear infection episodes.4PubMed Central. Zinc supplements for preventing otitis media The takeaway is that zinc likely matters most when your levels are already low, which is more common in young children and in populations with limited diets. Foods rich in zinc include meat, shellfish, legumes, seeds, and nuts.

Xylitol as a Preventive Tool

Xylitol is a sugar alcohol found naturally in small amounts in fruits and vegetables and commonly used as a sweetener in sugar-free gum and candies. It has a genuinely interesting track record against ear infections. Lab research shows that xylitol interferes with the ability of two of the most common ear-infection-causing bacteria to attach to cells in the nose and throat.5PubMed. Xylitol in preventing acute otitis media When exposed to xylitol, the cell wall and protective capsule of one of those bacteria become visibly damaged, which likely explains why the bacteria lose their grip.6PubMed. Ultrastructure of Streptococcus pneumoniae after exposure to xylitol

Clinical trials in children have found xylitol effective at preventing new ear infections when given at a dose of roughly 8 to 10 grams per day, split across five doses.5PubMed. Xylitol in preventing acute otitis media A Cochrane review confirmed that xylitol can reduce the adherence of the key bacteria involved in otitis media.7PubMed Central. Xylitol for preventing acute otitis media in children up to 12 years of age The catch is consistency: it works as a preventive measure when used regularly, not as a treatment for an infection already underway. Sugar-free gum sweetened with xylitol is the easiest delivery method for older children, but xylitol syrup exists for younger kids. Just be aware that xylitol is extremely toxic to dogs, so keep it well out of reach of pets.

Foods and Drinks to Limit or Avoid

Sugar and Highly Processed Foods

Refined sugar and heavily processed foods promote systemic inflammation. When your body is already fighting an infection, piling on inflammatory triggers works against recovery. Sugary drinks, candy, pastries, and processed snack foods are the main culprits. This does not mean you need to be perfect about your diet while sick, but replacing soda with water or herbal tea and swapping candy for fruit is a low-effort move that removes a headwind.

The Dairy Question

You have probably heard that dairy increases mucus production and should be avoided when you are congested. The reality is more nuanced than the popular version. The long-standing belief that milk makes you phlegmy has limited direct medical evidence behind it. One hypothesis involves beta-casomorphin-7, a compound released during digestion of a specific type of cow’s milk protein, which has been shown to stimulate mucus-producing glands in the gut and could theoretically do the same in the respiratory tract when inflammation is already present.8PubMed. Does milk increase mucus production? But this mechanism has not been conclusively proven in clinical settings for ear infections specifically.

Some people do notice they feel more congested after consuming dairy. If that is your experience, it makes sense to cut back while you are dealing with an ear infection. If dairy has never been a problem for you, there is no strong reason to eliminate it entirely. Yogurt, in particular, has the offsetting benefit of containing live bacterial cultures that may support your immune system. The practical advice: pay attention to your body. If milk seems to make congestion worse, switch to non-dairy alternatives temporarily.

Alcohol and Caffeine

Both alcohol and caffeine have mild dehydrating effects, which is exactly what you do not want when your goal is to keep mucus thin and flowing. Alcohol also suppresses aspects of immune function and can interact poorly with antibiotics or pain relievers you might be taking. Caffeine in moderate amounts, like a cup of coffee, is unlikely to cause problems, but relying on caffeinated drinks as your main fluid source is a bad idea during an infection. Stick mostly to water, broth, and herbal teas.

When Acid Reflux Makes Ear Infections Worse

Here is a connection that surprises most people: stomach acid reflux can contribute to middle ear problems. Research has found the stomach enzyme pepsin in the middle ear fluid of children undergoing ear tube surgery. In one study of 129 pediatric patients, half tested positive for pepsin in their middle ear fluid, and those positive samples had significantly higher levels of inflammatory markers. The presence of pepsin was also linked to a greater need for repeat tube placement six to twelve months later.9JAMA Otolaryngology–Head & Neck Surgery. The Role of Gastric Pepsin in the Inflammatory Cascade of Pediatric Otitis Media The proposed pathway is straightforward: acid and pepsin from the stomach travel up the esophagus, reach the back of the throat, and then enter the middle ear through the eustachian tube, where pepsin triggers local inflammation and ramps up production of inflammatory cytokines.10Oto Rhino Laryngologica Indonesiana. Middle ear pepsin and IL-8 in active chronic suppurative otitis media with laryngopharyngeal reflux

This matters for diet because the foods most likely to trigger reflux are also among the worst choices during an ear infection. Spicy foods, citrus juices on an empty stomach, tomato-based sauces, chocolate, fried or very fatty foods, and carbonated drinks are all common reflux triggers. If you or your child deals with recurring ear infections, it is worth considering whether reflux might be part of the picture. Eating smaller meals, avoiding lying down soon after eating, and reducing known trigger foods can help keep acid where it belongs.

Food Allergies and Recurring Ear Infections

If ear infections keep coming back despite treatment, undiagnosed food sensitivities might be a factor. The middle and inner ear are immunologically active, meaning they respond to allergens circulating in the body. Research has found that chronic otitis media with effusion, the type where fluid persists behind the eardrum without acute infection, can improve when underlying food allergies are identified and managed.11PubMed. The role of food allergy in otolaryngology disorders The most commonly implicated foods in the literature are cow’s milk, wheat, eggs, and soy, though any food allergen could theoretically contribute.

This does not mean everyone with ear infections should start eliminating foods. But for children who get ear infections repeatedly and have other signs of allergy, such as eczema, chronic nasal congestion, or digestive symptoms, an evaluation by an allergist is worth pursuing. An elimination diet done under medical supervision can sometimes reveal a connection that antibiotics alone will never fix.

Probiotics and the Gut-Ear Connection

The idea that gut bacteria influence ear health sounds far-fetched until you consider that the throat, nose, and middle ear share an interconnected mucosal surface. Researchers have begun exploring whether probiotics taken by mouth can shift the bacterial communities in the upper respiratory tract in ways that protect against ear infections. A randomized controlled trial in children with chronic middle ear fluid investigated whether two well-known probiotic strains, given as daily oral oil drops for a month, could migrate to the upper airway. The study found a modest increase in the prevalence of one probiotic strain in the nasopharynx and adenoids, along with a slight positive association with a beneficial bacterial species already found in the upper airway.12PubMed. Potential transfer of orally administered probiotics to the upper respiratory tract in children with otitis media with effusion

The effects were small, and researchers were careful to note that outcomes likely depend on which specific probiotic strains are used. Still, the finding that oral probiotics can even reach the nasopharynx and adenoids is promising. For now, incorporating fermented foods like yogurt, kefir, sauerkraut, and kimchi into your diet during and after an ear infection is a reasonable, low-risk strategy. These foods support overall immune function even if the direct ear-protective benefits are still being worked out.

How You Feed Matters Too, Especially for Babies

For infants and toddlers, what you feed matters, but so does how you feed. Bottle-feeding a baby while they are lying flat on their back is a well-documented risk factor for ear problems. In one study of 90 healthy children aged seven to twenty-four months, nearly 60% of those fed a bottle in a flat-on-the-back position showed abnormal middle ear pressure readings immediately afterward, compared to only 15% of those fed in a semi-upright position.13PubMed. Abnormal tympanography after supine bottle feeding When the flat-fed babies were then placed upright or on their stomachs for fifteen minutes, most of those readings returned to normal, suggesting that liquid had entered the middle ear and then drained out once gravity helped.

A longer-term study confirmed that infants fed with their head in an upright position had significantly less ear-related illness over time.14PubMed Central. Feeding young infants with their head in upright position reduces respiratory and ear morbidity Part of the explanation involves physics: conventional non-ventilated bottles create negative pressure as the baby sucks, and that negative pressure can be transmitted to the middle ear. Fully ventilated bottles, by contrast, maintain positive pressure similar to breastfeeding and do not produce the same middle ear pressure changes.15PubMed. On the physics of the infant feeding bottle and middle ear sequela: ear disease in infants can be associated with bottle feeding If your baby is prone to ear infections, keeping them at least semi-upright during bottle feeding and considering a ventilated bottle design are two simple changes worth making.

Herbal Remedies and Supplements

You will find no shortage of herbal remedies marketed for ear infections online. Garlic oil drops, mullein, tea tree oil, oregano oil: the list is long. A recent review of medicinal plants relevant to ear, nose, and throat infections found that several commonly discussed species, including turmeric, ginger, oregano, thyme, licorice, and chamomile, show the ability to inhibit bacteria involved in upper airway infections in laboratory settings.16SpringerLink / Inflammopharmacology. Medicinal plants as alternative and adjunct antimicrobial agents in ear, nose, and throat (ENT) Infections That is an important qualifier: “in laboratory settings” means in a dish, not in a person’s ear. The jump from petri dish to clinical effectiveness is enormous, and for most herbal ear remedies, that jump has not been made with rigorous trials.

Incorporating ginger and turmeric into your food as anti-inflammatory ingredients is perfectly reasonable. Drinking chamomile tea for its mild soothing properties is harmless and might help with sleep when you are uncomfortable. But putting unregulated herbal oils directly into an infected ear canal is a different matter entirely and can cause irritation or allergic reactions. If the eardrum has a perforation, which is not uncommon with more severe infections, anything dropped into the ear canal can reach the middle ear and cause serious harm. Stick to food-based forms of these herbs and leave ear drops to products specifically formulated and tested for that purpose.

A Practical Meal Plan Mindset

Pulling this together into everyday eating does not require anything exotic. When you or your child has an ear infection, lean toward warm, broth-based soups with vegetables and lean protein. Think chicken soup with garlic and ginger, not because of any magical property, but because it delivers hydration, anti-inflammatory ingredients, protein for immune support, and the steam and warmth that encourage swallowing and nasal drainage all in one bowl. Add berries or citrus fruits for vitamin C and antioxidants. Include a serving of fatty fish if appetite allows. Snack on nuts and seeds for zinc. Keep water within arm’s reach at all times.

On the avoidance side, dial back sugary snacks and drinks, limit greasy or fried foods especially if reflux is a concern, and pay attention to whether dairy seems to worsen congestion for you personally. If you are managing a child’s ear infection, keep bottles and sippy cups at a semi-upright angle and consider xylitol-sweetened options if your pediatrician agrees. None of these choices replace antibiotics when they are needed, but they create an environment where your body’s own healing mechanisms work a little better and a little faster.

When to See a Doctor Instead of Adjusting Your Diet

Dietary changes are supportive, not curative. You should seek medical attention if ear pain is severe or worsening after two to three days, if there is drainage from the ear, if a child younger than six months has any signs of an ear infection, or if fever exceeds 102°F (39°C). Hearing loss that persists after the infection clears, dizziness, or swelling behind the ear are also red flags that need professional evaluation. Repeated ear infections, more than three in six months or four in a year, warrant a conversation with an ENT specialist about structural or allergic factors that diet alone cannot address.