Do I Have an Eye Infection?
Red eye, discharge, or crusting? Learn how to tell if you have an eye infection, the different types of pink eye, home care tips, and when you need to see a doctor.
Waking up with a red, goopy, or crusty eye is alarming. Your first thought is probably "pink eye" — but eye infections come in many forms, and not every red eye is an infection at all. Some need antibiotics, some resolve on their own, and a few require urgent attention. This guide will help you figure out what might be going on, what you can do at home, and when it's time to see your eye doctor.
Key Takeaways
- "Pink eye" (conjunctivitis) can be viral, bacterial, or allergic — treatment depends on the type
- Viral conjunctivitis is the most common form and does not respond to antibiotics
- Bacterial conjunctivitis typically causes thick yellow-green discharge and responds well to antibiotic drops
- Allergic conjunctivitis causes intense itching and is treated with antihistamine drops, not antibiotics
- Contact lens wearers with a red, painful eye need same-day evaluation to rule out corneal ulcer
- Most eye infections are mild and self-limiting, but certain warning signs demand prompt medical care
Types of "Pink Eye"
For a detailed side-by-side comparison of all three main types, see our guide on bacterial vs viral vs allergic pink eye.
Viral Conjunctivitis
Viral conjunctivitis is the most common cause of infectious pink eye, usually caused by the same viruses (adenoviruses) that cause colds.
Typical features:
- Watery, clear discharge
- Redness in one eye, often spreading to the other within days
- Eyelid swelling
- Sensitivity to light
- Often accompanied by cold symptoms (sore throat, runny nose)
- A tender, swollen lymph node in front of the ear
What to know:
- No antibiotic will help — it's a virus
- Usually resolves in 7-14 days
- Highly contagious for 10-14 days from onset
- Cool compresses and artificial tears provide comfort
Bacterial Conjunctivitis
Bacterial conjunctivitis is caused by bacteria such as Staphylococcus, Streptococcus, or Haemophilus.
Typical features:
- Thick, yellow or greenish discharge
- Eyelids stuck together in the morning
- Redness, usually in one eye initially
- A gritty, irritated feeling
- Less light sensitivity than viral forms
What to know:
- Responds to antibiotic eye drops or ointment (e.g., erythromycin ointment, polymyxin B/trimethoprim)
- Mild cases may resolve without treatment in 5-7 days
- Contagious until discharge resolves or antibiotics have been used for 24 hours
- Children are often required to stay home from school until treated
Allergic Conjunctivitis
Allergic conjunctivitis is not an infection at all — it's an allergic reaction. Not sure if your symptoms are allergies or infection? See our guide on pink eye vs allergies.
Typical features:
- Intense itching — the hallmark symptom
- Both eyes affected equally
- Clear, stringy discharge
- Swollen, puffy eyelids
- Often seasonal (pollen) or perennial (dust mites, pet dander)
- Associated with sneezing, runny nose, or asthma
What to know:
- Treated with antihistamine/mast-cell stabilizer eye drops
- Cool compresses reduce swelling and itching
- Avoiding allergens is the best long-term strategy
- Antibiotics are not helpful
Quick comparison: Watery + cold symptoms = likely viral. Thick yellow-green discharge = likely bacterial. Intense itching + both eyes = likely allergic. These are general patterns — your doctor can confirm the type.
Other Eye Infections and Look-Alikes
Not every red eye is an infection. For a comprehensive overview of conditions that mimic pink eye, see our guide on conditions mistaken for pink eye.
Styes and Chalazia
Hordeolum (stye) — a painful red bump on the eyelid caused by a bacterial infection of an oil gland or lash follicle.
- Looks like a small pimple on the lid margin
- Warm compresses 3-4 times daily are the primary treatment
- Most resolve within 1-2 weeks
- Do not squeeze or pop a stye
Chalazion — a firm, painless lump in the eyelid caused by a blocked oil gland (not an active infection).
- Often develops after a stye
- Warm compresses and lid hygiene can help
- Persistent chalazia may need in-office drainage
Blepharitis
Blepharitis is chronic inflammation of the eyelid margins, causing redness, crusting, and irritation.
- Not a true infection but involves bacterial overgrowth
- Associated with meibomian gland dysfunction and dry eye
- Managed with daily lid hygiene and warm compresses
- Flares up intermittently — long-term management is key
Corneal Ulcer
A corneal ulcer is a serious infection of the cornea — the clear front window of the eye.
- Usually caused by bacteria, but can be fungal or parasitic
- Strongly associated with contact lens misuse (sleeping in lenses, swimming with them, expired solution)
- Causes severe pain, redness, light sensitivity, tearing, and often a visible white spot on the cornea
- Requires urgent treatment with fortified antibiotic drops
Emergency warning: A contact lens wearer with a red, painful eye and vision changes needs same-day evaluation. Corneal ulcers can cause permanent scarring and vision loss if not treated promptly. Remove your contact lens and see an eye doctor immediately.
Herpes Simplex Keratitis
Herpes simplex keratitis is a viral infection of the cornea caused by the herpes simplex virus (the same virus that causes cold sores).
- Can cause a branching (dendritic) pattern on the cornea
- Recurrent episodes are common
- Treated with antiviral medication — steroids alone can make it much worse
- Requires careful diagnosis by an ophthalmologist
What You Can Do at Home
For a complete guide to evidence-based home treatments (and remedies to avoid), see our pink eye home remedies guide.
For Suspected Viral or Mild Bacterial Conjunctivitis
- Apply cool compresses to reduce swelling and discomfort
- Use preservative-free artificial tears for comfort
- Gently clean discharge from eyelids with a clean, warm washcloth
- Wash hands frequently and avoid touching your eyes
- Don't share towels, pillows, or eye makeup
- Replace contact lenses and lens case once the infection clears
- Discard any eye makeup used before or during the infection
For Allergic Symptoms
- Use over-the-counter antihistamine eye drops (ketotifen/Zaditor)
- Apply cool compresses
- Avoid rubbing your eyes — it worsens the allergic response
- Shower and change clothes after being outdoors during high-pollen days
- Use air purifiers and keep windows closed during allergy season
For Styes
- Apply warm compresses for 10-15 minutes, 3-4 times daily
- Keep the eyelid clean
- Do not pop, squeeze, or lance the stye
- Avoid wearing contact lenses and eye makeup until resolved
When to See Your Doctor
Schedule an Appointment If:
- Symptoms haven't improved after 3-5 days of home care
- Thick discharge persists
- A child has pink eye and needs clearance for school
- A stye hasn't resolved after 2 weeks of warm compresses
- You have recurrent eye infections
Seek Same-Day or Urgent Care If:
- You wear contact lenses and have a red, painful eye
- You have significant pain (not just mild irritation)
- Your vision is blurry or decreased
- You see a white spot on the clear front surface of your eye (the cornea)
- You have severe light sensitivity
- Symptoms are worsening rapidly despite treatment
- You had recent eye surgery and develop redness or discharge
- Your newborn has eye discharge (may be a serious neonatal infection)
Preventing Eye Infections
General Hygiene
- Wash hands before touching your eyes or face
- Don't share eye makeup, towels, or contact lenses
- Replace mascara and eyeliner every 3 months
- Don't use expired eye drops
Contact Lens Safety
- Always wash and dry hands before handling lenses
- Never sleep in contact lenses unless specifically approved by your doctor
- Replace your lens case monthly
- Use fresh solution daily — never top off or reuse old solution
- Never rinse lenses in tap water or saliva
- Don't swim or shower in contact lenses
- Follow your prescribed replacement schedule
Avoiding Contagion
If someone in your household has pink eye:
- Wash hands after any contact
- Don't share pillows, towels, washcloths, or eye drops
- Clean frequently touched surfaces
- Wash bedding and towels in hot water
- The infected person should stay home from school or work until no longer contagious
For parents: Viral pink eye in children is extremely contagious in school settings. Most schools require 24 hours of antibiotic treatment (for bacterial cases) or clearance from a doctor before return. Keep your child home if eyes are draining and consult your pediatrician or eye doctor.
Frequently Asked Questions
How do I know if my pink eye is viral or bacterial?
The discharge is the best clue. Watery, clear discharge with cold symptoms suggests viral. Thick, yellow-green discharge suggests bacterial. However, there's overlap, and your eye doctor can make a definitive diagnosis. When in doubt, get checked.
Do I need antibiotics for pink eye?
Not always. Viral conjunctivitis (the most common type) doesn't respond to antibiotics. Mild bacterial conjunctivitis often resolves on its own. Your doctor may prescribe antibiotics for moderate-to-severe bacterial cases, contact lens wearers, or children needing to return to school.
Can I go to work or school with pink eye?
Viral conjunctivitis is highly contagious. Most doctors recommend staying home for the first few days while discharge is present. Bacterial conjunctivitis is considered less contagious after 24 hours of antibiotic treatment. Allergic conjunctivitis is not contagious at all.
Will pink eye damage my vision?
Simple conjunctivitis (viral, bacterial, or allergic) rarely affects long-term vision. However, severe infections — especially corneal ulcers and herpes keratitis — can cause scarring and permanent vision changes if not treated properly.
My eye is red but doesn't hurt — should I still see a doctor?
If redness is mild, there's no pain, vision is normal, and you're not a contact lens wearer, you can monitor at home for a few days. If it doesn't improve, see your doctor. Red eye with pain, vision changes, or contact lens use always warrants professional evaluation.
Can I wear my contacts while I have pink eye?
No. Remove contact lenses immediately and switch to glasses until the infection has fully resolved and your doctor clears you to resume lens wear. Discard the lenses you were wearing when the infection started, along with the case.
Is pink eye more dangerous for contact lens wearers?
Yes. Contact lens wearers with red, painful eyes are at risk for corneal ulcer, which is more serious than simple conjunctivitis. This is why same-day evaluation is recommended for any contact lens wearer with a red, painful eye.
References
Medical Disclaimer: This information is for educational purposes only and does not replace professional medical advice, diagnosis, or treatment. If you have concerns about an eye infection, please consult a qualified healthcare provider.
Sources:
- American Academy of Ophthalmology. Conjunctivitis Preferred Practice Pattern.
- Azari AA, Barney NP. Conjunctivitis: a systematic review of diagnosis and treatment. JAMA. 2013;310(16):1721-1730.
- Centers for Disease Control and Prevention. Pink Eye (Conjunctivitis).
- American Academy of Ophthalmology. Corneal Ulcer.
