How to switch between light and dark mode automatically on Windows 11

Do you want to switch between the light and dark color modes at scheduled times on Windows 11? If so, the Auto Dark Mode app is the must-have tool.

Windows 11 switch light to dark automatically
Windows 11 switch light to dark automatically / Image: Mauro Huculak
  • The Auto Dark Mode app allows you to use Windows 11 to automatically switch between light and dark modes.
  • This free and open-source tool allows you to schedule theme changes based on custom times or your local sunrise and sunset.
  • Additionally, it offers options to change the desktop wallpaper, accent color, and even the cursor color on schedule to match the color mode. 

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 is an open-source application that allows you to configure a schedule to switch between the light and dark modes automatically.

In addition, you can configure the tool also to change the desktop wallpaper, accent color, and even the cursor color on schedule to match the color mode. 

Furthermore, the application also includes conditions to prevent the switch while you are gaming, a certain process is running, or when the device is 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, I’ll teach you 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. (You can also use Auto Dark Mode on Windows 10.)

Change from 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 the Microsoft Store or GitHub. However, you can also install it with the Windows Package Manager tool built into the operating system.

Install Auto Dark Mode

To install Auto Dark Mode, 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 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.

Schedule automatic switch from light to dark mode on Windows 11

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 and click the top result to open the app.

  3. Click on Time.

  4. Turn on the “Enable automatic theme switching” toggle switch.

  5. (Option 1) Select the Set custom hours option.

    Auto Dark Mode Set custom hours

  6. Confirm the time when Windows 11 should switch to the light mode under the “Custom start time” section.

  7. Confirm the time when you should switch to dark mode under the “Custom start time” section.

  8. (Option 2) Select the “From sunset to sunrise” (location service or geographical coordinates) option to automatically switch between the two system color modes during sunset and sunrise.

    Change color mode from sunset to sunrise

  9. (Option 3) Select the “Follow Windows night light” option to allow the app to switch color modes depending on the schedule of the Night Light feature.

    Change from light to dark using Night Light schedule

  10. (Optional) Click on Switch Modes.

  11. Select the conditions when switching between color modes: 

    • Don’t switch while playing video games
    • Don’t switch while certain processes are running
    • Don’t switch themes unless the system is idle
    • Notify before automatically switching themes

    Auto Dark Mode conditions

  12. (Optional) Check the “Switch to dark mode when device is unplugged” option under the “Battery powered devices” section.

  13. (Optional) Click on Apps.

  14. Use the Apps option to decide whether compatible apps should follow the system color mode or stay in light or dark mode.

  15. Use the System option to decide whether Windows 11 should follow the system color mode or stay in light or dark mode.

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

    Auto Dark Mode for Windows 11 apps

  17. Click on Personalization.

  18. Click the Pick a wallpaper setting.

  19. Turn on the “Enable wallpaper switch” toggle switch.

  20. Select the “Light Theme” or “Dark Theme” and configure the wallpaper you want to use for each color mode.

    Auto Dark Mode change wallpaper on schedule

  21. Click the Pick an accent color setting.

  22. Turn on the “Enable Accent color switch” toggle switch.

    Auto Dark Mode change color accent on schedule

  23. Configure the accent color for each color mode.

After you complete the steps, Windows 11 will switch between light and dark mode and change the desktop background image and color accent, depending on your configuration.

In addition, the Auto Dark Mode app allows you to change the mouse cursor colors and run specific scripts on schedule.

Update June 22, 2025: This guide has been updated to ensure accuracy and reflect changes to the process.

About the author

Mauro Huculak is a Windows How-To Expert and founder of (est. 2010). With over 21 years as a technology writer and IT Specialist, Mauro specializes in Windows, software, and cross-platform systems such as Linux, Android, and macOS.

Certifications: Microsoft Certified Solutions Associate (MCSA), Cisco Certified Network Professional (CCNP), VMware Certified Professional (VCP), and CompTIA A+ and Network+.

Mauro is a recognized Microsoft MVP and has also been a long-time contributor to Windows Central.

You can follow him on YouTube, Threads, BlueSky, X (Twitter), LinkedIn and About.me. Email him at [email protected].