Summary
Brain surgery can be done while patient is awake. Headaches are felt by membranes around the brain, not the brain itself.
The brain is the body"s pain center but cannot feel pain itself. It contains no pain receptors.
Headaches actually come from membranes around the brain (meninges), blood vessels, or skull muscles. The brain itself is completely senseless.
That"s why brain surgery is sometimes performed while the patient is awake. Surgeons watch the patient speak or move to avoid damaging critical areas.
Source: Neurology Journal