Most ear infections can be managed at home with over-the-counter pain relief and a few simple techniques, though some require antibiotics. What works depends on whether the infection is in your middle ear (behind the eardrum) or your outer ear canal, and how severe your symptoms are. Here’s how to handle both types and reduce your chances of getting another one.
Middle Ear vs. Outer Ear Infections
The two most common types are middle ear infections and outer ear infections, and they have different causes and different solutions. Middle ear infections typically start after a cold or upper respiratory illness. The virus or bacteria travels up the Eustachian tube, a narrow channel connecting your throat to your middle ear, and fluid gets trapped behind the eardrum. Children get these far more often than adults because their Eustachian tubes are smaller and more horizontal, making drainage harder.
Outer ear infections, often called swimmer’s ear, happen when water sits in the ear canal and creates a warm, moist environment where bacteria or fungi thrive. You’ll usually feel pain when you tug on your earlobe or press on the small flap at the front of your ear. Middle ear infections, by contrast, cause deeper pressure and pain that doesn’t change when you touch the outer ear.
Relieving Pain Right Away
Regardless of the type, pain relief is your first priority. Acetaminophen (Tylenol) and ibuprofen (Advil, Motrin) both work well. Ibuprofen has the added benefit of reducing inflammation, which can ease pressure in the middle ear. Follow the dosing instructions on the label, and for children, dose by weight rather than age for the most accurate amount.
A warm or cold compress held against the ear can also help. The Cleveland Clinic recommends alternating between warm and cold every 30 minutes. Make sure the warm compress isn’t hot enough to burn, and wrap a cold compress in a towel so it’s not painfully cold against the skin. This won’t treat the infection itself, but it can make the wait for medications to kick in more bearable.
When You Need Antibiotics
Many middle ear infections, especially in older children and adults, clear on their own within two to three days. Doctors often recommend a “watchful waiting” approach: manage the pain and see if symptoms improve before starting antibiotics. This works because a significant number of middle ear infections are viral, and antibiotics won’t help with those.
Antibiotics are typically prescribed when symptoms are severe (high fever, intense pain), when the infection affects both ears in a young child, or when symptoms haven’t improved after 48 to 72 hours. For children under two or those with severe symptoms, a 10-day course is standard. Children two and older with milder symptoms usually need only five to seven days.
Outer ear infections almost always need prescription ear drops that contain an antibiotic, an antifungal, or both. Unlike middle ear infections, swimmer’s ear rarely resolves without treatment and can worsen quickly if ignored.
What to Skip
Putting oil in the ear, whether garlic oil, tea tree oil, or olive oil, is a popular home remedy, but it’s unlikely to help. Oils can’t reach a middle ear infection because the eardrum is in the way. And even for outer ear infections, oils haven’t been proven safe or effective at clearing up the problem. If anything, adding liquid to an already irritated ear canal can make things worse.
Cotton swabs are another thing to avoid. They push wax and debris deeper, can scratch the ear canal, and increase your risk of outer ear infections. Your ears are largely self-cleaning. If you have excessive wax buildup, talk to a healthcare provider about safe removal.
Keeping Your Eustachian Tubes Clear
Blocked Eustachian tubes are the setup for most middle ear infections. When the tubes can’t drain properly, fluid pools behind the eardrum and bacteria multiply. A simple exercise can help open them: close your mouth, pinch your nose shut, and gently blow as if you’re trying to blow your nose. You may hear or feel a small pop when the tube opens. Yawning and chewing gum work through a similar mechanism by engaging the muscles around the tube.
During a cold or allergy flare-up, these techniques become especially important. Keeping nasal passages clear with saline rinses also helps, since swollen tissue around the Eustachian tube opening is what causes it to close off in the first place.
Preventing Swimmer’s Ear
The CDC recommends a few specific techniques to keep your outer ear canal dry after swimming. Tilt your head to each side so the ear faces downward, and pull your earlobe in different directions to help water drain out. Dry your ears thoroughly with a towel. If water still feels trapped, hold a hair dryer on the lowest heat and fan setting several inches from your ear.
Ear-drying drops are another option, but check with your healthcare provider first, especially if you have ear tubes, a punctured eardrum, or any current ear drainage. Custom-fit swim earplugs can also prevent water from entering the canal in the first place, which is worth considering if you swim regularly and get repeated infections.
Reducing Ear Infections in Children
For parents dealing with recurrent ear infections in young children, prevention is the bigger goal. Pneumococcal vaccines, now part of the standard childhood immunization schedule, have made a measurable difference. A large Cochrane review of over 60,000 children found that pneumococcal vaccination reduced bacterial ear infections by 11% to 53%, depending on the specific vaccine studied and the population.
Breastfeeding for at least the first six months is associated with fewer ear infections, likely because it supports immune development and because bottle-feeding while lying flat can allow milk to flow into the Eustachian tube. If you bottle-feed, holding your baby in a semi-upright position during feedings helps prevent this. Avoiding secondhand smoke exposure also lowers risk, since smoke irritates the lining of the Eustachian tubes and nasal passages.
Signs the Infection Is Getting Worse
Most ear infections are uncomfortable but not dangerous. The exception is when infection spreads to the mastoid bone, the hard bump you can feel just behind your ear. This complication, called mastoiditis, is rare but serious. Watch for pain, redness, or swelling behind the ear, especially if the ear starts to stick out from the head. A high fever, hearing loss in the affected ear, or discharge that doesn’t stop are also signals to seek care promptly. In children, unusual irritability or tiredness alongside ear pain can indicate the infection has progressed beyond what home treatment can handle.