Electroconvulsive therapy (ECT), also called electroshock therapy or shock therapy, is used to treat a small percentage of severely depressed people. ECT uses a small amount of electricity to cause an epileptic seizure while the patient is under anesthesia. This may cause some memory loss (amnesia) or other side effects.