Eyelid inflammations can occur if a gland along the edge of the eyelid becomes inflamed. This leads to swelling. If it’s caused by bacteria, this can happen very quickly and hurt. It is then known as a stye (hordeolum) – a pus-filled swelling on the eyelid, caused by an infection.
There’s another kind of eyelid inflammation called a chalazion (also known as a meibomian cyst). This develops more slowly and usually doesn’t hurt. It occurs after an oil gland (sebaceous gland) has been inflamed for quite a long time. It is not caused by bacteria.
The eyelid has various glands in it that keep the eyes from becoming too dry: a lot of small sweat glands and oil glands near to the eyelashes along the edge of the eyelid, and oil glands on the inner part of the eyelid. The oil that is made there mixes with the tear fluid covering the eye, keeping the eye moist. If a gland at the edge of the eyelid becomes blocked or infected with bacteria, the tear fluid is affected, causing the eyelid to become inflamed.
If you have an eyelid inflammation, your upper or lower eyelid is red and swollen – usually at the edge of the eyelid, close to the eyelashes. The swelling can grow to about the size of a pea.
Styes are painful. Pus collects in the middle of the swelling, and can often be seen as a yellow lump.
Stye on the lower eyelid
Chalazia don’t have pus in them and usually aren’t painful either. But many people find them bothersome. They often occur on the inner part of the eyelid.
Both styes and chalazia can develop on the lower or upper eyelids.
Chalazion on the upper eyelid
Causes and risk factors
Styes occur if bacteria infect a gland in the eyelid. These are usually staphylococcus bacteria. You’re more likely to get styes if, for instance, you don’t clean your hands properly before putting contact lenses in or taking them out. The risk is also greater if the oil or sweat made in glands can’t flow out properly. This might happen if the glands are blocked by dried-up secretions or by make-up that hasn’t been removed. Styes are also more common in people who have diabetes or another disease that weakens the immune system. Further risk factors include hormonal fluctuations, stress and skin conditions like rosacea.
Chalazia usually develop because an oil gland has become blocked and is then inflamed for a long time: The oil (sebum) builds up, and more and more of the tissue becomes inflamed and hard. This type of tissue is known as granulation tissue. The inflammation isn't caused by bacteria, so there’s no pus. You’re more likely to develop a chalazion if you have a chronic skin condition like rosacea.
Prevalence and outlook
Inflammations of the eyelid, such as styes and chalazia, are common and can occur at any age.
Styes develop very quickly, but usually go away again soon after: The pus normally leaves the stye on its own after about a week, and the inflammation goes down.
The swelling associated with chalazia develops more slowly. It usually goes down on its own, but also more slowly than the swelling associated with styes. It can take weeks or months for chalazia to go away completely. But they sometimes don’t go away on their own.
If a stye doesn’t go away completely, it might develop into a chalazion. Or a new stye might develop in the same place.
The inflammation caused by styes might spread, for instance to the eye socket. But these complications are very rare, particularly in people who are otherwise healthy. It’s important to avoid touching the inflamed area and to pay particular attention to good hygiene – for example, by not sharing towels with other people.
It’s easy to diagnose styes and chalazia based on what they look like and the symptoms they cause: If the inflamed area doesn’t hurt, even when you push against it, it’s probably a chalazion.
Eye doctors usually test your eyesight too, and take a closer look at your eyes and eyelids with the help of a special magnifying lamp (a slit lamp).
Because styes are normally caused by staphylococcus bacteria, there's usually no need to do a swab test to find out what’s causing the infection. Other tests, such as blood tests or tissue examinations, are only needed if the doctor thinks it could be cancer or if you have a weakened immune system. Some of the tests involve quite a bit of time and effort.
Styes and chalazia usually go away on their own. Various things are thought to speed up the process. But there’s generally a lack of good research on how well they actually work.
The various treatments for styes include things like applying heat or ointments. If a stye or chalazion doesn’t go away, it might be possible to remove it during a minor surgical procedure.
When people are ill or need medical advice, they usually go to see their family doctor first. Read about how to find the right doctor, how to prepare for the appointment and what to remember.
Berufsverband der Augenärzte Deutschlands (BVA), Deutsche Ophthalmologische Gesellschaft (DOG). Leitlinie Nr. 10: Hordeolum / Chalazion. August 2011.
Burk A, Burk R. Checkliste Augenheilkunde. Stuttgart: Thieme; 2017.
Cheng K, Law A, Guo M, Wieland LS, Shen X, Lao L. Acupuncture for acute hordeolum. Cochrane Database Syst Rev 2017; (2): CD011075.
Lindsley K, Nichols JJ, Dickersin K. Non-surgical interventions for acute internal hordeolum. Cochrane Database Syst Rev 2017; (1): CD007742.
Pschyrembel. Klinisches Wörterbuch. Berlin: De Gruyter; 2017.
IQWiG health information is written with the aim of helping
people understand the advantages and disadvantages of the main treatment options and health
Because IQWiG is a German institute, some of the information provided here is specific to the German health care system. The suitability of any of the described options in an individual case can be determined by talking to a doctor. informedhealth.org can provide support for talks with doctors and other medical professionals, but cannot replace them. We do not offer individual consultations.
Our information is based on the results of good-quality studies. It is written by a team of health care professionals, scientists and editors, and reviewed by external experts. You can find a detailed description of how our health information is produced and updated in our methods.