How ear infections develop
An ear infection happens when bacteria or viruses get trapped in the space behind your eardrum, called the middle ear. This usually occurs after a cold, sinus infection, or allergies cause swelling in the tubes that normally drain fluid from your ear. When those tubes—called Eustachian tubes—swell shut, fluid builds up instead of draining, and germs multiply in that trapped fluid.
The infection itself is your body's response to those germs. The infected area becomes inflamed and fills with pus or fluid, which puts pressure on your eardrum. That pressure is what causes the pain most people feel with an ear infection.
Key Takeaways
- Ear infections usually start when swelling from a cold or sinus infection blocks the Eustachian tubes that drain fluid from your ear.
- Bacteria or viruses multiply in the trapped fluid, causing the infection and the pressure and pain you feel.
- Children get ear infections more often than adults because their Eustachian tubes are smaller and more horizontal, making them easier to block.
- Secondhand smoke, bottle feeding while lying down, and pacifier use past age two increase the risk of ear infections in young children.
- Most ear infections clear on their own within a few days, though some require antibiotics if bacteria are the cause.
Why children get more ear infections than adults
Children under three are far more likely to get ear infections than older children or adults. The main reason is the shape and size of their Eustachian tubes. In young children, these tubes are shorter, narrower, and more horizontal than in adults. That angle and size make them much easier to block when swelling occurs.
A child's immune system is also still developing, so they catch more colds and upper respiratory infections—the very thing that triggers most ear infections. Each cold brings a chance for the Eustachian tubes to swell and trap fluid.
Risk factors that make ear infections more likely
Some children and adults are more prone to ear infections because of their circumstances or habits. Secondhand smoke is one of the strongest risk factors; it irritates the Eustachian tubes and makes swelling more likely. Children who spend time in group settings like daycare also catch more respiratory infections, which means more chances for an ear infection to start.
The way a baby is fed matters too. Babies who drink from a bottle while lying flat are more likely to get ear infections than babies who are held upright or breastfed. Fluid can flow into the Eustachian tubes more easily when a child is lying down. Pacifier use past age two is also linked to higher infection rates.
Allergies and chronic sinus problems increase the risk as well, because both cause ongoing swelling in the passages connected to the Eustachian tubes. A child with untreated allergies may have repeated ear infections because the tubes stay partially blocked.
What happens when you have a cold or sinus infection
The chain of events usually starts with a viral infection—a cold or the flu. The virus inflames the lining of your nose, throat, and the passages that connect to your ears. That inflammation causes swelling, and the swelling narrows or closes the opening of the Eustachian tube.
Once the tube is blocked, fluid that normally drains out of the middle ear gets trapped. Within hours or days, bacteria from your nose and throat can travel up into that trapped fluid and start to multiply. The infection develops as your immune system fights back, causing more swelling and filling the space with pus.
This is why ear infections often come a few days after a cold starts to improve. The cold itself may be getting better, but the swelling it caused is still blocking the Eustachian tube, and bacteria have had time to grow.
Allergies and ear infections
Allergies cause swelling in the nasal passages and the tissues around the Eustachian tubes, which can block them the same way a cold does. Someone with seasonal allergies might notice ear infections happen at the same time each year—when pollen counts are high. People with year-round allergies from dust or pet dander may have chronic swelling that leads to repeated infections.
The difference is that allergies cause swelling without an active infection at first. But the blocked Eustachian tube still traps fluid, and bacteria can still move in and multiply. Treating allergies—whether with antihistamines, nasal sprays, or avoiding the trigger—can reduce how often the tubes swell and lower the risk of infection.
When bacteria versus viruses cause the infection
Once fluid is trapped in the middle ear, either bacteria or viruses can cause the infection. Viral ear infections often come directly from a cold or flu virus spreading into the middle ear. These infections usually clear on their own as your immune system fights the virus, though they can be painful while they last.
Bacterial ear infections happen when bacteria from your nose or throat travel into the trapped fluid. Common bacteria include Streptococcus pneumoniae, Haemophilus influenzae, and Moraxella catarrhalis. Bacterial infections are more likely to need antibiotics because your immune system alone may not clear them quickly enough.
A doctor can sometimes tell the difference by looking at your eardrum or by how the infection behaves, but often they cannot know for certain whether bacteria or a virus is responsible without a culture—and cultures are rarely done for routine ear infections.
Frequently Asked Questions
Can you catch an ear infection from someone else?
You cannot catch an ear infection itself from another person, but you can catch the cold or virus that triggers it. If someone near you has a cold, you may catch that cold, and your Eustachian tubes may swell as a result. The infection develops inside your own ear, not from direct transmission.
Why do ear infections hurt so much?
The pain comes from pressure. When fluid and pus build up in the middle ear, they push against your eardrum from the inside. The eardrum is very sensitive to pressure, so even a small amount of buildup can cause sharp or throbbing pain. The pain usually improves once the fluid drains or the infection clears.
Can swimming cause an ear infection?
Swimming can cause a different type of ear infection—one in the outer ear canal rather than the middle ear. Water trapped in the ear canal can allow bacteria to grow. This is called swimmer's ear and is less common than middle ear infections. Middle ear infections are caused by swelling from colds or allergies, not by water exposure.
Do ear infections always need antibiotics?
No. Many ear infections, especially viral ones, clear on their own within a few days. Doctors often wait to see if the infection improves before prescribing antibiotics. Antibiotics are used when bacteria are likely the cause, when symptoms are severe, or when the infection is not improving after a few days.
Can you prevent ear infections?
You cannot prevent them completely, but you can reduce the risk. Avoiding secondhand smoke, treating allergies, keeping up with vaccinations, and practicing good hand hygiene to avoid colds all help. For young children, holding bottles upright during feeding and limiting pacifier use past age two also lower the chance of infection.