How to switch light and dark mode automatically on Windows 11

Here's how you can configure Windows 11 to switch between the light and dark color modes automatically.

Windows 11 switch light to dark automatically
Windows 11 switch light to dark automatically

Although Windows 11 comes with an option to switch between the light and dark modes, it’s a manual process that requires several steps. Auto Dark Mode X is an open-source application that allows you to configure a schedule to switch between the light and dark modes (and vise versa) automatically.

Furthermore, the application also includes exceptions to prevent the switch while you are gaming or running on battery. You can even specify whether apps, including Microsoft Office, should follow the color or stay in their current theme.

In this guide, you will learn the steps to use a third-party tool to add the ability to configure a schedule to switch between the light and dark modes automatically. (Auto Dark Mode X also works on Windows 10.)

Change light to dark mode automatically on Windows 11

Before you can switch between color modes automatically, you need to install the application, which is available through GitHub, but you can also install it with the Windows Package Manager tool built into Windows.

Install Auto Dark Mode X

To install Auto Dark Mode X, use these steps:

  1. Open Start.

  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.

  3. Type the following command to download and install the Auto Dark Mode X app and press Enter:

    winget install --id Armin2208.WindowsAutoNightMode

    winget install Auto Dark Mode X

Once you complete the steps, you can launch the application and configure the schedule to switch between the light and dark modes automatically.

You can also download the installer from the official GitHub page to install the application manually.

Schedule light to dark mode automatic switch

To switch between the light and dark color modes automatically on a schedule, use these steps:

  1. Open Start on Windows 11.

  2. Search for Auto Dark Mode X and click the top result to open the app.

  3. Click on Time.

  4. Select the Set custom hours option.

    Switch light to dark automatically

  5. Specify the time when Windows 11 should switch to the light mode.

  6. Specify the time when to switch to the dark mode.

  7. (Optional) Select the From sunset to sunrise option to automatically switch between the two system color modes during sunset and sunrise.

  8. Click on Switch Modes.

    Switch color mode conditions

  9. (Optional) Check the Don’t switch while playing video games option.

  10. (Optional) Check the Battery powered devices option.

  11. Click on Apps.

    Control apps color mode

  12. Use the Apps option to decide whether compatible apps should follow the system color mod or stay on the light or dark mode.

  13. Use the System option to decide whether Windows 11 should follow the system color mod or stay on the light or dark mode.

  14. Use the Microsoft Office option to decide whether Word, Excel, PowerPoint, and Outlook should follow the system color mod or stay on the light or dark mode.

After you complete the steps, Windows 11 will switch between light and dark mode (or vise versa) depending on your configuration.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 15 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 21 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].