We include products we think are useful for our readers. If you buy through links on this page, we may earn a small commission Here’s our process.
Medical News Today only shows you brands and products that we stand behind.
Our team thoroughly researches and evaluates the recommendations we make on our site. To establish that the product manufacturers addressed safety and efficacy standards, we:- Evaluate ingredients and composition: Do they have the potential to cause harm?
- Fact-check all health claims: Do they align with the current body of scientific evidence?
- Assess the brand: Does it operate with integrity and adhere to industry best practices?
An ingrown hair occurs when the strand grows downward instead of upward and becomes trapped under the skin. Ingrown hairs can cause cysts to develop. These lumps can resemble boils or other skin issues.
This can range from a small, painless lump to a large, infected growth. If a doctor diagnoses it, they may call it an epidermoid cyst or a pilonidal cyst.
Ingrown hairs are not usually dangerous, but they can be intensely painful. If an infection is left untreated, it may worsen or travel to the blood.
In this article, we discuss why ingrown hairs happen, how a cyst can develop, and how to stop this from happening.

When a hair grows into the skin, a fluid-filled lump can develop, which may become a cyst. When a cyst forms, the area becomes swollen.
A cyst may be hard, soft, large, or smaller than a pea. Some cysts can develop deep under the skin, while others may be near the surface, where they can develop a white or yellow head.
Usually, cysts do not hurt unless an infection develops. An infected cyst may be red, itchy, and tender.
Cysts that result from an ingrown hair often go away without treatment. Often, home treatment can help, but sometimes, a person will need to see a doctor.
The following tips can help speed up healing:
Home remedies
- Keep the cyst and the area around it clean at all times.
- Avoid shaving areas around the cyst, as this can introduce bacteria and cause an infection.
- Apply warm compresses to the cyst for 10–15 minutes several times a day. These might bring the cyst closer to the surface, allowing it to drain. If the hair is trapped under the skin, warm compresses may help it grow out.
- Apply an antiseptic solution, such as tea tree oil, to the cyst to prevent infection. Triple antibiotic ointments may also help and are available for purchase online.
Avoid picking or popping the cyst. Cysts develop from a sac under the skin, which can fill with a thick, yellow substance called keratin. Popping the cyst may release the liquid but will not get rid of the sac, and the cyst may grow back. Popping a cyst can also introduce bacteria to the skin, causing infection or making the cyst worse.
Sometimes, an ingrown hair is visible above the skin before it curls underneath. If this is the case, removing it may speed up healing. People can use clean tweezers to grab the hair and remove it.
They should not try this if the hair is completely under the skin, or if it is necessary to dig into the skin to remove it. Instead, the person should leave the hair alone.
Medical treatment
Sometimes, a person will need medical treatment for a cyst. They should see a doctor if:
- a cyst does not clear up on its own
- the cyst is very painful, red, or continues to ooze
- a fever develops alongside the cyst
- a foreign object is in the cyst, such as a splinter or piece of glass
- a condition, such as HIV, AIDS, uncontrolled diabetes, or medication, has weakened the immune system
- the cyst is very large or is affecting daily life, such as becoming stuck on clothing
A doctor may prescribe antibiotics to clear up an underlying infection or may recommend removing the cyst surgically.
Removal of a cyst is usually possible at a doctor’s office, under local anesthetic. Local anesthetic enables a fast recovery time and allows the individual to remain awake during the procedure.
Cysts can appear for various reasons, but when it stems from an ingrown hair, the following happens.
All hairs grow from a hair follicle, sometimes called a pore. This is a tiny opening in the skin, with a complex underlying structure that nourishes the hair.
Sometimes, a hair gets trapped under the skin before it leaves the follicle, resulting in an ingrown hair. At other times, a hair grows out of the follicle but curls back on itself and reenters the skin.
When hair becomes trapped underneath the skin, it can irritate the skin. It also blocks the hair follicle, trapping various substances in the pore. A cyst can develop.
Skin cysts often contain keratin, a protein that keeps skin strong and flexible. But sometimes, cysts arise from trapped bacteria or inflammatory response to an infection.
To reduce the risk of cysts developing from an ingrown hair, people can try the following:
- Use shaving cream and aftershave to soothe the skin. A range of shaving products are available for purchase online.
- Shave with a sharp razor only.
- Moisturize well with a rich lotion when the skin is dry or after shaving. Compare aftershave lotions online.
- Exfoliate dull, dry skin before shaving.
- Shave in the direction of hair growth.
- Do not shave over irritated or red skin.
Risk factors
Anyone can develop ingrown hairs. Risk factors for developing ingrown hairs include:
- Hair removal techniques: Shaving, waxing, and plucking can irritate the skin. After shaving, the hair that grows back may have a sharper edge, making it easier for it to grow into the skin.
- Very dry skin: Dry and dead skin can accumulate over a hair follicle, trapping the growing hair underneath.
- Pressure or friction: This can be a problem, particularly in an area already vulnerable to ingrown hairs. By irritating the skin, it can make ingrown hairs more likely.
- Having coarse, curly, or thick hair: This type of hair is more likely to curl back under the skin when it exits the hair follicle.
When a lump appears in an area where there is body hair, it may be because a cyst has formed around an ingrown hair.
A person should look for a small red bump with a hair in it that slowly grows into a bigger lump. Many cysts of this type develop in areas covered in razor burn.
Some signs that the problem might not be a cyst include:
- a mole that has changed shape or color, or becomes swollen
- red or irritated patches on the skin
- the skin is peeling or has dry patches
- a skin injury, even a small one from a splinter or minor cut, as this could mean a skin infection
- the cyst has no clear borders (normally, cysts are round lumps, so an unusually shaped swelling, or one that changes shape, could be something else)
- there are many painful ingrown hairs, which could be due to a bacterial infection in the hair follicles
- the skin is very dry with many small bumps that can have heads, as this could be a condition called keratosis pilaris
When to see a doctor
It is easy to mistake a harmless cyst for a more serious skin condition. Anyone who has a cyst that does not clear up after a week or two should see their doctor.
Prompt treatment can be lifesaving in the case of skin cancer, serious skin infections, and other dangerous skin problems.
Preventing ingrown hairs is the best way to prevent this type of cyst from developing. However, if cysts do appear, they are usually harmless and often go away on their own.
People who frequently develop cysts, razor burn, or ingrown hairs should ask their doctor about strategies for reducing the occurrence of these annoying skin conditions.
In most cases, a few changes in a person’s skin care routine can significantly reduce the risk of ingrown hairs and the related irritation.