Here's a breakdown of the primary reasons for this muscle contraction:
* Cold: When the body senses a drop in temperature, the sympathetic nervous system triggers the arrector pili muscles to contract. This action pulls the hairs upright, theoretically trapping a layer of air close to the skin, which can act as insulation to help retain heat. However, in humans with relatively sparse hair, this effect is minimal compared to animals with thick fur.
* Fear or Excitement: Similar to the cold response, fear, excitement, or strong emotions can also activate the sympathetic nervous system. This "fight-or-flight" response can lead to the contraction of the arrector pili muscles, causing goosebumps. This is believed to be a vestigial reaction inherited from our animal ancestors, where raised hair makes them appear larger and more intimidating to predators or rivals.
* Emotional Reactions (Chills/Frisson): Some people experience goosebumps in response to certain stimuli, such as listening to moving music, experiencing awe, or feeling a sense of connection. This phenomenon, often called "chills" or "frisson," is thought to be linked to the release of dopamine in the brain, creating a pleasurable sensation.
* Other Conditions: In rare cases, certain medical conditions or medications can affect the nervous system and cause goosebumps.
In summary, hair stands on end primarily due to the contraction of the arrector pili muscles, triggered by cold, fear, excitement, or emotional responses, all orchestrated by the sympathetic nervous system.