Purpose StereoElectroEncephaloGraphy (SEEG) is done to identify the epileptogenic zone of the brain using several multi-lead electrodes whose positions in the brain are preoperatively defined. Intracranial hemorrhages due to disruption of blood vessels can cause major complications of this procedure (<1 %). In order to increase the intervention safety, we developed and tested planning tools to assist neurosurgeons in choosing the best trajectory configuration. Methods An automated planning method was developed that maximizes the distance of the electrode from the vessels and avoids the sulci as entry points. The angle of the guiding screws is optimized to reduce positioning error. The planner was quantitatively and qualitatively compared with manually computed trajectories on 26 electrodes planned for three patients undergoing SEEG by four neurosurgeons. Quantitative comparison was performed computing for each trajectory using (a) the Euclidean distance from the closest vessel and (b) the incidence angle. Results Quantitative evaluation shows that automatic planned trajectories are safer in terms of distance from the closest vessel with respect to manually planned trajectories. Qualitative evaluation performed by four neurosurgeons showed that the automatically computed trajectories would have been pre-E. De Momi (B) · C. Caborni · G. Ferrigno Department of Electronics, Information and Bioengineering (DEIB), Politecnico di Milano, Milan, Italy e-mail: elena.demomi@polimi.it