A vascular spasm is a sudden and brief contraction of the smooth muscle in the walls of a blood vessel. This contraction leads to a temporary reduction or cessation of blood flow through the affected vessel. Vascular spasm is an essential mechanism in the early stages of hemostasis, the process that stops bleeding after an injury.