Medical Encyclopedia › S › Stye (hordeolum)
A stye is an acute, usually bacterial infection of a gland in the eyelid. It appears as a red, painful swelling at the edge of the lid or on its inner side. The bacterium Staphylococcus aureus is usually responsible. A stye is generally harmless and often clears up on its own within one to two weeks.
Overview
The eyelid contains several small glands that produce oil and sweat. When a gland at the lash line becomes infected, it is called an external stye (hordeolum externum). If the infection is in one of the meibomian glands on the inside of the lid, it is an internal stye (hordeolum internum). A stye is not the same as a chalazion, which is a chronic, usually painless lump caused by blocked gland secretions.
Symptoms
Typical signs are a localised redness and swelling, tenderness or a feeling of pressure, and sometimes a gritty sensation. After a few days a yellowish point of pus often forms and may drain by itself. The eye may water and be sensitive to light. Vision is normally not affected.
Causes and risk factors
Most styes are caused by staphylococci, bacteria that live on the skin. Contributing factors include long-standing eyelid inflammation (blepharitis), rubbing the eyes with unwashed hands, old or shared make-up, poorly cleaned contact lenses, diabetes mellitus and skin conditions such as rosacea.
Diagnosis
A doctor usually recognises a stye at a glance. An eye specialist examines the lid with a slit lamp to distinguish it from a chalazion, conjunctivitis or rare other changes. A swelling that keeps returning at the same spot is investigated further.
Treatment
Clean warm compresses applied for a few minutes several times a day and gentle lid hygiene are often enough. Do not squeeze or pierce the stye, as this can spread the bacteria. Contact lenses and eye make-up should be paused until the inflammation has settled. Antibiotic eye ointment is sometimes prescribed, for example if the inflammation is extensive. A stye that does not settle can be opened by an eye specialist with a small incision. If the infection spreads into the lid, oral antibiotics are needed.
Prevention and outlook
Washing hands thoroughly, not rubbing the eyes, removing make-up at night and keeping contact lenses clean lower the risk. Regular lid hygiene helps people who get styes often. Most styes settle without lasting effects.
Frequently asked questions
Is a stye contagious?
A stye does not spread like a cold. The bacteria can, however, be carried on the hands, so wash your hands and use your own towels.
How long does a stye last?
It usually settles within one to two weeks, often after the pus has drained by itself. If it lasts longer, an eye specialist should take a look.
What is the difference between a stye and a chalazion?
A stye is an acute, painful bacterial infection. A chalazion is a slowly growing, usually painless lump caused by blocked gland secretions.
Related terms
Test your knowledge: questions on the eyes, infections and more – from beginner to exam level.
Go to the Medical QuizSources
- Cochrane Review: Interventions for acute internal hordeolum (Lindsley et al., 2017)
- NHS: Stye
This entry is for general information only and does not replace medical advice. Last updated: November 2026.