Vagus nerve stimulation is a procedure that involves implantation of a device that stimulates the vagus nerve with electrical impulses. Vagus nerve stimulation is most often used to treat epilepsy when other treatments haven’t worked.