Why Does the Lump on My Scalp Hurt When I Press It?

A painful lump on the scalp almost always means some form of inflammation is happening beneath the skin, whether from a cyst that has become irritated, an infected hair follicle, a post-injury blood collection, or one of several rarer growths that press on the dense web of nerves running through your scalp. The scalp is one of the most nerve-rich areas of the body, which is why even a small bump there can feel surprisingly tender under finger pressure. Most painful scalp lumps turn out to be benign and treatable, but the cause matters because the right response ranges from warm compresses and patience to a same-day medical visit.

Why the Scalp Is So Sensitive to Lumps

Your scalp is not like the skin on your back or your thigh. It has an unusually dense network of pain-sensing nerve fibers, mainly branches of the trigeminal nerve (which covers the forehead and top of the head) and the upper cervical nerves (which cover the back and sides). These fibers feed pain signals into a processing hub in the brainstem that also handles input from the meninges and blood vessels inside the skull, which is part of why scalp tenderness and headaches so often travel together.1PubMed. The anatomy of head pain On top of that, the scalp’s outer layers are tightly packed: skin, a thin sheet of connective tissue, a muscular layer, another connective-tissue layer, and then the periosteum covering the skull. There is not much room for anything extra. When a cyst swells, a follicle fills with pus, or blood pools after a knock to the head, the pressure has nowhere to dissipate, so it pushes directly against those nerve endings. That tight architecture explains why pressing on a scalp lump can produce a sharp, disproportionate sting compared to a similar-sized lump elsewhere on the body.

Pilar Cysts, the Most Common Scalp Lump

If you run your fingers through your hair and feel a firm, round, movable bump that has been there for months or years but has recently started to hurt, a pilar cyst (also called a trichilemmal cyst) is the leading suspect. These are the single most common type of cyst found on the scalp, and they tend to appear in adults of middle age or older. A pilar cyst forms when the sheath around a hair root creates a closed sac that fills with keratin, the same protein that makes up your hair and nails. The sac sits just under the skin and usually feels smooth and painless for a long time.2PubMed Central. An inflamed trichilemmal (pilar) cyst: Not so simple?

The trouble starts when the wall of the cyst cracks or ruptures. Once keratin leaks into the surrounding tissue, your immune system treats it like a foreign invader. The area becomes red, swollen, warm, and tender. At this stage the cyst hurts when you press it, and it may hurt even without pressure.3PubMed Central. Morphological Spectrum of Pilar Cysts People often assume this means the cyst is infected and reach for antibiotics, but in many cases the inflammation is purely chemical, driven by the body’s reaction to leaked keratin rather than by bacteria. A doctor can usually tell the difference by examining the lump and sometimes by sending a sample for testing. Inflamed pilar cysts that do not settle on their own are treated with surgical removal, typically a straightforward outpatient procedure.

Infected Hair Follicles and Scalp Abscesses

Folliculitis, an infection of one or more hair follicles, is another everyday cause of tender scalp bumps. It often looks like a cluster of small red or pus-topped bumps, sometimes mistaken for acne. Mild cases resolve with regular washing and topical antiseptics. But when a follicle infection goes deeper or several infected follicles merge, the result can be a larger, fluctuant (squishy) lump filled with pus: a scalp abscess. These are genuinely painful, frequently throbbing even without touch, and they tend to get worse rather than better on their own.

A rarer and more stubborn version of this process is a condition historically called perifolliculitis capitis abscedens et suffodiens. It involves chronic, deep inflammation around the follicles that leads to pus formation and tunnels under the skin connecting multiple inflamed areas.4PubMed Central. A Rare Form of Suppurating and Cicatrizing Disease of the Scalp This is not something you would confuse with a single sore pimple: it causes widespread, painful boggy swelling across parts of the scalp and can eventually scar the skin and permanently destroy hair follicles. It requires medical treatment, often with a combination of antibiotics and sometimes surgery to drain the interconnected abscesses.

Bumps After a Knock to the Head

A lump that appeared right after you hit your head is almost certainly a subcutaneous hematoma, a pocket of blood that collects under the scalp after blunt trauma. These are the classic “goose egg” bumps that children get on the playground. The lump usually shrinks on its own over days to a couple of weeks and is most painful in the first 24 to 48 hours.5PubMed Central. Identity of growing pulsatile mass lesion of the scalp after blunt head injury: Case reports and literature review

What deserves attention is a lump that keeps growing after a head injury rather than shrinking. In rare cases, trauma damages a small artery or creates an abnormal connection between an artery and a vein beneath the scalp. The resulting lump may pulse visibly or when you press it, and it can enlarge over weeks. This is uncommon enough that most people will never encounter it, but a lump that grows or pulses after an injury warrants prompt medical evaluation, since these vascular lesions sometimes need imaging and targeted treatment rather than the “wait and watch” approach that works for a standard bruise.5PubMed Central. Identity of growing pulsatile mass lesion of the scalp after blunt head injury: Case reports and literature review

Dermoid Cysts

Dermoid cysts are a separate category from pilar cysts. They form during embryonic development when skin cells get trapped beneath the surface, so they are present from birth even though they may not become noticeable until childhood or later. Unlike pilar cysts, which contain only keratin, dermoid cysts can hold a mix of skin debris, oil, and sometimes even tiny hair fragments. On the scalp, they usually sit along the lines where the skull bones fused during fetal growth. Most stay small, painless, and barely noticeable, but they can become tender if they swell or get infected. Treatment is surgical excision, and the procedure is generally straightforward when the cyst is limited to the tissue above the skull.6PubMed. Scalp dermoids: a review of their anatomy, diagnosis, and treatment

Less Common Painful Growths

Not every painful scalp lump fits neatly into the cyst or infection category. Dermatologists recognize a long list of skin tumors that characteristically hurt, and several of them can appear on the scalp. One well-known example is eccrine spiradenoma, a benign tumor that arises from sweat glands. It typically shows up as a solitary, slow-growing nodule, and the hallmark symptom that brings people to a doctor is tenderness or outright pain when the area is touched or bumped.7PubMed Central. Eccrine Spiradenoma of the Scalp Other painful skin tumors include leiomyomas (smooth-muscle tumors), glomus tumors, neuromas, and angiolipomas, among many others.8Dove Press / Dove Medical Press (Clin Cosmet Investig Dermatol). Painful tumors of the skin: “CALM HOG FLED PEN AND GETS BACK” These are all uncommon individually, but as a group they account for a meaningful fraction of painful scalp lumps that are not cysts or infections.

Even rarer is an osteoid osteoma, a benign bone tumor that can develop in the skull itself. One reported case involved a woman who noticed sudden-onset scalp tenderness over a small bony growth near the mastoid area behind her ear. The pain was severe enough to mimic a headache, and the lesion was only about two centimeters across.9PubMed Central. Osteoid Osteoma Presenting as a Painful Solitary Skull Lesion: A Case Report These tumors are worth knowing about because the pain they cause tends to be worse at night and responds well to common anti-inflammatory painkillers, a pattern that can help a doctor suspect the diagnosis before imaging confirms it.

When the Pain Is Nerve-Related, Not a True Lump

Sometimes what feels like a sore lump turns out to be a tender spot along a nerve rather than a discrete mass. Occipital neuralgia involves irritation or compression of the greater or lesser occipital nerves, which run from the upper neck up through the back of the scalp. The pain is typically sharp, shooting, or burning and radiates from the base of the skull upward. Pressing on the spot where the nerve exits the muscles at the back of the head can reproduce or worsen the pain, and the tissue there may feel swollen or knotted even though there is no true growth underneath.10JEM Reports. Treatment of post-traumatic occipital neuralgia with ultrasound-guided greater occipital nerve hydrodissection in the emergency department This can fool people into thinking they have a lump when they actually have a nerve problem, since the surrounding muscles often tighten in response to the irritation and create a palpable knot.

Myofascial trigger points in the muscles of the scalp and neck can produce a similar experience. These are tight, tender spots within muscle fibers that hurt when compressed and can refer pain to other areas of the head. They are strongly associated with tension-type headaches, and research shows that direct treatment of these trigger points through focused massage can improve pressure-pain thresholds in the affected muscles.11PubMed Central. Myofascial trigger point-focused head and neck massage for recurrent tension-type headache: A randomized, placebo-controlled clinical trial If your “lump” feels more like a tight band or knot in the muscle at the base of the skull or along the temples, and if it is associated with headache, a trigger point is a plausible explanation.

Temporal Arteritis and Scalp Tenderness

In people over about 50, especially those with new-onset headache and scalp tenderness, temporal arteritis (giant cell arteritis) deserves a mention. This is an inflammatory condition of the blood vessels, particularly the temporal arteries that run along the sides of the head near the temples. The artery itself can become swollen and tender, sometimes feeling like a firm, cord-like ridge under the skin. The headache is often described as throbbing and located over the temple, and pressing on the area typically worsens the pain.12PubMed Central. Temporal arteritis; some aspects of subacute arteritis in later life The reason this condition gets flagged so urgently is that untreated temporal arteritis can damage the blood supply to the eye and cause permanent vision loss. Anyone over 50 with a new, persistent, tender swelling along the temple area, especially if accompanied by jaw pain when chewing, fatigue, or visual changes, should see a doctor promptly. A blood test for inflammation markers and sometimes a biopsy of the artery can confirm the diagnosis.

Inflammatory Scalp Conditions That Cause Diffuse Tenderness

Not every painful scalp situation involves an obvious lump. Some inflammatory skin diseases cause patches of scalp tenderness with more subtle swelling, and if you happen to press on one of these areas, you might feel what seems like a bump. Lichen planopilaris is one example. It is an autoimmune inflammatory condition that attacks hair follicles, gradually destroying them and replacing them with scar tissue. People with lichen planopilaris often notice hair thinning at the top or sides of the scalp along with itching, burning, or tenderness in those areas.13PubMed. A Practical Approach to the Diagnosis and Management of Classic Lichen Planopilaris The scalp may look red or slightly raised at the edges of the thinning patches. Because the hair loss is permanent once it occurs, early recognition matters. If your painful scalp area coincides with a zone of thinning hair and you have not had a specific injury or noticed a discrete round lump, this type of inflammatory alopecia is worth investigating with a dermatologist.

How to Tell What You Are Dealing With

You cannot diagnose a scalp lump at home with certainty, but you can narrow the possibilities by paying attention to a few details:

  • Size and shape: A smooth, round, movable lump that has been present for months suggests a cyst. A tender, irregularly shaped area that appeared suddenly after trauma points to a hematoma. A firm, fixed bump that does not slide under the skin could be a bone lesion or deeper growth.
  • Speed of onset: A lump that appeared overnight with surrounding redness and warmth is likely infectious or a suddenly inflamed cyst. One that has grown slowly over weeks to months is more consistent with a benign tumor.
  • Associated symptoms: Fever and pus suggest infection. Hair loss near the tender area raises concern for an inflammatory scalp disease. Shooting or electric-shock-like pain running up the back of the head points toward nerve involvement. New headache with jaw pain and fatigue in someone over 50 should prompt evaluation for temporal arteritis.
  • Response to pressure: A cyst or abscess often feels like a fluid-filled sac that gives slightly under pressure. A bone lesion or calcified growth feels rock-hard and immovable. A trigger point feels like a tight muscle knot that may refer pain elsewhere when pressed.

A doctor evaluating a painful scalp lump will usually start with a physical examination and history. Imaging such as ultrasound can help distinguish between fluid-filled cysts, solid tumors, and vascular lesions without any radiation exposure. If the lump needs to come out, a biopsy or full excision provides a definitive answer about what it is.

When Waiting Is Reasonable and When It Is Not

Many painful scalp lumps, especially small inflamed cysts and mild folliculitis, settle down on their own or with basic care like warm compresses and gentle cleansing. If the pain is mild, the lump is small, and there are no worrying features, giving it a week or two to see whether it improves is generally reasonable.

Certain situations call for faster action. A lump that is rapidly growing, very red and hot, or producing thick discharge may be an abscess that needs drainage. A pulsatile lump after head trauma needs evaluation to rule out a vascular injury. A lump accompanied by fever, night sweats, or unexplained weight loss should not be watched at home, since these systemic symptoms can occasionally signal something more serious. And the temporal arteritis scenario outlined earlier, with new headache and scalp tenderness in an older adult, is a genuine time-sensitive emergency because of the risk to vision.

One common misconception is that squeezing or popping a painful scalp lump at home will resolve it faster. With cysts, squeezing can rupture the cyst wall internally and worsen the inflammation, turning a mildly sore bump into a hot, angry mass. With abscesses, home drainage risks pushing bacteria deeper or introducing new infection. If a lump needs to be drained or removed, the procedure is quick and far less eventful in a clinical setting than the drawn-out mess that often follows a do-it-yourself attempt.

Lumps That Come Back After Removal

Pilar cysts are notorious for recurrence if the entire cyst wall is not removed during excision. When a surgeon shells out the intact sac, recurrence is uncommon. But if the cyst was inflamed and its wall had already fragmented, small remnants left behind can regenerate into a new cyst months or years later. This is frustrating but not dangerous, and a second excision is usually curative. Dermoid cysts, by contrast, rarely recur after complete removal because they are well encapsulated and tend to come out cleanly.6PubMed. Scalp dermoids: a review of their anatomy, diagnosis, and treatment

For painful tumors like eccrine spiradenoma, complete surgical excision is both the diagnostic and the definitive treatment. The removed tissue is examined under a microscope to confirm the diagnosis and check that the margins are clear. Recurrence after complete excision of these benign tumors is uncommon. In very rare cases, a longstanding eccrine spiradenoma can undergo malignant transformation, which is another reason why a painful scalp lump that has been present for years and suddenly changes in character, growing faster, becoming more painful, or ulcerating through the skin, deserves medical evaluation rather than continued observation.