Welcome to the FieldTrip website
FieldTrip is the MATLAB software toolbox for MEG, EEG and iEEG analysis, which is released free of charge as open source software under the GNU general public license. FieldTrip is developed by members and collaborators of the Donders Institute for Brain, Cognition and Behaviour at Radboud University, Nijmegen, the Netherlands.
Please cite the reference paper when you have used FieldTrip in your study.
Robert Oostenveld, Pascal Fries, Eric Maris, and Jan-Mathijs Schoffelen. FieldTrip: Open Source Software for Advanced Analysis of MEG, EEG, and Invasive Electrophysiological Data. Computational Intelligence and Neuroscience, 2011; 2011:156869.
To get started, head over to the getting started documentation and the tutorials.
Latest release
The latest code developments can be tracked in detail on GitHub.
28 September, 2025
FieldTrip version 20250928 has been released. It contains several small improvements with respect to the last posted release (20250811).
Some highlights are:
- User transparent revamping of the representation of balancing information for MEG gradiometer arrays, and more consistent handling throughout the code base.
- On-the-fly computation of SSP-projectors in ft_denoise_ssp, thanks to Chris.
- Some small improvements to the duneuro functionality.
- Some small improvements to the reading of BlackRock data, thanks to Arjen.
- A fix for the âbasedonmniâ method when creating source models, thanks to Tobias.
- An efficiency improvement for qsubfeval, avoiding the overhead of higher MATLAB versions to potentially write a large bunch of logfiles, thanks to Marcel.
- Some functional improvements (added optional functional flexibility) for the irasa method.
- Multiple small other changes to make the codebase more robust, consistent and maintainable.
See GitHub for the detailed list of updates.
Recent citations
These are recent citations on Pubmed, you can find a more complete list on Google Scholar.
Cortical evidence accumulation for visual perception occurs irrespective of reports
Stockart F, Msheik R, Robin A, JurkoviÄovĂĄ L, Goueytes D, Rouy M, MareÄek R, Hoffmann D, Mudrik L, Roman R, BrĂĄzdil M, Minotti L, Kahane P, Pereira M, Faivre N Nature Communications, 2025 Sep 26; 16:8458.
Large-scale neural network correlates of response inhibition associated with antidepressant response in major depressive disorder
Liu H, Xia Y, Wang X, Cai S, Hua L, Yao Z, Lu Q BMC Psychiatry, 2025 Sep 26; 25:866.
Involvement of Perimovement Neural BetaâOscillations in Strategic Aiming for Motor Adaptation
Will M, Korka B, Stenner M The European Journal of Neuroscience, 2025 Sep 26; 62(6):e70260.
Decoding of image properties from single-trial visual evoked potentials recorded by ultra-high-density EEG
Sieghartsleitner S, Schreiner L, GrĂźnwald J, Jordan M, Spataro R, Scharinger J, Guger C Scientific Reports, 2025 Sep 25; 15:32917.
Tempo-dependent selective enhancement of neural responses at the beat frequency can be mimicked by both an oscillator and an evoked model
Damsma A, de Roo M, Doelling K, Bazin PL, Bouwer FL Cerebral Cortex (New York, NY), 2025 Sep 25; 35(9):bhaf258.
News and announcements
You can also follow us on Mastodon and BlueSky.
25 June 2025
Robert and Mikkel returned from the African Brain Data Network EEG workshop in Nigeria. It was a nice and intense week with lectures, experimental design, practical experience recording with various EEG systems, and hands-on EEG data analysis sessions. The interaction with the participants was great, and we look forward to see the research that will result from this. All course material, including slides and video recordings of the lectures are shared on the workshop page.
28 May 2025
During the MEG/EEG toolkit last week we noticed that some participants had issues with their MathWorks accounts to download and install the latest MATLAB version. We have now heard that MathWorks has been affected by a ransomware attack. Although our (and hopefully your) local MATLAB installations continue working just fine, it inconvenient as we are busy with preparing for the EEG workshop in Nigeria. For that workshop we want to use MATLAB online, i.e., running it all in the cloud, which would be the first time doing it like this. Letâs hope that MathWorks does not suffer too much and that they can get their systems up and running again.
7 May 2025
Together with the developers of other MEG and EEG analysis software (a.o. MNE-Python, SPM, EEGLAB) we wrote the paper Cycling on the Freeway: The perilous state of open-source neuroscience software in which we argue that the existing ecosystem of neuroscientific open-source software is brittle, and discuss why and how the neuroscience community needs to come together to ensure a healthy software ecosystem to the benefit of all. Please have a look and think about how you can contribute to the long-term continuation of projects like FieldTrip.
25 March 2025
From May 19-23 2025 we will host our annual MEG/EEG Tool-kit course in Nijmegen. During this 5-day toolkit course we will teach you advanced MEG and EEG data analysis skills. Pre-processing, frequency analysis, source reconstruction, analysis methods such as RSA and TRFs, and various statistical methods will be covered. Furthermore, we will give special attention to new opportunities in experimental design and measurements with Optically Pumped Magnetometer (OPM) systems and mobile EEG.
Preregistration is now open, see here.
25 March 2025
We have added three example scripts to the website that demonstrate how to compute EEG forward solutions. They show the similarities and differences between an analytic concentric spheres solution, a BEM solution, and a FEM solution. Furthermore, they show how to deal with geometrical units (millimeter, centimeter, meter) to get correct SI units in the forward and inverse solution.
- Compute EEG leadfields using a concentric spheres headmodel
- Compute EEG leadfields using a BEM headmodel
- Compute EEG leadfields using a FEM headmodel
If you have feedback on these examples, please post an issue on GitHub.
Note that there are also more elaborate tutorials using BEM and FEM for source reconstruction of EEG data.
23 November 2024
The CuttingEEG X conference at the Donders in Nijmegen and online was a great success with lots of positive feedback and interest from our 336 online + 42 onsite participants. All talks and discussions were not only live-streamed, but also recorded and are available on the CuttingEEG YouTube channel.
6 September 2024
Robert is attending and will give a keynote at the 2024 Belt and Road International Conference on Advancing Population Brain Health through Brain-Apparatus Communication in Chengdu, China. Linked to this is the Annual Assembly of the Global Brain Consortium with an online program on Zoom featuring various symposia and a number of keynotes by Aina Puce, Bradley Voytek, Paolo Rossini, Steven Luck, Viktor Jirsa, and Mahnaz Arvaneh. You still might be able to sign up for the online event that takes place this weekend.