Short answer: A dog ear infection (otitis externa) is almost always a symptom, not the root disease. The visible yeast or bacteria is secondary; the real driver behind recurring or both-sided infections is usually an underlying allergy to food or to environmental triggers like pollen and dust mites. That is why cleaners and drops alone keep failing: they calm the ear for a week or two, then the allergy reignites the inflammation and the overgrowth returns. Two safety rules matter most: never push a cotton swab into the canal, because it drives debris deeper and can rupture the eardrum, and see a veterinarian for any painful, foul-smelling, or discharging ear so the eardrum can be checked first.

How to Recognize a Dog Ear Infection (and Yeast vs. Bacteria)

Most owners notice an ear infection long before they understand it. The classic signs of otitis externa, an infection of the external ear canal, are head shaking, scratching or rubbing at the ear, a foul odor, redness and swelling, and a dark or waxy discharge. The ear may be painful or itchy, and crusting, scabs, or hair loss can appear around the opening from constant scratching. Infections can involve one ear or both, and which pattern shows up is itself a meaningful clue about the real cause. The external canal is the most commonly affected site, but inflammation can extend toward the middle and inner ear, which is far more serious.

Owners often want to know whether they are dealing with yeast or bacteria, and the honest answer is that you usually cannot tell by looking. A dark, greasy, musty discharge frequently points toward yeast, specifically Malassezia, while a yellow or purulent discharge can suggest bacteria, but mixed infections are common. This matters because antibiotics target bacteria and antifungals target yeast, so the only reliable way to tell them apart is ear cytology, where a veterinarian examines a swab under a microscope. One point is worth holding onto: both yeast and bacteria normally live in a healthy ear in small numbers, and they only multiply out of control once something else changes the canal, which is exactly where the underlying cause comes in.

Why Ear Infections Keep Coming Back: The Allergy Root Cause

Here is the single most important idea on this page, and the one most often missed: a recurring ear infection is usually a symptom of an underlying allergy, not a disease of the ear itself. In a large share of dogs, chronic or repeated otitis is the first or even the only outward sign of a food or environmental allergy. Allergic inflammation alters the wax, traps moisture, swells the lining, and lowers the canal's defenses, which lets the yeast and bacteria already living there bloom into a full infection. Treat only the ear with cleaners and drops and you leave that inflammation untouched: the infection clears, the medication stops, the allergy flares again, and the ear relapses, which is what happens when a symptom is treated as the cause.

Because an allergy is a body-wide reaction rather than a local accident, it tends to inflame both ears at once, so bilateral or repeatedly recurring infections point toward an allergic root far more than a single isolated ear does. Environmental atopic dermatitis (pollens, molds, house dust, dust mites) and cutaneous food allergy are the two big drivers. On top of that allergic foundation, predisposing anatomy and moisture decide how badly a dog suffers: pendulous, floppy ears reduce airflow, narrow or hairy canals trap debris, and the dog's L-shaped ear canal retains fluid, so water from swimming lingers in a warm, dark space that yeast and bacteria love (Cocker Spaniels and Poodles are classic examples). These are accelerants, not the underlying cause: the allergy is the engine, and the anatomy and moisture are the fuel.

When to See a Veterinarian (and Why You Never Swab)

An ear infection is not a wait-and-see problem, and it is not one to self-treat from the pet aisle. You should see a veterinarian whenever you notice persistent head shaking, an ear that is painful, hot, swollen, or foul-smelling, or any visible discharge. More urgent warning signs mean the infection may have moved into the middle or inner ear: a head tilt, loss of balance, circling, flicking eye movements, apparent deafness, or facial drooping. Those point toward otitis media or interna, which can cause lasting hearing loss and facial paralysis. A critical reason to let a veterinarian examine the ear first is the eardrum: the vet uses an otoscope to confirm it is intact, because if it is ruptured, certain cleaners and medications can reach the inner ear and cause permanent harm.

This leads directly to the most important safety rule for owners: never insert a cotton swab into your dog's ear canal. Instead of removing wax, swabbing packs debris deeper into the L-shaped canal, and pushed in too far it can injure or even rupture the delicate eardrum. Equally, skip the internet home remedies; vinegar mixtures, hydrogen peroxide, and other improvised solutions tend to inflame an already swollen canal and tell you nothing about whether the eardrum is safe. If you have a veterinary-approved cleaner and the go-ahead to use it, fill the canal, gently massage the base of the ear from the outside, let your dog shake, and wipe only the parts you can see with absorbent gauze. The deep canal is the veterinarian's job, not a cotton swab's.

The Diet and Allergy Connection

If your dog keeps relapsing despite faithful cleaning and drops, the conversation needs to shift from the ear to the diet, because food allergy is one of the leading underlying causes of recurrent otitis. The important nuance is that food helps through allergy management, not through any magic "ear food" or single ingredient. In a food-allergic dog, the immune system overreacts to a protein it has been eating, and that reaction shows up in the skin and the ears, where otitis can be the main or only complaint. There is no reliable blood test, so the recognized way to diagnose it is an elimination diet trial: your dog eats one carefully chosen diet, built on a novel or hydrolyzed protein the immune system no longer recognizes, and nothing else for several weeks to a couple of months.

The trial only proves a food allergy if two things happen in sequence: the dog clearly improves on the restricted diet, and then flares again when the old food is deliberately reintroduced. That rechallenge is what separates a true food allergy from a coincidence, and it should be run with a veterinarian's guidance. Nutrition can also help indirectly: omega-3 fatty acids (the EPA and DHA in fish oil) are recognized for their anti-inflammatory properties and are commonly used to support allergic, inflamed skin, the same process that drives so many ear infections. For a starting point on choosing an allergy-friendly diet, our guide to the best dog food for ear infections walks through what to look for. Whatever you feed, the goal is the same: manage the allergy, and the ears tend to follow.

Prevention and the Bottom Line

Prevention works best when it targets both layers: the allergic root and the local conditions in the ear. On the local side, keep ears dry, because moisture is what tips a susceptible canal into infection. Dry them thoroughly after every bath or swim, especially in floppy-eared breeds, and ask your groomer to keep hair around the canal thinned and trimmed so air can circulate. Use a veterinary-approved ear cleaner on a routine your vet recommends, and resist the urge to over-clean, since scrubbing a healthy ear strips its protective oils and triggers the very irritation you are trying to avoid. Keep your dog on monthly parasite prevention too, which heads off ear mites. None of this replaces addressing the underlying cause, but for an allergy-prone dog it can meaningfully lengthen the calm stretches between flares.

The bottom line is a shift in how you think about the problem. A dog ear infection is rarely a standalone event; it is usually the visible symptom of something deeper, most often an allergy, amplified by anatomy and moisture. The yeast or bacteria you can smell and see are the consequence, not the cause, which is exactly why cleaners and drops alone keep failing. Lasting relief comes from finding and managing that primary driver, whether through an elimination diet, ongoing management of environmental allergies, or anti-inflammatory nutritional support, all coordinated with your veterinarian. Pair that with dry ears, sensible cleaning, and never a cotton swab in the canal, and you stop chasing relapses and start preventing them.

Frequently asked questions

Can food cause ear infections in dogs?

Indirectly, yes. Food does not infect the ear, but a food allergy is one of the most common underlying causes of recurring ear infections. When a dog reacts to a protein in its diet, the resulting inflammation changes the ear canal and lets normal yeast and bacteria overgrow, and these infections are sometimes the only outward sign. The fix is allergy management, usually an elimination diet run with your veterinarian.

Why does my dog keep getting ear infections?

Repeated infections almost always mean an underlying cause is being missed. The most common culprit is an allergy, to food or to environmental triggers like pollen and dust mites, which inflames the ear and invites yeast or bacteria to bloom. Cleaners and drops treat the overgrowth but leave the allergy untouched, so the infection returns once medication stops. Floppy ears and trapped moisture make it worse. Ask your vet to find the root cause.

When is a dog ear infection an emergency?

Treat it as urgent and see a veterinarian promptly if your dog shows severe pain, a head tilt, loss of balance, circling, flicking eye movements, sudden deafness, or facial drooping. Those signs suggest the infection has spread to the middle or inner ear, which can cause lasting hearing loss or facial paralysis. Never swab the canal yourself, and let the vet check the eardrum first.

For diet-side context, see Best Dog Food for Ear Infections, Best Dog Food for Allergies. To check whether your dog’s food matches the rubric criteria discussed above, paste the ingredient list into the KibbleIQ analyzer. For scoring methodology context, see our published methodology.

Related condition deep-dives: Food Allergies in Dogs · Yeast Infections in Dogs.