The contribution of MR imaging in patients with drug-resistant epilepsy considered for surgical therapy is discussed. In this review we focus on: (a) focal abnormalities (mesial temporal sclerosis, focal migration disorders, hamartomatous lesions and low-grade tumours, phakomatosis and vascular malformations) associated with therapy-resistant partial epilepsy, requiring resective surgery; (b) abnormalities leading to generalized seizures that require more drastic surgical procedures, such as callosotomy and functional hemispherectomy; and (c) localisation of implanted depth-electrodes.