Why Does My Scalp Hurt: Causes and When to See a Doctor

Scalp pain is surprisingly common, and it usually comes down to one of a handful of causes: inflammation around hair follicles, irritated nerves, a skin condition, or something as simple as your hairstyle. Your scalp is packed with pain-sensitive nerve endings, so even mild irritation can feel intense. Here’s how to figure out what’s going on and what to do about it.

Your Scalp Has More Nerve Endings Than You Think

The hair itself has no pain receptors, but the skin your hair is embedded in is rich with them. Each hair follicle is surrounded by a network of nerve fibers, and those follicles sit in skin that also contains blood vessels and immune cells. When something triggers inflammation in that area, your body releases signaling chemicals (one key player is called substance P) that activate nearby nerve endings and amplify the pain signal. This same chemical can trigger immune cells around hair follicles to release inflammatory compounds, creating a cycle where irritation feeds more irritation.

This is why scalp pain often feels disproportionate to whatever seems to be causing it. A mild sunburn on your arm might barely register, but a similar level of inflammation on your scalp can make it painful to brush your hair or rest your head on a pillow.

Tight Hairstyles and Physical Tension

If your scalp hurts after wearing a ponytail, braid, bun, or headband all day, the cause is mechanical. Pulling hair in one direction for hours tugs on the follicles and irritates the nerves around them. The pain usually fades once you let your hair down, but doing this repeatedly over months or years can lead to a condition called traction alopecia, where chronic tension actually damages follicles and causes hair loss along the hairline or at the part.

The fix is straightforward: alternate hairstyles, avoid pulling hair tightly in the same direction every day, and if your scalp feels sore by midday, that’s a sign the style is too tight.

Dandruff, Seborrheic Dermatitis, and Psoriasis

These three conditions exist on a spectrum of scalp inflammation, and all of them can cause soreness alongside flaking and itching.

Dandruff is the mildest form, caused by an overgrowth of a yeast that naturally lives on your skin. It responds well to over-the-counter shampoos containing zinc pyrithione (Head & Shoulders), selenium sulfide (Selsun Blue), or salicylic acid (T/Sal). Seborrheic dermatitis is essentially a more severe version of the same process, with redder, oilier, crustier patches and more intense itching or burning. It responds to the same shampoos, but stubborn cases often need an antifungal shampoo like ketoconazole (Nizoral A-D) or a mild hydrocortisone cream.

Scalp psoriasis looks different. The scales tend to be thicker and drier, and the patches often extend past the hairline onto the forehead or behind the ears. If you notice similar patches on your elbows, knees, or lower back, or tiny pits in your fingernails, psoriasis is the more likely culprit. Psoriasis typically needs a different treatment approach, so it’s worth getting a proper diagnosis.

Product Irritation and Contact Dermatitis

Sometimes the pain started after switching shampoos, conditioners, or styling products. Allergic contact dermatitis on the scalp causes burning, stinging, redness, and sometimes swelling. The most common triggers in hair products fall into a few categories: fragrances (which can contain dozens of individual allergens), preservatives like methylisothiazolinone, hair dye chemicals (especially p-phenylenediamine, or PPD), and formaldehyde-releasing compounds found in some smoothing treatments.

If your scalp pain appeared within days of trying a new product, stop using it and switch to a fragrance-free, dye-free alternative. The irritation usually clears within one to two weeks. If it doesn’t, or if you develop blistering or oozing, that points to a stronger allergic reaction that may need treatment.

Nerve-Related Scalp Pain

If your scalp pain feels like sharp, electric, or zapping sensations rather than a general ache, the problem may be a nerve called the greater occipital nerve. You have one on each side of your head, running from the upper neck through the muscles at the back of your skull and up into the scalp, sometimes reaching nearly to the forehead. These nerves don’t cover the face or the area near your ears, so the pain stays along the back and top of the head.

When one of these nerves gets irritated (from tight neck muscles, poor posture, or an injury), the condition is called occipital neuralgia. The pain is usually on one side and can radiate forward toward one eye. Some people develop extreme sensitivity where even light touch becomes unbearable, while others feel numbness in the affected area. The spot where the nerve enters the scalp, at the base of the skull, is often very tender to press on. This condition is treatable, but it does require a medical evaluation to confirm.

Folliculitis and Scalp Infections

If your scalp pain is concentrated around small red bumps or pus-filled spots that look like acne, you likely have folliculitis, an infection of the hair follicles. The most common cause is Staphylococcus aureus, a bacterium that naturally lives on skin. Mild cases resolve on their own with regular gentle washing.

A more aggressive form called folliculitis decalvans causes round or oval bald patches where bacteria trapped in inflamed follicles create pustules that ooze, crust over, and eventually scar. A distinctive sign is hair growing in tufts, where several strands emerge from a single follicle like bristles on a toothbrush. The scalp often feels tight and painful. This type doesn’t resolve on its own and needs medical treatment to prevent permanent hair loss.

Scarring Hair Loss Conditions

A less common but important cause of scalp pain is a group of conditions called cicatricial alopecias, where inflammation destroys hair follicles and replaces them with scar tissue. One of the most common types, central centrifugal cicatricial alopecia (CCCA), typically starts at the crown and spreads outward. Symptoms can include itching, pain, tenderness, burning, stinging, or a pins-and-needles sensation on the scalp, though some people feel no discomfort at all and only notice thinning hair.

What makes scarring conditions urgent is that the hair loss is permanent once it happens. Early treatment can stop the process, but lost follicles don’t grow back. If your scalp pain is accompanied by a slowly expanding area of thinning hair, particularly at the top of your head, that warrants a prompt evaluation.

Signs That Need Medical Attention

Most scalp pain resolves with simple changes: loosening a hairstyle, switching products, or using a medicated shampoo for a few weeks. But certain symptoms suggest something more serious is happening. Increasing redness, warmth, and swelling around a sore area, especially with pus or fever, point to an active infection. Red streaks spreading outward from a spot on your scalp are a sign that infection is moving into surrounding tissue and need same-day care.

Scalp pain combined with progressive hair loss, bald patches, or scarring also deserves a closer look sooner rather than later, since some of the conditions that cause these symptoms are only treatable in their early stages. And one-sided, electric-shock-type pain that keeps recurring is worth discussing with your doctor, since occipital neuralgia responds well to targeted treatment but rarely goes away on its own.