This scientific commentary refers to ‘Virtual resection predicts surgical outcome for drug-resistant epilepsy’ by Kini et al. (doi:10.1093/brain/awz303).