System UI flickers briefly when switching between dark and light mode

Some users notice a short screen flicker when switching between dark mode and light mode. The screen may flash white or black for a split second before the interface settles. In most cases, the change still completes successfully, but the transition feels abrupt or visually unstable.

This behavior usually appears after a system update or when a device recently received new UI optimizations. While it may look concerning at first, it is usually related to how the system redraws interface elements during theme changes.

Recognize the Symptom

The flicker typically appears under specific conditions:

  • The screen flashes briefly while switching themes.
  • Status bar icons disappear and reappear during the change.
  • The navigation bar resets for a moment.
  • The home screen reloads after the theme switch.

The flicker normally lasts less than a second, but the effect becomes noticeable if it happens repeatedly.

Why This Happens

Changing between dark and light mode forces the system interface to redraw nearly every visible component. Status bars, navigation controls, launcher elements, and background surfaces all reload to match the new color scheme.

If the device processes these redraw events slightly out of order, the screen may briefly display an intermediate state. That momentary mismatch is what appears as flickering.

System UI services may also restart part of their rendering pipeline during the transition, especially after updates that modify visual behavior.

Step-by-Step Fixes

Restart the Device

Theme switching relies on the System UI service. If that service didn't restart cleanly after a system update, visual glitches can appear. Restarting the phone refreshes the interface framework and often removes the flicker.

Disable Automatic Theme Switching

Automatic schedules can sometimes trigger repeated UI refresh cycles.

Go to Settings → Display → Dark Mode and turn off scheduled switching. Test manual switching instead to see if the flicker disappears.

Clear System UI Cache (If Available)

Some Android versions allow clearing temporary interface cache through system apps.

Open Settings → Apps → Show System Apps → System UI → Storage → Clear Cache.

This removes temporary rendering data that might interfere with theme transitions.

Update System Components

Open the Play Store and check for updates related to system components such as Android System WebView or system UI packages. Visual bugs related to theme switching are often patched quietly through component updates.

If theme switching glitches appear alongside other navigation or interface issues, you may want to review a related case described in this system update navigation issue explanation, since some updates modify multiple interface behaviors at once.

Optional Alternative Solution

If the flicker persists but only appears during theme switching, the most practical workaround is simply leaving the device in a single theme mode rather than switching frequently.

Since the flicker occurs during the redraw process itself, avoiding frequent transitions prevents the condition from appearing in daily use.