The most frequent cause of a hemifacial spasm is usually the compression of an artery on the nerve that coordinates the movements of the face. The objective of the surgery is to prevent this vessel from contacting the nerve, and this is done by placing a spacer between the artery and the affected nerve.