SimNIBS 4 is a free and open source software package for the Simulation of Non-invasive Brain Stimulation. It allows for realistic calculations of the electric field induced by transcranial magnetic stimulation (TMS) and transcranial electric stimulation (TES).

A SimNIBS workflow consists of three main parts:

SimNIBS offers several advanced options such as Optimizations of TMS coil positions, or TES optimizations for single and multiple targets and brain network targeting.

SimNIBS is copyrighted © by its authors and licensed under GPL v3.


SimNIBS is a research tool. Clinical usage is not supported or advised. In particular, SimNIBS was not tested to give accurate results in the presence of pathological condition


  • Version 4.1.0 improves the mesh quality and adds the option to use FreeSurfer results for more accurate representation of smaller sulci in the head meshes

  • Version 4.0.0 is a major update that introduces our new head modeling approach charm. In contrast to the previous methods, charm does not have any external dependencies (matlab, freesurfer) and is ready-to-run directly after installation. Head models created by charm are more accurate for non-brain tissues and include additional tissue types such as large blood vessels and spongy bone.

  • Charm replaces the previous methods mri2mesh and headreco which are discontinued. Use the tool convert_3_to_4 to convert old head models for use in SimNIBS4 simulations.

  • Further major new features are the inclusion of many new TMS coil models and a flexible meshing approach to simplify manual editing and inclusion of custom tissue types in the head mesh. Basic I/O functions for neuronavigation data are now also available in python.

Please see details in the changelog.