Most ear infections clear on their own, but what you do in the meantime matters
Most ear infections—especially the ones caused by viruses—go away without antibiotics. Your body's immune system handles them in a week or two. What changes the timeline and your comfort is what you do while that happens: managing pain, keeping water out, and knowing when to see a doctor because something else is going on.
The practical steps depend on what kind of ear infection you have and whether it's still in the early stage or has been sitting there. A middle ear infection (the most common kind) behaves differently from an outer ear infection (swimmer's ear). Knowing which one you're dealing with changes what actually helps.
Key Takeaways
- Over-the-counter pain relievers like ibuprofen or acetaminophen reduce ear pain while your body fights the infection, usually within a few days.
- A warm compress or heating pad held against the ear for 10 to 20 minutes several times a day eases pain without medication.
- Keeping water out of your ear during a middle ear infection means avoiding swimming and being careful in the shower; outer ear infections need even stricter water protection.
- See a doctor if pain is severe, you have fever, you see fluid or pus draining, or symptoms don't improve after three days.
- Antibiotics only help if bacteria caused the infection, and a doctor has to determine that—they don't work against viral infections.
Pain relief that actually works while you wait
Ibuprofen and acetaminophen both reduce ear pain and bring down fever if you have one. Ibuprofen often works faster for ear infections because it reduces inflammation, which is part of what causes the pain. Take it at the dose on the package for your age and weight, and repeat every 4 to 6 hours as needed—don't exceed the daily maximum.
A warm compress is the non-medication option. Soak a clean cloth in warm (not hot) water, wring it out, and hold it against your ear for 10 to 20 minutes. Repeat this several times a day. A heating pad on low, held against the ear, works the same way. The warmth eases pain by relaxing the muscles around the ear and reducing pressure.
Numbing ear drops (like those containing benzocaine) are available over the counter and numb the ear canal temporarily. They work for outer ear infections better than middle ear infections, and they're most useful for the first day or two when pain is sharpest. Don't use them for more than a few days without checking with a doctor.
Keeping water out so the infection doesn't get worse
Water in the ear during an infection can trap bacteria or viruses and slow healing. For a middle ear infection, avoid swimming and be careful in the shower—tilt your head so water doesn't run into the ear, or use a cotton ball lightly coated with petroleum jelly as a temporary barrier (remove it right after).
Outer ear infections (swimmer's ear) are even more sensitive to water. Keep the ear completely dry. That means no swimming, no submerging your head in the bath, and protecting your ear during showers. Some people use a custom earplug or a cotton ball with petroleum jelly. The goal is zero water contact until the infection clears.
If water does get in your ear, tilt your head and gently pull your earlobe in different directions to help it drain. Don't use cotton swabs to dig it out—you can push bacteria deeper or damage the ear canal.
When antibiotics are necessary and when they're not
Antibiotics only work if bacteria caused the infection. Many ear infections are viral, especially if they started after a cold or flu. A doctor has to look in your ear and sometimes test fluid to know whether bacteria are involved. If it's viral, antibiotics won't help and won't speed recovery.
Doctors typically prescribe antibiotics if you have signs of a bacterial infection: pus or fluid draining from the ear, severe pain that doesn't ease with over-the-counter medication, fever above 102°F, or symptoms that get worse instead of better after three days. They may also prescribe them for children under six months or people with weakened immune systems, even with milder symptoms.
If a doctor prescribes antibiotics, take the full course even if you feel better after a few days. Stopping early can let the infection come back stronger.
Signs you need to see a doctor
See a doctor if pain is severe and doesn't ease with over-the-counter medication within a few hours, if you have fever above 102°F, or if you see fluid, pus, or blood draining from your ear. These can mean the infection is spreading or the eardrum is under pressure.
Also see a doctor if symptoms don't improve after three days of home care, if you have hearing loss, if you have dizziness or balance problems, or if you have swelling or redness behind or around the ear. These can signal a complication or a different problem that needs treatment.
If you have repeated ear infections (three or more in six months), see a doctor even if the current one is mild. Repeated infections can mean something is blocking drainage in your ear, and that needs to be addressed.
What to expect at a doctor's visit
A doctor will look in your ear with an otoscope (a small lighted tool) to see the eardrum and ear canal. They may use a pneumatic otoscope, which puffs a small amount of air to check if the eardrum moves normally—if it doesn't, fluid is likely trapped behind it. They'll ask how long symptoms have been going on and whether you had a recent cold.
If they suspect a bacterial infection, they may take a sample of fluid from your ear (if it's draining) to test. This takes a few days to come back, but it tells them exactly which bacteria are involved and which antibiotics will work best. In the meantime, they may prescribe a broad-spectrum antibiotic that covers the most common bacteria.
If the infection is viral, the doctor will confirm that antibiotics won't help and may suggest stronger pain relief or other ways to manage symptoms while your body clears it.
Preventing ear infections from happening again
Dry your ears after swimming or showering. Tilt your head and pull your earlobe gently to let water drain, then use a clean cloth or a hair dryer on low to dry the outer ear. Don't use cotton swabs inside the ear canal—they can trap water and damage the delicate skin.
If you swim regularly and get frequent outer ear infections, use earplugs or a swim cap. Some people benefit from custom-molded earplugs, which seal better than standard ones.
For middle ear infections, there's less you can prevent directly, but managing colds and flu reduces your risk. Wash your hands, avoid close contact with sick people, and stay up to date on vaccines. If you have allergies, treating them can help prevent fluid buildup in the middle ear.
Frequently Asked Questions
How long does an ear infection usually take to go away?
Most viral ear infections clear in one to two weeks. Bacterial infections treated with antibiotics usually improve within three to five days of starting medication, though symptoms may ease sooner. Pain often gets better within the first few days even before the infection fully clears.
Can I fly or go to high altitude with an ear infection?
Flying or going to high altitude with an active ear infection can be painful because pressure changes affect the middle ear. If you must fly, use a decongestant nasal spray 30 minutes before takeoff and landing, chew gum, or use the Valsalva maneuver (pinch your nose, close your mouth, and gently blow). If pain is severe, postpone the trip if possible.
Is it safe to use hydrogen peroxide or vinegar to clean my ear?
Hydrogen peroxide can help remove earwax buildup, but during an active infection it can irritate the ear canal or push bacteria deeper. Vinegar solutions are sometimes used for outer ear infections but can also irritate inflamed skin. Ask a doctor before using either one during an infection.
What's the difference between an ear infection and just earwax buildup?
Earwax buildup causes muffled hearing and a feeling of fullness but usually no pain or fever. An ear infection causes pain (especially when you pull on your earlobe), possible fever, and sometimes drainage. A doctor can tell the difference by looking in your ear.
Can I treat an ear infection with just home remedies?
Home remedies like warm compresses and pain relievers can manage symptoms while your body fights a viral infection. But if bacteria are involved, antibiotics speed recovery and prevent complications. See a doctor if pain is severe, you have fever, or symptoms don't improve after three days—waiting longer risks the infection spreading.