How to Treat an Infected Eye at Home or With Meds

Most eye infections clear up within one to two weeks with the right care, but the treatment depends entirely on what’s causing the infection. Bacterial infections need antibiotic drops, viral infections resolve on their own with supportive care, and fungal infections require months of prescription antifungal medication. Figuring out which type you’re dealing with is the first step toward getting relief.

Identifying the Type of Infection

The discharge coming from your eye is one of the quickest ways to narrow down what’s going on. Bacterial conjunctivitis (pink eye) typically produces thick, yellow or greenish pus that can glue your eyelashes together overnight. Viral conjunctivitis tends to produce a watery, clear discharge and often accompanies a cold or upper respiratory infection. Allergic reactions also cause watery eyes, but they almost always involve intense itching in both eyes rather than one.

A stye, which is a red, painful bump on the eyelid, is a localized bacterial infection of an oil gland. It looks and feels different from conjunctivitis because the redness and swelling are concentrated in one spot rather than spread across the white of the eye. Fungal keratitis is rarer but more serious, affecting the cornea itself. It’s most common in people who wear contact lenses or have had an eye injury involving plant material, such as during yard work or farming.

Treating Bacterial Eye Infections

Bacterial conjunctivitis is treated with prescription antibiotic eye drops. A typical course starts with one drop in the affected eye every two to four hours while awake for the first two days, then tapers to four times a day for up to five more days. Most people notice improvement within 48 hours of starting drops.

You remain contagious from the moment symptoms appear until roughly 48 hours after beginning antibiotic treatment. During that window, avoid sharing towels, pillowcases, or anything that touches your face. Wash your hands frequently, especially after touching or wiping your eyes.

Managing Viral Eye Infections at Home

Antibiotics do nothing for viral conjunctivitis. The infection needs to run its course, which typically takes 7 to 14 days, though some cases linger for two to three weeks. The goal during that time is comfort, not cure.

Cold compresses and over-the-counter artificial tears are the two main tools. A clean, damp washcloth chilled in the refrigerator and placed over closed eyes can reduce inflammation and soothe the gritty, burning sensation. Artificial tears help with the dryness that often accompanies the infection. Both are available without a prescription.

Viral pink eye is contagious for as long as you have symptoms, so the same hygiene precautions apply for the full duration. If the infection is caused by herpes simplex or varicella-zoster virus (the same virus behind chickenpox and shingles), a doctor can prescribe antiviral medication. These cases are less common but more serious, and they often involve pain, light sensitivity, or blistering around the eye.

Treating a Stye

Warm compresses are the standard treatment for styes. Soak a clean washcloth in warm water, wring it out, and hold it gently against the affected eye for five minutes several times a day. The warmth helps the blocked oil gland open and drain on its own. Most styes resolve within a week or two with this approach alone. Resist the urge to squeeze or pop the bump, which can spread the infection deeper into the eyelid.

Fungal Infections Need Aggressive Treatment

Fungal keratitis is uncommon but serious. It requires prescription antifungal medication, often for several months. If antifungal drops and oral medications don’t work, surgery may be necessary, sometimes including a cornea transplant. Steroid eye drops, which might seem helpful for reducing inflammation, can actually make fungal infections worse and should be avoided unless specifically directed by a doctor.

Contact lens wearers and people who’ve had eye injuries involving soil or plant matter are at highest risk. If you wear contacts and develop eye pain, redness, or blurred vision, remove the lenses immediately.

Why Redness Relief Drops Can Backfire

Over-the-counter redness relief drops are tempting when your eye looks irritated, but they don’t treat infections. Most contain a decongestant that temporarily shrinks blood vessels in the eye to reduce redness. When the drops wear off, your eyes can become even redder than before. This rebound redness can worsen over time with repeated use, creating a cycle that’s hard to break.

The American Academy of Ophthalmology recommends not using decongestant-based redness drops for more than 72 hours. People with narrow-angle glaucoma should avoid them entirely because they can trigger angle-closure glaucoma, a medical emergency. If your eyes are red from an infection, artificial tears are a safer choice for temporary relief while you address the underlying cause.

Contact Lens Precautions

If you develop any signs of an eye infection while wearing contacts, remove them right away. Do not put them back in until the infection has fully cleared. Dispose of the pair you were wearing when symptoms started, since the lenses can harbor bacteria or fungi even after cleaning. Your lens case should also be replaced, as it’s a common source of recontamination.

Going forward, clean and air-dry your lens case after every use, and replace it at least every three months. Never rinse lenses or cases with tap water, and don’t top off old solution with fresh solution in the case. These habits significantly reduce the risk of future infections.

Signs That Need Prompt Medical Attention

Some eye infections are mild inconveniences. Others can threaten your vision. Pay attention to symptoms that go beyond simple redness and irritation. Blurred vision, significant pain (not just mild discomfort), sensitivity to light, thick discharge that keeps returning after you wipe it away, or a fever alongside eye symptoms all warrant a call to your doctor or a visit to urgent care. Any infection that isn’t improving after a few days of home care, or one that’s getting noticeably worse, should be evaluated professionally.

Eye injuries carry a higher risk of serious infection, so any trauma to the eye followed by redness, swelling, or vision changes should be treated as urgent. Early treatment for serious infections can be the difference between a full recovery and permanent damage.