How to Treat an Ear Infection at Home or With Antibiotics

Most ear infections improve with pain management at home, and many don’t require antibiotics at all. The treatment depends on which part of the ear is infected, how severe the symptoms are, and the age of the person affected. Middle ear infections (the most common type, especially in children) often resolve on their own within 48 to 72 hours, while outer ear infections typically need prescription ear drops.

Middle Ear vs. Outer Ear Infections

The two most common types of ear infection call for very different treatments. A middle ear infection happens behind the eardrum, usually following a cold or upper respiratory illness. Fluid builds up in the space behind the eardrum, bacteria multiply, and the result is pressure, pain, and sometimes fever. This is what most people mean when they say “ear infection,” and it’s overwhelmingly common in young children.

An outer ear infection, often called swimmer’s ear, affects the ear canal itself. It typically develops after water gets trapped in the canal or after the skin lining gets scratched or irritated. The hallmark is pain when you tug on the outer ear or press on the small flap in front of it. Outer ear infections almost always need prescription ear drops containing an antibiotic and a steroid to kill bacteria and reduce swelling. These drops work directly on the infected tissue, so they tend to bring relief within a day or two.

When Antibiotics Are Needed

For middle ear infections, the decision to prescribe antibiotics isn’t automatic. Guidelines from major pediatric institutions lay out clear thresholds based on age, severity, and whether one or both ears are affected.

Antibiotics are prescribed right away when:

  • The child is younger than 6 months.
  • The child is 6 to 23 months old with infection in both ears.
  • Symptoms are severe at any age: fever of 102.2°F (39°C) or higher in the past 48 hours, moderate to severe ear pain, ear pain lasting 48 hours or longer, or fluid draining from the ear.

For children 6 to 23 months with only one infected ear and non-severe symptoms, or for anyone 2 years and older with mild symptoms, a 48- to 72-hour observation period is a reasonable approach. During this window, you focus on managing pain and watch for improvement. If symptoms worsen or don’t improve, a “safety-net” antibiotic prescription can be filled. Many doctors write this backup prescription at the initial visit so you don’t need a second appointment.

This watch-and-wait strategy isn’t negligence. The majority of middle ear infections in older children and adults clear without antibiotics, and unnecessary antibiotic use contributes to resistance over time.

What Antibiotics Are Used

When antibiotics are warranted for a middle ear infection, amoxicillin remains the first-line choice for children who haven’t taken it in the past 30 days. It’s effective against the most common bacteria behind ear infections and is well tolerated.

If the child has taken amoxicillin recently, has recurring infections that didn’t respond to it, or also has pink eye alongside the ear infection, a combination antibiotic (amoxicillin paired with clavulanate) is typically used instead. Children with a penicillin allergy have several alternative antibiotics available in the same broader family.

A standard course for children under 2 runs 10 days. For older children and adults with mild to moderate infections, shorter courses of 5 to 7 days are common. Finishing the full course matters even if symptoms improve after a couple of days, because stopping early can allow partially resistant bacteria to survive and multiply.

Managing Pain at Home

Pain relief is the most important part of ear infection treatment in the first 24 to 48 hours, whether or not antibiotics are involved. Over-the-counter pain relievers are the most effective option.

Acetaminophen (Tylenol) and ibuprofen (Motrin, Advil) both work well for ear pain. Ibuprofen has the added benefit of reducing inflammation, which can help with the pressure sensation. For children, both medications are dosed by weight, not age, so check the packaging carefully and use the measuring device that comes with the product. Acetaminophen can be given up to 5 times in 24 hours, while ibuprofen tops out at 4 doses per day. Ibuprofen is not recommended for babies under 6 months old.

For adults, standard doses of either medication provide meaningful relief. You can alternate the two if a single medication isn’t enough, since they work through different mechanisms and don’t interact with each other.

Warm Compresses and Home Remedies

A warm cloth or heating pad held against the ear can provide real comfort. Heat relaxes the muscles around the ear canal and encourages fluid to drain more naturally. Use a warm (not hot) compress for 10 to 15 minutes at a time. This works well as a supplement to pain medication, especially at bedtime when ear pain tends to feel worse.

Sleeping with the affected ear facing up, or propping up slightly, can also reduce pressure. For young children, holding them upright for a while before laying them down sometimes helps.

What doesn’t help: putting oil in the ear. Garlic oil, tea tree oil, and olive oil are popular home remedies, but they’re unlikely to reach the site of a middle ear infection, which sits behind the eardrum. Even for outer ear infections, these oils haven’t been proven safe or effective. Putting any unsterile liquid into the ear canal can potentially make things worse, especially if the eardrum has ruptured.

Outer Ear Infection Treatment

Swimmer’s ear requires a different approach. Prescription ear drops combining an antibiotic with a steroid are the standard treatment. The antibiotic targets the infection directly, while the steroid reduces the redness, itching, and swelling that make the canal so painful. These drops are applied directly into the ear canal, usually for about 7 days.

To help the drops reach the infected area, gently pull the outer ear up and back (for adults) or down and back (for children) when administering them. Keeping the ear dry during treatment is essential. Use a cotton ball coated in petroleum jelly as an earplug during showers, and avoid swimming until the infection clears.

One important caveat: these drops should not be used if there’s a fungal or viral infection in the ear canal rather than a bacterial one. Your doctor will check for this during the exam.

Signs of a Serious Complication

Ear infections are common and usually straightforward, but in rare cases they can spread to the bone behind the ear, a condition called mastoiditis. In the United States, this complication develops in roughly 0.004% of middle ear infection cases. It’s rare, but it’s serious enough to know the warning signs: redness or swelling behind the ear, the ear being pushed forward or outward, persistent high fever, and tenderness when pressing on the bony area behind the ear. Mastoiditis requires urgent medical treatment, typically IV antibiotics and sometimes surgery.

A ruptured eardrum is another possibility. You might notice sudden drainage of fluid or pus from the ear, often accompanied by immediate pain relief as the pressure drops. While this sounds alarming, most ruptured eardrums heal on their own within a few weeks. The key is to keep the ear dry and avoid putting anything in it while it heals.

Recurring Infections and Ear Tubes

Some children get ear infections repeatedly. If your child has had three infections in six months, or four in a year with at least one in the most recent six months, ear tube surgery becomes an option worth discussing. The procedure, called tympanostomy, involves placing tiny tubes through the eardrum to allow fluid to drain and air to circulate in the middle ear space.

The surgery itself takes about 10 to 15 minutes under brief general anesthesia, and most children go home the same day. The tubes typically stay in place for 6 to 18 months before falling out on their own. During that time, infections become less frequent and, when they do occur, can often be treated with ear drops rather than oral antibiotics. For children who’ve been through rounds of antibiotics and sleepless nights from recurring ear pain, the improvement in quality of life can be significant.

Preventing Ear Infections

You can reduce the risk of middle ear infections with a few practical steps. Breastfeeding for at least the first six months provides antibodies that lower infection rates. If bottle-feeding, hold your baby at an angle rather than letting them drink lying flat, which can allow milk to pool near the opening of the middle ear. Keep children away from secondhand smoke, which irritates the lining of the ear passages and makes infections more likely. Staying up to date on childhood vaccines, particularly the pneumococcal vaccine, helps reduce the bacteria most commonly responsible for ear infections.

For swimmer’s ear prevention, drying your ears thoroughly after swimming or bathing is the single most effective measure. Tilt your head to each side to let water drain, and use a towel to gently dry the outer ear. Over-the-counter drying drops (a simple mix of rubbing alcohol and white vinegar) can help evaporate trapped water if you’re prone to outer ear infections.