Doctors Note Logo

Published on: 8/20/2026

What conditions could cause a lump at the hairline on the back of the neck?

A lump at the hairline on the back of the neck can result from several conditions, most of which are benign but some that require medical attention.

Common causes include:

  • Ingrown hairs or folliculitis — inflamed hair follicles, often tender and red
  • Sebaceous or epidermoid cysts — soft, movable lumps beneath the skin
  • Lipomas — painless, fatty growths that grow slowly
  • Swollen lymph nodes — often linked to infection or immune response
  • Acne keloidalis nuchae — firm bumps common at the hairline
  • Rarely, tumors or skin cancers requiring prompt evaluation

When to seek care: Look out for rapid growth, persistent pain, fever, hardness, or a lump that doesn't go away within a few weeks.

Because these symptoms overlap across many conditions, self-diagnosis can be tricky—and delaying care for something serious isn't worth the risk. A free, instant online symptom check can help you understand possible causes based on your specific symptoms and guide you toward the right next steps, whether that's home care or seeing a doctor. It takes just a few minutes and could give you clarity today.

Reviewed for medical accuracy: 07/15/2026

answer background

Quick answers

Frequently Asked Questions

4 answers

The most common questions people search after this page

Concerned about your symptoms?

Explanation

Lymphadenopathy

  • Swollen Lymph Nodes: Lymph nodes in the neck can become enlarged due to infections (such as viral or bacterial infections), inflammatory conditions, or malignancies. A lump in this area may indicate that a lymph node is reacting to an infection or other health issue.

Cysts

  • Sebaceous Cysts: These are common, benign lumps that can occur when sebaceous glands become blocked. They are usually painless and can be found on the scalp or neck.
  • Epidermoid Cysts: Similar to sebaceous cysts, these are also benign and can form when skin cells multiply and form a sac under the skin.

Lipomas

  • Fatty Tumors: Lipomas are soft, benign tumors made of fat tissue. They are usually painless and can occur anywhere on the body, including the neck.

Infections

  • Skin Infections: Conditions such as folliculitis (inflammation of hair follicles) or abscesses can cause localized swelling and lumps in the scalp or neck area.
  • Shingles: If the lump is accompanied by pain and a rash, it could be related to shingles, which is caused by the reactivation of the varicella-zoster virus.

Trauma or Injury

  • Hematoma: A lump may form due to bleeding under the skin following an injury, leading to a localized collection of blood (hematoma).
  • Contusions: Bruising from trauma can also result in swelling and lumps in the area.

Tumors

  • Benign Tumors: Besides lipomas, other benign tumors can develop in the neck area, including neurofibromas (tumors of nerve tissue).
  • Malignant Tumors: Although less common, lumps can also indicate malignant conditions, such as lymphomas or metastatic cancer.

Other Conditions

  • Thyroid Issues: Although the thyroid gland is located in the front of the neck, conditions such as goiter can sometimes cause swelling that may be felt at the back of the neck.
  • Dermatological Conditions: Conditions like psoriasis or other skin disorders can lead to lumps or bumps in the scalp or neck area.

When to Seek Medical Attention

If you notice a lump at the hairline on the back of your neck, it is important to monitor it for changes. To help identify potential causes and determine whether you need immediate care, you can use a free symptom checker to get personalized insights. Seek medical attention if:

  • The lump persists for more than two weeks.
  • It grows in size or changes in shape.
  • You experience pain, redness, or warmth around the lump.
  • There are accompanying symptoms such as fever, night sweats, or unexplained weight loss.

(References)

  • Pynnonen MA, Gillespie MB, Roman B, Rosenfeld RM, Tunkel DE, Bontempo L, Brook I, Chick DA, Colandrea M, Finestone SA, Fowler JC, Griffith CC, Henson Z, Levine C, Mehta V, Salama A, Scharpf J, Shatzkes DR, Stern WB, Youngerman JS, Corrigan MD. Clinical Practice Guideline: Evaluation of the Neck Mass in Adults. Otolaryngol Head Neck Surg. 2017 Sep;157(2_suppl):S1-S30. doi: 10.1177/0194599817722550. PMID: 28891406.

  • Leung LK. Differential diagnosis of soft scalp lumps. BMJ Case Rep. 2011 Nov 15;2011:bcr0720114492. doi: 10.1136/bcr.07.2011.4492. PMID: 22674591; PMCID: PMC3229327.

  • Raposo AC, Correia A, Vaz J, Alves L, Morais P. Firm nodule in the scalp. Aust J Gen Pract. 2019 May;48(5):294-297. doi: 10.31128/AJGP-10-18-4721. PMID: 31129941.

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.