Pain on the top of the head when pressed is common in the following cases: first, local trauma to the top of the head, trauma to the scalp can lead to local soft tissue damage, manifesting as local swelling, and pain when pressing on the scalp. If trauma leads to a local break in the skin mucosa, it will also lead to painful pressure around the break, and a local skull fracture caused by trauma will lead to painful pressure in the short term. Second, the top of the head local nociceptive allergy, the top of the head local nociceptive nerve is a branch of the occipital nerve travel, inflammation and injury of the occipital nerve can lead to headache on top of the head pressure, common causes are occipital neuritis, cervical spine osteophytes, cervical disc herniation, cervical spine tumors and other stimuli, or compression of the occipital nerve leading to local nociceptive allergy. Third, local inflammation of the skin on the top of the head, most commonly local folliculitis, can cause local redness, swelling and pain on pressure.