What Is the Difference Between a Cyst and a Boil?

A cyst is a closed sac under the skin filled with fluid or semi-solid material, while a boil is a painful, pus-filled infection that forms when bacteria invade a hair follicle. The key difference: a boil is caused by infection, and a cyst is a structural growth that can sit under your skin for months or years without causing any problems. They can look similar, especially when a cyst becomes inflamed, but they form for different reasons and require different treatment.

How Each One Forms

Boils start with bacteria. Most are caused by Staphylococcus aureus, a type of bacteria that naturally lives on your skin and inside your nose. When this bacterium gets into a hair follicle, often through a small cut, friction, or an insect bite, it triggers an infection. Your immune system responds by sending white blood cells to fight the bacteria, and pus collects under the skin as that battle plays out. The whole process is fast. A boil can go from a small red bump to a painful, swollen lump in just a few days.

Cysts form through a completely different process with no bacteria involved. The most common type, an epidermoid cyst (sometimes called a sebaceous cyst), develops when the opening of a hair follicle gets plugged. Skin cells that would normally shed to the surface instead get trapped beneath the skin, where they accumulate inside a sac lined with skin tissue. This sac slowly fills with a soft, yellowish protein called keratin. Cysts grow gradually over weeks or months and can remain painless and unnoticed for a long time.

How They Look and Feel

When you’re staring at a lump on your skin and trying to figure out what it is, a few visual clues help.

Boils are red or discolored, swollen, and sore from the start. They’re hard, painful lumps that often develop a visible yellow or white head, similar to a large pimple. The skin around a boil feels warm to the touch because of the active infection underneath. They tend to grow quickly and become increasingly painful over several days as pus builds up.

Cysts, on the other hand, often have no color change at all. They appear as smooth, round lumps under the skin that you can usually move slightly with your fingers. An uncomplicated cyst is painless. You might notice it only because you can feel it or see a bump. The trouble comes if a cyst ruptures internally. When the keratin inside spills into surrounding tissue, it triggers an inflammatory reaction that causes redness, swelling, and pain. At that point, a ruptured cyst can look almost identical to a boil, which is why even doctors sometimes confuse the two.

Where They Typically Appear

Boils favor areas where skin rubs against skin or clothing. The most common spots are the neck, armpits, buttocks, thighs, face, and under the breasts. Anywhere with friction, sweat, and hair follicles is fair game.

Cysts are less predictable. Epidermoid cysts can form on the face, neck, trunk, or virtually anywhere with hair follicles, but they don’t cluster in friction zones the way boils do. If you have a painless lump in an area that doesn’t get much friction or sweating, a cyst is more likely than a boil.

Treatment Differences

Because boils and cysts have different underlying causes, treating them requires different approaches.

Treating a Boil

Small boils often resolve on their own. Applying a warm, moist compress several times a day encourages the boil to drain naturally. Larger boils may need to be drained by a doctor, who makes a small incision and sometimes packs the wound with sterile gauze to absorb remaining pus. Antibiotics are reserved for severe or recurring infections, partly because many strains of staph bacteria have developed resistance to common antibiotics. If you get boils repeatedly, your doctor may send a sample to a lab to identify which antibiotic will actually work.

Treating a Cyst

Cysts that aren’t bothering you don’t necessarily need treatment. But if you want one removed, or if it keeps getting inflamed, the entire sac lining must come out. Simply draining the contents provides temporary relief, but the cyst will refill because the sac is still there. A common removal technique involves a small 2 to 3 millimeter incision, squeezing out the contents, then carefully pulling the sac wall out through the opening. The doctor typically pieces the sac back together afterward to confirm nothing was left behind. If any fragment of the wall remains, the cyst can recur.

This distinction matters: antibiotics don’t help a cyst. Because cysts aren’t caused by infection, prescribing antibiotics for an inflamed cyst is a common mistake. The inflammation comes from keratin leaking into surrounding tissue, not from bacteria.

Complications to Watch For

Boils carry the more serious risks because they involve active bacterial infection. A single boil can spread to neighboring hair follicles and form a carbuncle, which is a cluster of connected boils with a deeper, more severe infection. Recurring boils can sometimes signal MRSA, a drug-resistant staph infection that’s harder to treat.

In rare cases, bacteria from a boil can enter the bloodstream and cause sepsis, infect the skin and deeper tissue (cellulitis), or spread to the bones, heart, or brain. These outcomes are uncommon but serious. Red streaks spreading outward from a boil, fever, chills, or flu-like symptoms are signs the infection is moving beyond the skin and needs immediate medical attention.

Cysts carry far fewer risks. The main complication is repeated inflammation from rupture, which can be painful and frustrating but isn’t dangerous in the way a spreading bacterial infection is. A cyst that gets repeatedly inflamed is worth having surgically removed to break the cycle.

Quick Comparison

  • Cause: Boils are bacterial infections of hair follicles. Cysts are structural sacs filled with trapped skin cells.
  • Speed: Boils develop over days. Cysts grow slowly over weeks or months.
  • Pain: Boils hurt from the beginning. Cysts are painless unless they rupture or get inflamed.
  • Appearance: Boils are red, warm, and often have a visible head. Cysts are smooth, round, skin-colored lumps.
  • Treatment: Boils need drainage and sometimes antibiotics. Cysts need surgical removal of the sac wall to prevent recurrence.
  • Risk level: Boils can lead to serious infections if bacteria spread. Cysts are benign and rarely dangerous.