How to Stop an Ear Infection at Home or With a Doctor

Most ear infections clear up within a few days to a week, but the right combination of pain relief, home care, and sometimes antibiotics can shorten your discomfort and prevent complications. What works best depends on whether the infection is in your middle ear or your ear canal, and how severe your symptoms are.

Middle Ear vs. Outer Ear Infections

These two types feel different and require different treatment, so identifying which one you have is the first step. A middle ear infection builds pressure behind the eardrum and typically follows a cold or upper respiratory illness. You’ll feel deep, throbbing pain, and young children often tug at their ears or become unusually fussy. The two most common bacteria behind middle ear infections are Streptococcus pneumoniae and Haemophilus influenzae, though viruses that cause colds can trigger them too.

An outer ear infection (often called swimmer’s ear) affects the ear canal itself. The hallmark sign is pain that gets worse when you pull on your earlobe or press on the small flap in front of your ear. Early on, you may notice itching. As it progresses, the canal swells, and you might see yellow, white, or gray discharge. In severe cases the canal swells completely shut, causing significant hearing loss and sometimes fever above 101°F.

Pain Relief That Works Right Away

Ear infection pain can be intense, especially at night. Over-the-counter pain relievers are your best immediate tool. For children, ibuprofen is dosed at 5 to 10 mg per kilogram of body weight and can be given to kids six months and older. Acetaminophen is dosed at 8 to 15 mg per kilogram and is safe for infants 12 weeks and older. For adults, standard doses of either medication work well. Ibuprofen has the advantage of reducing inflammation alongside pain.

Temperature therapy also helps. Try placing a warm washcloth or heating pad (on low) over the affected ear for comfort, then switch to a cold pack to reduce swelling. Alternating between warm and cold every 30 minutes gives you the benefits of both. Just make sure heat sources aren’t hot enough to burn the skin.

Sleeping position matters more than you’d expect. If only one ear is infected, sleep on the opposite side and prop your head up on two or more pillows so the infected ear sits higher than the rest of your body. This encourages fluid to drain with gravity. If both ears are affected, sleeping on your back with your head elevated is usually more comfortable.

When Antibiotics Are Needed

Not every middle ear infection requires antibiotics. Many resolve on their own, and doctors increasingly use a “watchful waiting” approach based on age and symptom severity. According to CDC guidelines, watchful waiting is appropriate for:

  • Children 6 to 23 months old with infection in only one ear, mild pain, fever below 102.2°F, and symptoms lasting less than two days
  • Children 2 years and older with infection in one or both ears, mild pain, fever below 102.2°F, and symptoms lasting less than two days

Under watchful waiting, you manage pain at home and check back with your doctor if symptoms don’t improve within two to three days. If they worsen or the child is younger than six months, antibiotics are typically started right away. The standard first-choice antibiotic for middle ear infections in children is amoxicillin. When the infection doesn’t respond, doctors may switch to a combination that covers a broader range of bacteria.

Adults with middle ear infections are less common but follow similar logic. Mild cases may resolve without antibiotics, while more severe infections, recurring episodes, or infections with high fever generally warrant a prescription.

Treating an Outer Ear Infection

Outer ear infections are treated differently. The mainstay is antibiotic ear drops rather than oral antibiotics. Many prescription drops also contain a steroid component, which reduces swelling in the canal and speeds up pain relief. Your doctor will choose the specific drop based on whether your eardrum is intact. Certain drops can damage hearing if they reach the middle ear through a perforated eardrum, so mention any history of ear problems or if you’ve noticed fluid draining from deep inside the ear.

While using drops, keep your ear dry. Avoid swimming, and use a cotton ball lightly coated with petroleum jelly during showers to block water from entering the canal. Don’t insert cotton swabs, fingers, or anything else into the ear, as this irritates the already inflamed canal and pushes debris deeper.

Red Flags That Need Prompt Attention

Most ear infections are uncomfortable but not dangerous. However, certain symptoms signal that something more serious may be happening, like a ruptured eardrum. Watch for sudden sharp pain that goes away quickly (this can mean the eardrum has burst, releasing pressure), fluid draining from the ear that looks like pus or contains blood, sudden muffled hearing, or new ringing or buzzing in the ear.

Go to an emergency room if something is lodged in your ear, if you experience sudden severe hearing loss, or if you suspect a sharp object damaged the ear. Otherwise, contact your doctor if symptoms haven’t improved within a few weeks or if they’re getting worse. A ruptured eardrum usually heals on its own, but it sometimes needs additional treatment.

Preventing Future Ear Infections

If you or your child gets ear infections repeatedly, prevention becomes just as important as treatment. For children, pneumococcal vaccines reduce the risk of middle ear infections. Studies show vaccine effectiveness ranges from roughly 2% to 68% depending on the child’s age and the specific vaccine, with the strongest protection seen in children under five. These vaccines are part of the standard childhood immunization schedule.

For swimmer’s ear prevention, a simple homemade solution works well. Mix equal parts white vinegar and rubbing alcohol, and place a few drops in each ear after swimming or bathing. The alcohol helps evaporate trapped water, while the vinegar creates an acidic environment that discourages bacterial and fungal growth. Don’t use this mixture if you have ear tubes, a perforated eardrum, or any open sores in the ear canal.

Other practical steps include drying ears thoroughly after water exposure, avoiding cotton swabs (which strip away protective earwax and create tiny scratches bacteria love), and treating colds and allergies promptly to keep the tubes that drain the middle ear functioning properly. For children in daycare, frequent handwashing and avoiding secondhand smoke exposure both reduce the frequency of upper respiratory infections that lead to ear problems.