How Do You Get Eye Infections and Who’s at Risk?

Most eye infections start the same way: something carrying bacteria, a virus, or another microorganism makes contact with the surface of your eye. The most common route is your own hands touching your eyes after picking up a pathogen from a contaminated surface, another person, or your own body. But hands aren’t the only pathway. Contact lenses, cosmetics, water exposure, respiratory droplets, and even eye surgery can introduce infectious organisms to a part of your body that is surprisingly well-defended, yet vulnerable when those defenses are bypassed.

How Your Eyes Normally Fight Off Infection

Your eyes have a built-in defense system that stops most pathogens before they can take hold. Tears aren’t just for lubrication. They contain lysozyme, an enzyme that destroys the cell walls of bacteria, along with lactoferrin, which neutralizes free radicals that could damage the eye’s surface. Tears also carry antibodies (IgA and IgG) that tag and disable invaders. The constant blinking motion physically flushes away foreign particles before they can settle in.

An eye infection happens when something overwhelms or bypasses these defenses. A large dose of virus deposited directly on the eye by a contaminated finger, a scratch on the cornea that gives bacteria an entry point, or a contact lens trapping organisms against the surface for hours can all tip the balance.

Hand-to-Eye Contact

This is the single most common way eye infections spread. Both viral and bacterial conjunctivitis (pink eye) are highly contagious and travel primarily through hand-to-eye contact. You pick up the pathogen by touching a doorknob, shared towel, keyboard, or another person, then rub or touch your eye. The virus or bacteria transfers directly to the moist surface of the conjunctiva, the thin membrane covering the white of your eye and lining your eyelids.

Viral pink eye can also spread through infectious tears, eye discharge, fecal matter, and large respiratory droplets from a cough or sneeze. Bacterial pink eye follows similar routes but adds another: sexual contact, where bacteria from the genitals reach the eye either directly or are passed from mother to newborn during delivery. Once symptoms appear, which takes 24 to 72 hours for bacterial infections and anywhere from 12 hours to 12 days for viral ones, the infected person can spread the pathogen to others through the same hand-to-eye chain.

Contact Lenses

Wearing contact lenses is one of the biggest modifiable risk factors for eye infections, particularly keratitis, an infection of the cornea that can threaten your vision. A CDC survey found that roughly 99% of contact lens wearers reported at least one hygiene behavior linked to increased infection risk. That’s nearly everyone.

The specific habits that raise your risk are widespread:

  • Sleeping in lenses: About 50% of wearers reported sleeping overnight in their contacts, and 87% reported napping in them. Sleeping in any type of contact lens increases infection risk, likely because the closed eyelid traps the lens against the cornea, reducing oxygen flow and creating a warm, moist environment for microorganisms.
  • Topping off solution: Over 55% of wearers added fresh disinfecting solution to old solution already in the case instead of emptying and refilling it. This dilutes the disinfectant and lets bacteria survive.
  • Water exposure: About 85% of wearers showered in their lenses, 61% swam in them, and roughly a third rinsed their lenses in tap water. Water of any kind, including tap, pool, lake, or hot tub water, can harbor microorganisms that transfer to your eye.
  • Overusing lenses and cases: Nearly 50% wore their lenses longer than the recommended replacement schedule, and over 82% kept their lens cases too long.

One organism of particular concern is Acanthamoeba, a single-celled parasite found in tap water, swimming pools, hot tubs, soil, and even HVAC systems. It can cling to a contact lens and cause Acanthamoeba keratitis, a painful and difficult-to-treat corneal infection. This is why water and contacts should never mix.

Cosmetics and Makeup

Eye makeup is a surprisingly common source of bacterial contamination. One study found that 90% of used makeup products contain significant levels of bacteria, including E. coli. Every time you apply mascara or eyeliner, you’re moving the applicator from a warm, bacteria-friendly container to the delicate tissue around your eye, then back into the container.

Liquid products are the most problematic because moisture supports bacterial growth. Mascara should be replaced every six months. Liquid eyeliner follows the same timeline, while pencil liners can last one to two years. Liquid eye shadow should be swapped out every six months to a year; powdered versions last up to two years. If you develop an eye infection like pink eye, throw away any eye products you used while infected and start fresh.

Sharing eye makeup multiplies the risk because you’re introducing someone else’s bacteria directly to your eye area.

Respiratory Droplets and Close Contact

You don’t always need to touch your eye to infect it. Both viral and bacterial conjunctivitis can spread through large respiratory droplets, the kind produced by coughing, sneezing, or close face-to-face conversation. Adenoviruses, one of the most common causes of viral pink eye, spread easily in settings like schools, daycare centers, and offices where people are in close quarters. This is partly why pink eye outbreaks often accompany cold and flu season.

Sexually Transmitted Infections

Certain bacteria that cause sexually transmitted infections can also infect the eyes. Chlamydia and gonorrhea are the two most notable. Chlamydia can cause a chronic form of conjunctivitis in sexually active adults, spread through hand-to-eye contact after touching infected genital secretions. Gonorrhea can cause a severe, rapid-onset eye infection that produces heavy discharge and, without prompt treatment, can damage the cornea.

Newborns can acquire these infections during delivery if the mother has an active genital infection, which is why hospitals routinely apply preventive treatment to newborns’ eyes shortly after birth.

Eye Surgery and Medical Procedures

Any procedure that opens the eye to the outside world creates a potential entry point for infection. The most studied example is endophthalmitis, a serious infection inside the eye that can follow cataract surgery. The majority of these infections are caused by bacteria already living on the patient’s own eyelids and eye surface that get introduced during the procedure.

Certain surgical factors increase the risk. If complications occur during surgery, the chance of infection rises roughly fivefold. A specific complication involving a tear in the lens capsule with leakage of the gel-like vitreous fluid raises that risk 14 to 17 times. Patients who have pre-existing eyelid inflammation (blepharitis) or skin conditions like rosacea carry more bacteria on their eyelid margins and face higher baseline risk. Contaminated surgical instruments or solutions have also caused occasional clusters of post-surgical infections.

Delayed wound healing after surgery is another vulnerability. If the incision doesn’t seal properly, tears from the eye’s surface can seep inward, carrying surface bacteria into the interior of the eye.

Environmental Exposures

Beyond water-related risks, everyday environments can introduce organisms to your eyes. Dust, soil, and organic matter can carry bacteria and fungi. Gardening, yard work, or any activity that sends particles toward your face increases exposure, especially if something scratches the cornea. Even a tiny abrasion from a grain of sand, a twig, or a fingernail gives bacteria a foothold that an intact corneal surface would normally resist.

Fungal eye infections, while less common than bacterial or viral ones, tend to follow trauma involving plant material or soil. These are more common in agricultural settings and tropical climates, and they progress more slowly than bacterial infections but can be harder to treat.

Who Faces the Highest Risk

Some people are more susceptible than others, not because of bad luck but because of specific, identifiable factors. Contact lens wearers top the list for corneal infections. Children in daycare and school settings face higher exposure to viral and bacterial conjunctivitis simply because of close contact and imperfect hand hygiene. People with weakened immune systems, whether from medication, illness, or age, have a harder time fighting off organisms that the tear film would normally handle. Those with chronic dry eye produce fewer of the protective proteins that keep the eye’s surface inhospitable to pathogens.

People with skin conditions like rosacea or eczema tend to carry different bacterial populations on their eyelids, including higher levels of Staphylococcus aureus, which increases their risk for both eyelid and eye surface infections.