Medically refractory epilepsy accounts for more than 30% of the epilepsy population. Scalp EEG electrodes have limited ability to localize seizure onset from deep structures and implantation of subdural electrodes with long term monitoring provides additional information. Apart from clinical application, this patient population provides a unique opportunity for acquiring electrocorticography data in research paradigms. We present a method for rapid localization of electrodes using lateral and anterior-posterior X-rays. Skull landmarks and proportions are used for co-registration with the standardized Talairach coordinate system. This MATLAB-based "Location on Cortex" (LOC) package facilitates rapid visualization of clinical and experimental data in a user-friendly manner.