Methods · 21 Nov 2026 · 3 min read
Finding the source of 50/60 Hz noise in rodent electrophysiology
A step-by-step checklist for tracing mains interference in EEG, LFP and spike recordings, from the ground screw to the equipment in the room.
A sharp, narrow peak at 50 Hz (in Europe and most of the world) or 60 Hz (in North America) is one of the most common problems in rodent electrophysiology. It is often accompanied by harmonics at multiples of that frequency (100 and 150 Hz, or 120 and 180 Hz). In the raw traces it looks like a regular sine wave riding on every channel.
The peak tells you that mains interference reaches your amplifier, but not where it enters. This guide works from the animal outwards, so you can change one thing at a time and see which change makes the difference.
Before you start: measure the problem
Record a short segment and look at its power spectrum, for example with Welch's method. Note the height of the line-frequency peak and which channels show it. Use the same segment length and spectral settings every time, so that the comparisons after each change are fair. Keep a short written log of what you changed and what happened; troubleshooting sessions are easy to lose track of.
1. Is it on every channel or only some?
This single observation narrows the search more than anything else.
- All channels, with similar amplitude: the problem is shared by the whole system. Suspect the ground or reference connection, the headstage and its cable, the Faraday cage, or equipment near the setup.
- One or a few channels: the problem is local to those electrodes. Suspect a broken wire, a poor solder joint, a loose connector pin or an electrode with much higher impedance than the others. An unbalanced electrode reduces the amplifier's ability to reject interference that is common to all inputs, so it picks up more line noise.
If you built the implant yourself, start with the connections. My guide to soldering wires and screws for electrophysiology covers how to prepare and inspect them.
2. Check the ground and reference path
- Before implantation: test continuity from each ground and reference screw to its connector pin with a multimeter.
- After implantation: if your acquisition system can measure electrode impedance, compare the ground, reference and recording channels. An open circuit or an outlier is a strong lead.
- Connector and cable: make sure the headstage is fully seated and the cable is undamaged, especially near the connectors where it bends most.
- One ground point: connect the amplifier ground, the Faraday cage and other grounded equipment to a single point. Several separate ground paths can form a ground loop, which picks up mains interference.
3. Remove equipment one piece at a time
With the spectrum updating live, switch off and unplug nearby devices one by one, and watch whether the peak changes:
- room lights and lamp dimmers, including LED drivers;
- heating pads and temperature controllers;
- motors, pumps, stimulators and other powered devices on the rig;
- camera power supplies, laptop chargers and phone chargers.
Unplugging is more informative than switching off, because some power supplies still draw current when the device is off. Also check that signal cables do not run alongside power cables. Behaviour rigs often add several cameras to the setup; when you record video with a tool such as MultiCam Recorder, test once with the cameras disconnected to rule them out.
4. Noise that comes and goes
In freely moving animals, interference that appears only during movement, or only in part of the arena, usually points to a loose connection, a damaged tether, a commutator or a nearby device. Note when and where it appears, and check those parts first.
5. Use a notch filter as the last step, not the first
Most acquisition systems and analysis packages offer a 50 or 60 Hz notch filter. It can reduce the peak, but it also removes genuine signal near that frequency, which overlaps with the gamma band, and it can distort sharp transients. Fix the source first. If you still apply a notch filter, apply it consistently across all animals and report it in your methods.
6. Confirm the fix in the data
Compare the power spectrum before and after each change, using the same settings. Once the peak is gone, record what fixed it in your lab notes so the next person does not have to start from scratch. Before analysis, also check your recording timestamps for gaps and duplicates.
Related guides
- Soldering wires and screws for electrophysiology
- Before analysing a recording, check its timestamps
- Recording behaviour with up to six cameras using MultiCam Recorder
Read about my pain and sleep research or discuss a recording setup.