Set your webcam’s power line frequency (the anti-flicker option) to match your local electricity: 60Hz in much of North America, 50Hz in much of Europe and many other regions. If the picture still shows rolling bands, the cause is usually a mismatch between your light’s pulsing and the camera’s exposure time, which you can fix with the steps below.
The 50Hz versus 60Hz choice is about electricity, not video frame rate, and that single mix-up causes a surprising amount of confusion. This guide explains why flicker happens, shows which exposure values avoid it, and gives a fix order, a worked example and a clear point at which to blame the hardware.
Why flicker appears on camera
Mains electricity alternates direction 50 or 60 times per second. A lamp running from it brightens and dims twice per cycle, so the light pulses at 100 times per second on 50Hz supplies and 120 times per second on 60Hz supplies. Your eyes average this out. A webcam does not, because each frame captures light only for the exposure time, and that window can land on bright or dim parts of the cycle.
If the exposure lasts exactly a whole number of light pulses, every frame collects the same amount of light and the picture is steady. If it does not, each frame, or each row of pixels on a rolling-shutter sensor, gathers a different amount. The result is brightness pulsing from frame to frame or dark bands that crawl up or down the picture. Cameras with an auto-exposure mode try to avoid this by choosing exposure times that fit the selected frequency, which is why the power line setting matters.
Key terms in plain language
| Term | Meaning | Why it matters |
|---|---|---|
| Mains frequency | 50Hz or 60Hz electricity in your region | Sets how fast lights pulse |
| Light pulse rate | Twice the mains frequency for most lamps | 100 or 120 pulses per second |
| Exposure time | How long each frame collects light | Should cover whole pulses |
| Rolling shutter | Rows of pixels exposed one after another | Turns uneven light into visible bands |
| Power line frequency / anti-flicker | A camera control with 50Hz, 60Hz or off options | Locks auto-exposure to safe values |
| Frame rate | Frames per second recorded | Limits the longest possible exposure |
Exposure values that avoid banding
| Mains | Light pulse period | Exposure values that fit whole pulses |
|---|---|---|
| 60Hz (120 pulses per second) | About 8.3 ms | 1/120 s, 1/60 s, 1/40 s, 1/30 s |
| 50Hz (100 pulses per second) | 10 ms | 1/100 s, 1/50 s, 1/33 s, 1/25 s |
Remember that the longest possible exposure is limited by the frame rate: at 30 frames per second each frame lasts about 33 ms, at 60 about 16.7 ms. A shutter time longer than the frame time is not available. That is one reason a higher frame rate can make flicker harder to avoid, as discussed in webcam 30fps versus 60fps for streaming.
Worked example with stated assumptions
Assume a streamer in a 60Hz country uses a webcam set to 50Hz because that option was selected by default. In auto exposure, the camera picks a 1/100 s shutter, which is 10 ms. The room light pulses every 8.33 ms, so 10 ms covers 1.2 pulses. Each frame therefore catches one full pulse plus a fifth of another, and the extra fifth lands on a different part of the cycle every frame. That leftover is what shows as gentle brightness pumping or faint bands.
Switch the setting to 60Hz and the camera favors 1/120 s (one pulse) or 1/60 s (two pulses). Both cover a whole number of pulses, so the leftover is zero and the bands vanish. The example uses round numbers and a simple lamp; real LEDs with their own drivers can behave differently, but the arithmetic explains why a one-step setting change can fix what looks like a hardware fault.
Fix order that saves time
- Open the camera’s settings in your streaming or recording program and find the power line frequency or anti-flicker option. It may be under the device properties or the driver’s own control panel.
- Set it to your local mains frequency, then watch the live preview for at least ten seconds.
- If bands remain, switch to manual exposure and choose one of the values from the table above, adjusting gain or room light instead of exposure to restore brightness.
- Turn off lamps one at a time to find the one causing the pulsing, since a single cheap bulb can ruin the shot.
- Replace the offending bulb with a flicker-free model, or run the light from a better driver or dimmer setting.
- Move any screen out of frame, or alter its brightness mode, if bars persist.
If you are comparing capture formats while troubleshooting, the compression effects described in MJPEG versus H.264 webcam output can look similar to mild flicker on a busy background, so rule flicker in or out first.
Compatibility and limitations
Not every webcam exposes the option. Some hide it inside a manufacturer’s utility, some provide it only through generic camera controls, and a few choose automatically with no user control. Cameras using the same driver class may show a drop-down with Disabled, 50Hz and 60Hz entries. Mirrorless and DSLR cameras used as webcams often have their own flicker reduction in the camera menu, which interacts with the capture path; the comparison of a dedicated webcam with a mirrorless camera explains why a camera’s own menu settings can differ from a webcam’s driver controls.
The setting also assumes room lights run from the local mains. Battery-powered lights, strong daylight and some studio lighting with high-frequency drivers can be nearly free of flicker regardless of the webcam setting. Some LED panels dim by switching rapidly, and at low brightness the pulse can interact with the exposure in unexpected ways, so raise the panel brightness and lower the camera’s gain instead where possible.
Real-world scenes and what they mean
| What you see | Likely cause | First thing to try |
|---|---|---|
| Slow brightness pumping of the whole frame | Exposure covers a fractional number of light pulses | Correct the power line setting |
| Dark horizontal bands drifting upward | Rolling shutter plus a pulsing lamp | Manual exposure at a fitting value, or change the bulb |
| Bands only when the desk lamp is on | One light has a poor driver | Switch that lamp off or swap the bulb |
| Thin bars on a monitor in the shot | Screen refresh or dimming against the shutter | Move or dim the screen, change its brightness mode |
| Flicker only at low light levels | Auto exposure lengthening and gain raising | Add steady light and lock exposure |
The pattern of the symptom is a better clue than the severity. Whole-frame pumping points at exposure and light frequency, drifting bands point at rolling-shutter interplay, and bars that stay locked to a screen point at the screen. Spending two minutes naming the pattern keeps you from changing settings at random.
Daylight is a useful reference. Place the camera facing a window in the daytime with the lamps off. If the picture is perfectly steady, the camera and cable are likely fine and the room lights are the cause. If it flickers even then, the problem lies with the camera setup, a driver or the connection.
Mistakes that keep the bands alive
- Choosing the setting by monitor refresh rate or stream frame rate instead of mains frequency.
- Leaving the camera on automatic exposure under a dimming LED and expecting the setting to compensate.
- Using the camera’s manual shutter at a value that does not fit your mains, such as 1/125 s in a 50Hz country.
- Blaming the webcam when one mixed bulb in the room is the real source.
- Judging the fix on a still frame instead of watching moving video for several seconds.
Resolution matters too, though usually less than lighting; see 4K versus 1080p webcams for Twitch streaming if you are also weighing a camera change.
When to stop and replace or contact support
Treat the camera as faulty when flicker is present in every light source, including daylight through a window, the same bands appear after moving the webcam to a second computer, and no power line option changes anything. At that point record a short sample clip, note the driver version and the lighting, and contact the seller. If the flicker clearly follows one bulb or one screen, replace or reposition that item rather than the webcam.
Frequently asked questions
Should I set my webcam to 50Hz or 60Hz?
Match the setting to your local mains electricity, not to your monitor or frame rate. Much of North America uses 60Hz, while Europe and many other regions use 50Hz. If you are unsure, try both and keep the one where the horizontal bands disappear from the preview.
Why does my webcam flicker only under some lights?
Different bulbs pulse differently. Older fluorescent tubes and many inexpensive LEDs vary in brightness at twice the mains frequency, while good drivers and daylight barely pulse at all. The camera shows what the light does, so a steady lamp can look perfect while a cheap one next to it causes bands.
Does a higher frame rate fix webcam flicker?
Not by itself. Flicker depends on the exposure time of each frame compared with the light’s pulse cycle. A higher frame rate can force shorter exposures, which sometimes makes bands worse. Setting the correct power line frequency or a manual exposure that fits whole light cycles is the dependable fix.
Can my monitor or phone screen in frame cause flickering?
Yes. Screens refresh or dim using their own timing, and a camera can catch the pattern as moving lines or dark bars. That pattern is separate from room-light flicker, and the fix is different: change the screen’s brightness mode or refresh setting, or move the screen out of the shot.
When is flicker a sign of a faulty webcam?
If the picture flickers in every light, including daylight, and the problem follows the camera to another computer and cable, a fault or a bad cable is likelier than a setting problem. Try another USB port, update the driver, then contact the seller with a short sample clip.
Related guides
- Capture Card vs Software Recording: Which One Your Setup Actually Needs
- Elgato Wave 3 vs Shure MV7: Which Streaming Mic Fits Your Room?
- Best Nintendo Switch 2 Dock: 8 Third-Party Options and the Safety Checks (2026)
- Best Capture Card for PS5 Pro and Xbox Series X: Capture Versus Passthrough, Explained (2026)