Can anxiety cause this?

For about 3 months i have been suffering from head spasms and prickly scalp(from time to time). Has anyone experienced this? if so, did the head spasms ever stopped? Also, were they painful spasms?

when you say head spasms, does it feel like on the scalp or inside head? can u explain more how it feels?

on the scalp. it usually last for a few seconds. but its constant. Its a everyday thing.