EEG artefacts: causes, prevention and removal
What are EEG artefacts? Recognise blinks, muscle, heart, sweat and 50 Hz line noise, prevent them while recording and remove them with filters, ICA and ASR.
Published
An EEG artefact is any signal that enters an EEG recording from a source outside the brain or from the measurement set-up itself. Scalp EEG is measured in microvolts, while a blink, a jaw muscle or the mains supply can be many times larger and can fall into the same frequency bands. An analysis that fails to recognise artefacts may report an eye movement as a frontal effect, muscle tension as a beta rhythm or a loose electrode as an interesting channel. This guide covers the types of artefact, how they look in a recording, how to prevent them while recording, and which methods remove them afterwards and at what cost, from the point of view of research methodology.
What is an EEG artefact, and why does it matter?
Artefacts are usually divided into two families. Physiological artefacts come from the participant’s body: the eyes, face and neck muscles, the heart, the sweat glands and movement. Technical artefacts come from the environment and the measurement chain: the mains supply, the contact between electrode and skin, the cables and the amplifier. In some cases a signal from the brain can also count as an artefact, depending on the research question; in a study of stimulus responses, for example, the alpha rhythm that rises when the participant closes their eyes.
Artefacts matter not only because they add noise; some imitate features of the EEG itself. Goncharova and colleagues (2003) showed that even a weak contraction of the forehead and temple muscles can produce EMG activity across the whole scalp that obscures or resembles the alpha, mu or beta rhythms. If an artefact is linked to an experimental condition, for instance if participants blink more in difficult trials, the result is not merely noisy but systematically biased. Managing artefacts is therefore not the last step of an analysis but part of the experimental design.
Physiological artefacts
Blinks and eye movements (EOG)
The eye behaves like an electrical dipole whose front (the cornea) is positive relative to its back (the retina). When the eye turns or the eyelid slides over the cornea, this field changes and is picked up most strongly by the frontal channels (Fp1, Fp2, F7, F8). A blink leaves a large deflection in the frontal channels, symmetrical on both sides and lasting a few hundred milliseconds. Horizontal eye movements (saccades) produce step-like deflections of opposite polarity at F7 and F8, while vertical movements are prominent over the frontal midline. Gratton and colleagues (1983) showed that the factor by which the ocular signal propagates into EEG channels decreases from frontal to parietal channels and is larger for saccades than for blinks.
Muscle activity (EMG)
Clenching the jaw, frowning, swallowing, talking and neck tension all produce muscle activity. EMG is an irregular, fast-oscillating signal that extends to much higher frequencies than EEG. In the measurements of Goncharova and colleagues, EMG spanned a broad band from 0 Hz to above 200 Hz, with amplitude greatest around 20–30 Hz over frontal sites and 40–80 Hz over temporal sites. Muscle artefact is strongest in the edge channels near the muscle, but even a weak contraction could be measured near the vertex at frequencies above 12 Hz. This overlap makes muscle artefact hard to separate by filtering alone: brain activity in the beta and gamma bands lies at the same frequencies. The tongue also behaves like a small electrical dipole, so talking and swallowing can add slow deflections as well.
Cardiac activity (ECG) and pulse
The heart’s electrical field can appear as sharp, regular spikes synchronised with the heartbeat, particularly in earlobe, mastoid and temporal channels. When an electrode sits over an artery in the scalp, a pulse artefact arises instead: the pulsing vessel moves the electrode slightly, and slow waves recur shortly after each heartbeat. Both artefacts repeat at the heart rate, so they are easy to recognise when a separate ECG channel is recorded.
Sweat and skin potentials
In a warm room or a long session, sweat gland activity changes the electrochemical balance between electrode and skin. The result is very slow, broad baseline fluctuations lasting several seconds; they can look similar across neighbouring electrodes, and salty sweat can even form a bridge between two electrodes. Sweat artefact is usually concentrated at very slow frequencies below 1 Hz and falls in the same range as slow ERP components.
Head and body movement
Turning the head, talking, walking or leaning the cap against something shifts the electrodes on the skin and sways the cables. The recording shows large, irregular, mostly low-frequency deflections in many channels at once. In mobile paradigms such as walking, sport or virtual reality this artefact cannot be avoided entirely; an accelerometer on the cap records when movement happens and makes the artefact easier to recognise.
Technical artefacts
- Line noise (50 Hz)
- The mains frequency in Türkiye and Europe is 50 Hz (60 Hz in most of the Americas). Power cables, adapters, lighting and nearby devices add sinusoidal noise at this frequency, sometimes also at its harmonics at 100 and 150 Hz. High impedance, or impedance that differs between electrodes, increases the noise because it weakens the amplifier’s common-mode rejection. It appears in the spectrum as a narrow, sharp peak at 50 Hz.
- Electrode pop
- When the gel dries or the electrode contact changes suddenly, a single channel shows an abrupt, steep jump followed by a slow return. That it affects only one channel is the strongest sign that it does not come from the brain: a field from the brain also spreads to neighbouring electrodes.
- High impedance and poor contact
- When contact between electrode and skin is poor, the channel becomes noisier, picks up more line noise and shows slow drifts. Active electrodes amplify the signal close to the skin, which reduces their sensitivity to interference picked up along the cable; good contact is still needed with every electrode type.
- Cable movement
- With passive electrodes, swaying or rubbing electrode cables produce low-frequency deflections. Fixing the cables to the cap and the body, carrying the amplifier close to the head, or using wireless systems reduces the risk.
- Bridging
- When excess gel or sweat connects two neighbouring electrodes, the two channels are electrically short-circuited and record almost the same signal. The difference between the two channels approaches zero and their correlation is unusually high. It is more common in densely spaced, high-density caps.
- Amplifier saturation
- When the signal exceeds the amplifier’s input range, the recording is cut off as a flat line at a limit value (clipping). Large electrode drifts, strong movement or electrical stimulation are among the causes. The information in a clipped segment cannot be recovered; such segments are excluded from the analysis.
- Other environmental noise
- Lifts, mobile phones, monitors and motorised devices can add electromagnetic noise, and vibrations such as a door slamming can add brief jumps.
Artefacts at a glance: cause, appearance, prevention and removal
The table below summarises the most common artefacts. The removal column lists the usual options; which one fits depends on the research question and on how much data there is.
| Artefact | Cause | How it looks in the recording | Prevention | Removal |
|---|---|---|---|---|
| Blink | The eyelid sliding over the cornea | Large, symmetrical frontal deflection lasting a few hundred ms | Fixation point, blink breaks between trials | ICA, EOG regression, epoch rejection |
| Eye movement (saccade) | The corneoretinal dipole changing direction as the eye turns | Step-like deflections of opposite polarity at F7 and F8 | Keeping stimuli small and in the centre of the screen | ICA, EOG regression |
| Muscle (EMG) | Jaw, forehead, temple and neck muscles; swallowing, talking | High-frequency, irregular activity in edge channels | Comfortable seating, relaxed jaw, head support | Low-pass filter (limited), ICA, ASR, epoch rejection |
| Heart (ECG) and pulse | The heart’s electrical field; an electrode over an artery | Sharp spikes or slow waves repeating at the heart rate | Recording an ECG channel, moving the electrode slightly off the artery | ICA (helped by the ECG channel) |
| Sweat and skin potential | Sweat glands upsetting the electrode–skin balance | Very slow, broad baseline fluctuations | Cool room, reasonable session length, good skin preparation | High-pass filter, epoch rejection |
| Head and body movement | Electrodes shifting, cables swaying | Large, irregular deflections in many channels | Well-fitted cap, fixed cables, clear instructions | Epoch rejection, ASR |
| Line noise (50 Hz) | Mains wiring and nearby devices | Narrow peak at 50 Hz in the spectrum, a thickened trace | Low, balanced impedance; switching off unneeded devices | Notch filter or estimating and removing the line component |
| Electrode pop | Gel drying, momentary loss of contact | Sudden jump and slow return in one channel | Enough gel, contact check | Channel interpolation or rejecting the segment |
| High impedance | Insufficient skin preparation or contact | Noisy, drifting channel picking up a lot of 50 Hz | Skin preparation, impedance check before recording | Channel interpolation |
| Cable movement | Passive electrode cables swaying | Low-frequency deflections in time with movement | Fixing cables, active electrodes or a wireless system | Epoch rejection, ASR |
| Bridging | Gel or sweat between neighbouring electrodes | Almost identical signal in two channels, difference near zero | Using gel sparingly | Flagging and interpolating bridged channels |
| Amplifier saturation | Signal exceeding the input range | Flat, cut-off segments at a limit value | Stable contact, fixing large drifts before recording | Rejecting the segment (the information cannot be recovered) |
Prevention during recording
No cleaning method can bring back a signal that was never recorded; the most effective steps in managing artefacts are taken before and during the recording. A laboratory protocol should cover the following points:
- Skin preparation and impedance
- Prepare the skin as the electrode type requires and bring impedance down to the level the manufacturer recommends before recording; write the values into the participant record.
- Cap fit
- Use a cap of the right size, placed in the right position, that does not slip; fix the cables to the cap and the body.
- Extra channels
- Record vertical and horizontal EOG (VEOG, HEOG) for eye movements, and ECG and neck EMG where needed; in mobile paradigms, record accelerometer data too. These channels make it easier to recognise artefacts later and to remove them with regression or ICA.
- Instructions and experimental design
- Ask participants to keep their jaw relaxed, to look at the fixation point on the screen and to save their blinks for short breaks between trials. Trial timing should be planned to allow for these breaks.
- Calibration recording
- Before the experiment, record a short segment in which the participant blinks on purpose, moves their eyes left and right and up and down, and clenches their jaw. This segment shows how artefacts look in that participant and gives the correction methods examples to work from.
- Environment
- Switch off unneeded electrical devices, keep power cables away from electrode cables and keep the room cool enough to prevent sweating.
- Monitoring and notes
- Watch the raw signal throughout the recording; note events such as coughing, talking or adjusting the cap, with their time, in the session log or as event markers in the recording.
- Hardware suited to the paradigm
- In mobile paradigms, active electrodes and wireless systems reduce cable-related artefacts; the choice should follow the movement the paradigm requires.
Cleaning after recording: methods and trade-offs
After recording, artefacts are handled in one of two ways: the affected segment or channel is removed (rejection), or the artefact’s contribution is estimated and subtracted from the signal (correction). The review by Urigüen and Garcia-Zapirain (2015) notes that the best method depends on the type of artefact, the EEG signal and the ratio between signal and artefact, and recommends combining more than one method in successive stages.
Filtering and notch filters
A high-pass filter reduces slow drift and sweat fluctuations, a low-pass filter reduces part of the high-frequency muscle activity, and a 50 Hz notch filter reduces line noise. Filters are the cheapest and most predictable tool, but they only work for artefacts whose frequencies differ from the EEG. Blinks overlap the delta band and muscle activity the beta and gamma bands; these artefacts cannot be separated by filtering without harming brain activity. The high-pass cut-off also needs care: in ERP studies a high cut-off can distort slow components, so low values such as 0.1 Hz are usually preferred. Instead of a notch filter, methods that estimate the line component as a sinusoid and subtract it are also used; they aim to leave brain activity around 50 Hz less affected.
Interpolating bad channels
A channel that stays noisy, flat or disconnected throughout a recording is flagged by criteria such as amplitude deviation, correlation with neighbouring channels and the share of line noise. It can then be recomputed from its neighbours with spherical splines. The trade-off: an interpolated channel carries no new information, being only a weighted combination of its neighbours, so the number of independent dimensions in the data (its rank) falls, and if many channels in one region are bad, the repair is not reliable. Bad channels should be repaired before switching to an average reference; otherwise their noise spreads to every channel through the reference.
Epoch rejection
In data cut into trials, epochs that exceed an amplitude threshold (for example ±100 µV) or a peak-to-peak value are excluded from the analysis. The method is simple and transparent, but it loses data: if many epochs are rejected, statistical power drops, conditions can end up with different numbers of trials, and if an artefact is more frequent in one condition the result can be biased. The number of rejected epochs should be reported for every participant and condition.
Independent component analysis (ICA)
ICA separates a multichannel recording into statistically independent components. Blinks, eye movements, heartbeats and some muscle sources emerge as separate components; the researcher recognises them by their scalp maps, time courses and spectra, removes them and reconstructs the recording from the remaining components. Data are thus kept without deleting the affected segments. The MNE-Python documentation recommends fitting ICA on a copy high-pass filtered at 1 Hz; because filtering is a linear operation, the solution found can be applied to data that is unfiltered or filtered with a lower cut-off. The ICLabel plugin, which comes with EEGLAB, automatically estimates whether each component is brain, eye, muscle, line noise and so on.
ICA has its costs too. A good decomposition needs enough data that is reasonably clean; very noisy segments should be removed first. An average reference or channel interpolation lowers the rank of the data, and the EEGLAB documentation states that the number of components should then be reduced accordingly. A component can carry brain and artefact activity together, and removing it takes part of the brain signal with it, so component selection should be a reported decision based on criteria set in advance. Urigüen and Garcia-Zapirain consider ICA-based correction the safest approach when nothing is known in advance about the recording or the artefacts.
Artefact subspace reconstruction (ASR)
ASR learns the normal statistics of the data from a clean part of the recording; it then finds components that deviate strongly from those statistics in short, sliding windows and reconstructs that segment according to the structure of the clean data. It is automatic, can run in real time and is effective against large, transient artefacts such as movement and bursts of muscle activity; it is used through EEGLAB’s clean_rawdata plugin. Chang and colleagues (2020) reported, in 20 EEG recordings made during simulated driving, that ASR reduced eye and muscle components more than brain components, improved the quality of a subsequent ICA decomposition, and that a cut-off parameter between 20 and 30 balanced removing artefact against keeping brain activity. The trade-off: a cut-off that is too low also removes brain activity, and the method needs a clean calibration segment to start from.
Regression with EOG channels
When separate EOG channels are recorded, how much of the ocular signal spreads into each EEG channel is estimated as a propagation factor, and that contribution is subtracted. The method of Gratton, Coles and Donchin (1983) computes separate factors for blinks and saccades and keeps every trial instead of discarding those with artefacts. The trade-off: the EOG channel also records nearby brain activity, so regression removes part of the brain signal from the frontal region along with the ocular signal. The method cannot be applied to artefacts other than those from the eyes.
The strengths and weaknesses of the methods can be summarised as follows:
| Method | Best suited to | Advantage | Cost |
|---|---|---|---|
| Filtering and notch | Drift, sweat, line noise | Fast, predictable, no data lost | Useless for artefacts that overlap the EEG in frequency; a high cut-off can distort ERPs |
| Channel interpolation | Individual bad or disconnected channels | Keeps the channel layout | Adds no new information, lowers the rank |
| Epoch rejection | Rare, large artefacts | Simple and transparent | Data loss, imbalance between conditions |
| ICA | Eye, heart and some muscle sources | Correction without deleting data | Needs enough data; component selection takes judgement |
| ASR | Movement and muscle bursts | Automatic, can run in real time | A low cut-off also removes brain activity; needs clean calibration data |
| EOG regression | Blinks and saccades | Keeps every trial | Also removes the brain signal in the EOG channel; needs extra channels |
An example preprocessing order
The order of the methods affects the result. The sequence below is a common one and matches the path taken by the analysis lab under this article; it should be adapted to the question of the study.
- Inspect the raw recording and its spectrum; compare them with the notes in the session log.
- Flag bad channels using criteria set in advance.
- Filter: a high-pass filter for slow drift, a notch filter or a line-removal method for line noise, and a low-pass filter if needed.
- Interpolate the bad channels, then change the reference (for example to the average reference).
- Fit ICA on a copy high-pass filtered at 1 Hz; identify the eye, heart and clear muscle components and remove them from the main data.
- Cut the data into epochs, apply baseline correction and reject the remaining epochs with large artefacts by threshold.
- Report, for every participant, the number of rejected channels, components and epochs, together with the parameters used.
There are reasons for this order: if the average reference is applied before a bad channel is repaired, its noise spreads to every channel; if ICA is fitted with unfiltered slow drifts, the decomposition suffers; and leaving epoch rejection to the end means trials that could have been corrected are not thrown away needlessly. A final visual check of the cleaned data is still needed. In clinical EEG, telling artefacts apart and interpreting the recording depend on a physician’s assessment; this guide is written for preprocessing research recordings.
Active electrodes, wireless EEG systems and analysis software with offline artefact-processing tools are in the catalogue. For a recording set-up suited to your paradigm, you can reach us through the quote form.
Explore the animation
The analysis lab below runs a real preprocessing pipeline, step by step, on a synthetically generated EEG recording. The recording contains eye blinks in the frontal channels, slow electrode drift, 50 Hz line noise at T7 and a loose electrode at P8. Follow the channel quality check, filtering, interpolation of the bad channel, removal of the eye component with ICA and epoch rejection; change the noise level to see what the same pipeline does with dirtier data.
From raw recording to result, every step computed.
Choose a signal and the analysis runs from start to finish on a synthetic recording built with the noise and artefacts real recordings carry. Every curve, map and number on screen is computed from that data at that step: how much the filter reduced the noise, how much of the blink ICA removed, how the ERP emerges as trials accumulate.
Raw recording
Nineteen electrodes placed by the 10-20 system and a separate VEOG channel for eye movements. Beside brain activity, the raw signal carries slow electrode drift, blinks on the frontal channels, mains noise on T7 and a loose electrode at P8; the analysis's first task is to separate them from the brain.
X ∈ ℝ^(channels × samples) · fs = 250 HzGenerating the recording and computing the analysis…
Synthetic recording · every value computed from it
Analysis steps · EEG
- 01
Raw recording
Nineteen electrodes placed by the 10-20 system and a separate VEOG channel for eye movements. Beside brain activity, the raw signal carries slow electrode drift, blinks on the frontal channels, mains noise on T7 and a loose electrode at P8; the analysis's first task is to separate them from the brain.
- 02
Align the events
Each tone sits in the recording as an event marker at sample precision: the frequent standard tone (S) and the rare target (T). The analysis cuts the brain's response by these markers, so their timing is critical; in a real project the delay between the stimulus computer and the amplifier is measured separately.
- 03
Measure channel quality
Each channel is tested three ways: does its amplitude deviate from the others (robust z), can it be predicted from the neighbouring electrodes (correlation), and how much 50 Hz mains noise does it carry. The deviation threshold (z > 5) comes from the PREP pipeline; the prediction uses spherical splines, as RANSAC does. Red bars cross a threshold.
- 04
Inspect the raw spectrum
Welch's method gives each channel's power spectrum. It shows brain activity falling off as 1/f, an alpha peak near 10 Hz, electrode drift at the lowest frequencies and a narrow mains peak at 50 Hz. Which filters are needed is read from this picture.
- 05
Filter
A 0.1 Hz high-pass reduces the slow drift, a 50 Hz notch the mains noise and a 40 Hz low-pass the high-frequency noise. The filters run forward and backward, so no waveform shifts in time. For ERPs the high-pass stays at 0.1 Hz to keep the slow P3 wave intact.
- 06
Repair the bad channel, re-reference
The channel flagged by quality control is recomputed from the other 18 electrodes with a spherical spline. Then the mean of all channels is subtracted at every time point (common average reference). Re-referencing before the repair would have spread the bad channel's noise to every channel, which is why the order matters.
- 07
Separate independent components
ICA splits the channels into statistically independent sources. As recommended, ten components are fitted on a copy high-passed at 1 Hz. Each component's scalp map and its correlation with VEOG stand side by side: the component concentrated at the front that follows VEOG almost exactly is the blink.
- 08
Remove the eye component
Only the eye component's contribution to the channels is subtracted and the recording rebuilt; the rest of the brain activity stays where it was. The plot on the right shows the Fp1 average locked to every blink, before and after: the amplitude left over measures how well the cleaning worked.
- 09
Epoch and baseline-correct
A window from 200 ms before to 800 ms after each stimulus is cut out and the pre-stimulus mean subtracted. Epochs exceeding ±100 µV are rejected. In the ERP image each row is one trial: on target trials the positive wave between 300 and 500 ms shows even in single trials.
- 10
Average: the ERP
Epochs are averaged by condition; as trials add up, random activity cancels out and the response locked to the stimulus emerges. The animation shows that build-up trial by trial. The shaded band is the 95% confidence interval of the mean. The P3 to targets is measured at Pz, the N1 to every tone at Fz.
- 11
Distribution over the scalp
The target ERP is drawn on every channel at once, and a scalp map is computed for every 25 ms. At the P3 peak the activity gathers over the parietal region around Pz, the known distribution of the P3b component.
- 12
Spectral power
The spectrum of the cleaned recording is recomputed with 4-second segments. Alpha-band power (8-12 Hz) is clearly higher over the occipital channels than at the front; the individual alpha frequency is read from the peak at O1. The map shows how alpha power is distributed over the scalp.
- 13
Statistical comparison
Each trial's mean amplitude at Pz between 300 and 500 ms is computed and target trials are compared with standard ones. Dots are single trials, lines the mean and its 95% confidence interval. This is one participant's trial-level comparison; for a study's result the same measure is tested across participants.
The recordings are synthetic: generated with the known properties of real signals (spectrum, artefacts, response shapes) and the same on every visit. The methods are computed the way their counterparts in common tools (MNE-Python, EEGLAB, NeuroKit2, the HRV Task Force standards, Homer3) compute them. The results belong to a single synthetic participant; they are not a study's finding, a clinical assessment or a device's performance.
Frequently asked questions
What is an EEG artefact?
An EEG artefact is a signal that enters the recording from a source outside the brain or from the measurement set-up. Physiological artefacts come from the eyes, muscles, heart, sweat and movement; technical artefacts come from the mains supply, electrode contact, cables and the amplifier. Artefacts are often larger than the EEG and can fall into the same frequency bands.
How do you remove eye blink artefacts from EEG?
A blink leaves a large, symmetrical deflection, mostly in the frontal channels. The most common method is to find and remove the eye component with ICA; if separate EOG channels were recorded, regression can also be used. If blinks are few, the affected epochs can be rejected, and during recording participants are asked to save their blinks for breaks between trials.
Can muscle artefacts be removed with a filter?
Only partly. Muscle activity spans a broad band from 0 Hz to above 200 Hz and overlaps brain activity in the beta and gamma bands, so a low-pass filter also removes brain signal in those bands. A relaxed jaw and comfortable seating during recording, and ICA, ASR and epoch rejection during analysis, are used together.
What causes 50 Hz noise in EEG, and how is it removed?
Because the mains frequency in Türkiye and Europe is 50 Hz, wiring and nearby devices add sinusoidal noise at this frequency, and high or unbalanced impedance increases it. During recording, impedance is kept low and balanced and unneeded devices are switched off. After recording, a 50 Hz notch filter or a method that estimates and subtracts the line component is used.
How does artefact removal with ICA work?
ICA separates multichannel EEG into independent components, in which eye, heart and some muscle sources emerge separately. Components are recognised by their scalp maps, time courses and spectra; artefact components are removed and the recording is reconstructed from the rest. The MNE-Python documentation recommends fitting ICA on a copy high-pass filtered at 1 Hz.
Should epochs with artefacts be rejected or corrected?
Both have a cost. Rejection is simple and transparent but loses data and can unbalance conditions; correction with ICA, regression or ASR keeps trials but can also affect part of the brain signal. Common practice is to correct the artefacts that can be corrected, reject the remaining epochs with large artefacts and report both decisions.
References and further reading
- Urigüen and Garcia-Zapirain (2015) · EEG artifact removal—state-of-the-art and guidelines · J Neural Eng
- Goncharova et al. (2003) · EMG contamination of EEG: spectral and topographical characteristics · Clin Neurophysiol
- Gratton, Coles and Donchin (1983) · A new method for off-line removal of ocular artifact · Electroencephalogr Clin Neurophysiol
- Chang et al. (2020) · Evaluation of Artifact Subspace Reconstruction for automatic artifact components removal in multi-channel EEG recordings · IEEE Trans Biomed Eng
- MNE-Python · Repairing artifacts with ICA
- EEGLAB · Independent Component Analysis for artifact removal





