Pink eye is one of the most common eye conditions, and most people get it from direct contact with someone who already has it. The infection spreads through touching contaminated hands, surfaces, or personal items and then touching your eyes. The specific cause—whether a virus, bacteria, or an allergen—determines how you catch it, how long it lasts, and whether you need treatment.
What Is Pink Eye and What Causes It?
Pink eye is the common name for conjunctivitis. It happens when the conjunctiva—the thin transparent layer covering the white of the eye and the inside of the eyelids—becomes inflamed. That inflammation makes the small blood vessels in the eye more visible, which is why the eye looks pink or red.
There are three main types of conjunctivitis: viral, bacterial, and allergic. A fourth type, chemical conjunctivitis, happens when something irritates the eye directly, such as smoke, chlorine, or a stray eyelash.
Viral and bacterial pink eye are contagious. Allergic and chemical pink eye are not. Knowing which type you have matters because it changes how you manage it and whether you need to stay home from work or school.
How Do You Get Viral Pink Eye?
Viral pink eye is the most common form and spreads easily from person to person. It is usually caused by the same viruses responsible for the common cold, particularly adenoviruses. When someone with the infection coughs or sneezes, tiny droplets can land on surfaces. If you touch that surface and then rub your eyes, the virus enters your conjunctiva.
It also spreads through direct contact. Sharing towels, washcloths, pillowcases, or makeup—especially eye makeup like mascara or eyeliner—can pass the virus from one person to another. Swimming pools that are not properly chlorinated can also harbor the virus.
Viral pink eye often comes with cold symptoms. You may have a runny nose, sore throat, or mild fever alongside red, watery eyes. The discharge from viral pink eye is usually thin and watery rather than thick and colored.
This type typically starts in one eye and can spread to the other within a few days. It is highly contagious during the first week, but the virus can remain in your system longer.
How Do You Get Bacterial Pink Eye?
Bacterial pink eye is caused by bacteria such as Staphylococcus aureus, Streptococcus pneumoniae, or Haemophilus influenzae. It spreads the same way viral pink eye does—through direct contact with infected hands or objects.
Children get bacterial pink eye more often than adults because they are in close contact with each other in schools and daycare centers. They touch their faces frequently and share toys, pencils, and other items without thinking about germs.
Bacterial pink eye produces a thicker discharge that can be yellow or green. This discharge may crust over your eyelashes while you sleep, making it hard to open your eyes in the morning. The eye itself feels gritty, like something is stuck in it.
Bacterial pink eye usually affects only one eye, though it can spread to the other. It is treated with antibiotic eye drops or ointment prescribed by a doctor. With treatment, symptoms often improve within a few days, but you should finish the entire course of antibiotics as directed.
Can You Get Pink Eye From Poop or Poor Hygiene?
Yes, but not in the way you might think. Fecal-oral transmission—where bacteria from stool end up in the eye—is a real but less common route. This happens most often with poor handwashing after using the bathroom.
Some bacteria that cause pink eye normally live in the digestive tract. If someone does not wash their hands properly, those bacteria can transfer to a doorknob, faucet, or another person’s hand, and eventually reach the eye. This is more common in young children who are still learning bathroom hygiene.
Contact lens wearers face a particular risk. If you handle your lenses without thoroughly washing and drying your hands, you can introduce bacteria directly onto the surface of your eye. This is one reason eye care professionals stress proper lens hygiene so strongly.
Another bacterial cause is Chlamydia trachomatis and Neisseria gonorrhoeae, which can cause conjunctivitis in adults. These are sexually transmitted infections that can spread to the eye through hand-to-eye contact after touching infected genital fluids. This is rare but serious, and it requires prompt medical treatment.
How Do You Get Allergic Pink Eye?
Allergic pink eye is not contagious. You cannot catch it from another person, and you cannot give it to someone else. It happens when your immune system overreacts to a harmless substance such as pollen, pet dander, dust mites, or mold.
When your eyes encounter the allergen, your body releases histamine. Histamine causes blood vessels in the conjunctiva to swell and leak fluid, which produces redness, itching, and watering. Unlike viral and bacterial pink eye, allergic pink eye almost always affects both eyes at the same time.
The key symptom is intense itching. Viral and bacterial pink eye may itch mildly, but allergic conjunctivitis is marked by a strong urge to rub your eyes. It often occurs alongside other allergy symptoms like sneezing, a runny nose, or an itchy throat.
Seasonal allergic conjunctivitis happens during pollen seasons, typically spring and fall. Perennial allergic conjunctivitis occurs year-round and is usually triggered by indoor allergens like dust mites or pet dander. Avoiding the trigger is the most effective prevention.
How Long Does Pink Eye Last and When Should You See a Doctor?
Viral pink eye usually clears on its own within one to two weeks. Bacterial pink eye often improves within a few days of starting antibiotics, but without treatment it can last up to two weeks. Allergic pink eye lasts as long as you are exposed to the allergen.
You should see a doctor if you have eye pain, light sensitivity, blurred vision, or intense redness. You should also seek medical care if your symptoms get worse instead of better after a few days, or if you have a weakened immune system from conditions like diabetes or HIV.
Newborns with pink eye symptoms need immediate medical attention. A baby’s tear ducts are not fully developed, and what looks like pink eye could be a more serious infection. The same applies to contact lens wearers—pink eye symptoms while wearing contacts can signal a corneal ulcer, which is an eye emergency.
There is no specific antiviral treatment for most cases of viral pink eye. The infection runs its course, and home care focuses on comfort. Warm compresses can help with crusting, and artificial tears can relieve dryness. Bacterial pink eye requires prescription antibiotics to clear the infection and reduce the chance of spreading it.
How Can You Prevent Spreading Pink Eye?
Good hand hygiene is the single most effective way to prevent pink eye from spreading. Wash your hands thoroughly with soap and water before and after touching your eyes, applying eye drops, or cleaning your glasses. If soap and water are not available, use an alcohol-based hand sanitizer with at least 60% alcohol.
Do not share personal items. Towels, washcloths, pillowcases, makeup, and makeup brushes can all carry the virus or bacteria. If you have pink eye, use your own towel and wash it daily in hot water. Change your pillowcase each night while you are contagious.
Throw away eye makeup you used while infected. Mascara, eyeliner, and eyeshadow brushes can harbor the germs and reinfect you later. This is not a marketing suggestion—it is a practical step that prevents repeat infection.
Stay home from work, school, or daycare while you have symptoms. Most health authorities recommend staying home until the discharge has stopped or, for bacterial pink eye, until you have been on antibiotics for at least 24 hours. Do not swim in pools while infected, as you can pass the infection to other swimmers.
For contact lens wearers, stop wearing lenses until symptoms fully resolve. Clean your lens case thoroughly or replace it entirely. Use fresh solution, never top off old solution, and wash your hands before handling lenses.
Can You Get Pink Eye From Looking at Someone With It?
No. Pink eye does not spread through casual eye contact or by simply being in the same room as someone who has it. The virus and bacteria do not travel through the air like measles or chickenpox.
Transmission requires direct contact with infected secretions. That means touching your eye after touching a contaminated surface, or having infected fluid enter your eye directly. A sneeze or cough from an infected person can spread droplets, but those droplets must reach your eye or a surface you then touch.
This distinction matters for practical reasons. You do not need to avoid someone entirely if they have pink eye. You do need to avoid touching your face, wash your hands frequently, and not share personal items.
Frequently Asked Questions
How quickly do pink eye symptoms appear after exposure?
Viral pink eye symptoms usually appear within 24 to 72 hours after exposure. Bacterial pink eye can take a few days longer, depending on the specific bacteria involved.
Can pink eye go away without treatment?
Viral pink eye usually resolves on its own within one to two weeks. Bacterial pink eye may also clear without antibiotics, but treatment shortens the illness and reduces the risk of complications.
Is it safe to go to work with pink eye?
No, not if you have active discharge from your eye. You are contagious while symptoms are present, and you should stay home until the discharge stops or, for bacterial cases, until you have taken antibiotics for at least 24 hours.
Can adults get pink eye from children?
Yes. The same viruses and bacteria that cause pink eye in children spread easily to adults through close contact, shared towels, or touching contaminated surfaces. Handwashing is the best protection.

