How to Schedule Dark Mode on Windows 11

Introduction: Bright by Day, Dark by Night, Automatically

There is a small daily annoyance that Windows 11 users know well. During the day, light mode feels fresh and easy to read. At night, that same bright white screen feels harsh, especially in a dim room. Windows 11 lets you switch between light and dark mode with a few clicks, but it does not offer a built-in schedule to do it automatically. You have to remember to switch, every single day, twice a day.

This guide shows you how to schedule dark mode on Windows 11 so the switch happens on its own. You will learn the most reliable free method, which uses Windows’ own Task Scheduler to change the theme at times you choose, such as dark mode in the evening and light mode in the morning. You will also learn about a popular free app that does the same job with a simpler interface, and how to choose between the two approaches. No paid software is required, and you do not need to be a technical expert.

Before we begin, one honest note: because Windows 11 has no built-in dark mode schedule, both methods in this guide are workarounds. The Task Scheduler method uses only tools already built into Windows, so it costs nothing and installs nothing. The app method is easier to set up and adjust, but it means installing a third-party program. Both work well, and this guide covers both so you can pick the one that suits you.

How Dark Mode Works in Windows 11

Windows 11 has two related theme settings: one for Windows itself, such as the Start menu, taskbar, and Settings app, and one for apps. You can find them in Settings, then Personalisation, then Colours. There you can choose Light, Dark, or Custom, which lets you set Windows and apps independently. For most people, setting both to the same mode gives the most consistent look.

Behind the scenes, these choices are stored as simple settings in the Windows registry. The Task Scheduler method in this guide works by changing those settings at scheduled times, which is exactly what happens when you flip the switch manually in Settings. Nothing is hacked or modified in a risky way. The scheduled tasks simply automate the same change you would make by hand.

It is also worth knowing that some apps have their own theme settings and do not follow the Windows setting. Web browsers, for example, often have their own appearance options. If an app stays bright after Windows switches to dark mode, check that app’s own settings. Most major apps offer a “follow system” option, which is the one you want for a consistent automatic experience.

Before You Start: Choose Your Schedule

Before touching any settings, decide when you want dark mode to start and end. A common choice is dark mode from evening until morning, for example 7pm to 7am, with light mode during the day. Another popular choice is to follow the sun: dark after sunset, light after sunrise. Because the Task Scheduler method uses fixed clock times, pick times that roughly match your routine. You can always adjust them later.

Also decide whether you want to change both Windows and apps, or just one. Changing both gives the full dark experience at night, which is what most people want. If you prefer your apps to stay light while only Windows goes dark, or vice versa, the method below can be adapted, and the relevant section explains how.

Finally, make sure you are signed in to Windows with an account that can create scheduled tasks. On a personal computer, your usual account normally can. On a work or school computer managed by an organisation, task creation may be restricted, in which case the app method or a request to your IT administrator may be needed.

Step 1: Open Task Scheduler

Press the Windows key on your keyboard and type “Task Scheduler”. Click the Task Scheduler app when it appears in the search results. Task Scheduler is a built-in Windows tool that runs programs or commands at times you choose. It has been part of Windows for many years, and it is safe to use for this purpose.

When Task Scheduler opens, you will see a library of existing tasks on the left and a list of actions on the right. Do not worry about the existing tasks; they are part of Windows and other programs, and you should leave them alone. You are going to add two new tasks of your own: one to switch to dark mode in the evening, and one to switch back to light mode in the morning.

On the right-hand side, click “Create Basic Task”. This opens a friendly wizard that walks you through the setup step by step. The wizard asks for a name, a trigger, and an action, which is all you need. If you have never used Task Scheduler before, the wizard makes the process much less intimidating than it sounds.

Step 2: Create the Evening Task for Dark Mode

In the wizard, give your first task a clear name, such as “Switch to Dark Mode Evening”. A clear name matters, because months from now you want to recognise what the task does without opening it. You can also add a description, such as “Switches Windows 11 to dark mode at 7pm”. Click Next.

Next, the wizard asks when the task should run. Choose “Daily”, then click Next. On the following screen, set the start time to your chosen evening time, for example 7:00pm. Leave the recurrence at every one day, so the task runs every evening. Click Next to continue.

Now the wizard asks what the task should do. Choose “Start a program”, then click Next. This is where you tell Windows how to switch themes. In the Program field, type “powershell” without quotes. In the “Add arguments” field, type the command that sets both Windows and app themes to dark. The command changes two registry values, one for the system theme and one for the app theme, setting each to dark. The full argument text is: -Command “Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 0; Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0”.

Do not be put off by the length of that command. You can copy it carefully into the field, and it only needs to be entered once. A value of 0 means dark mode, while a value of 1 means light mode, which is why the morning task below uses 1 instead. Click Next, review your task summary, and click Finish. Your evening task is now created and will run every day at your chosen time.

Step 3: Create the Morning Task for Light Mode

Repeat the same process for the morning task. In Task Scheduler, click “Create Basic Task” again. Name this task “Switch to Light Mode Morning”, with a description such as “Switches Windows 11 to light mode at 7am”. Choose “Daily” as the trigger, and set the start time to your chosen morning time, for example 7:00am, recurring every day.

For the action, again choose “Start a program”, enter “powershell” as the program, and enter the same command as before but with the values changed to 1 instead of 0. The full argument text is: -Command “Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 1; Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 1”. Click Next, review, and Finish.

You now have two tasks: one switching to dark at night, one switching to light in the morning. Together, they form your schedule. Windows will run them automatically every day, even if you forget about them entirely, which is exactly the point.

Step 4: Test Your Schedule Right Now

You do not have to wait until evening to find out whether it works. In Task Scheduler, find your evening task in the task list, right-click it, and choose “Run”. Within a second or two, Windows should switch to dark mode. If it does, the task works. Now right-click your morning task and choose “Run” to switch back to light mode and confirm that task works too.

If nothing happens when you run a task, double-check the argument text for typos. A single wrong character in the registry path or a missing quote can prevent the command from running. Open the task’s properties, go to the Actions tab, and compare the arguments carefully with the commands in Steps 2 and 3. Pay special attention to the backslashes in the registry path and the values 0 and 1.

Another common issue is that the task runs but the change is not visible until you open a new window. Try opening Settings or a new File Explorer window after running the task. If the new window appears in the correct theme, the task worked, and the older windows will update when refreshed or reopened.

Step 5 (Alternative): Use the Free Auto Dark Mode App

If the Task Scheduler method feels too technical, or if you want extra features like switching at sunrise and sunset, the free Auto Dark Mode app is an excellent alternative. It is an open-source program that adds exactly the feature Windows 11 is missing: automatic theme switching on a schedule or based on your location’s sunrise and sunset times.

To use it, download Auto Dark Mode from its official website or from the Microsoft Store, install it, and open it. In its settings, you will find options for a custom schedule, where you enter your dark and light times, or for location-based switching, where the app calculates sunrise and sunset for you. Choose the mode you prefer, and make sure the app is set to start with Windows so your schedule keeps working after a restart.

The app also offers extras the Task Scheduler method does not, such as switching your wallpaper along with the theme, or changing the theme of specific apps. If you only need basic scheduling, either method is fine. Choose the app if you value a simple interface and sunrise and sunset switching. Choose Task Scheduler if you prefer to install nothing extra and keep everything inside Windows itself.

Step 6: Fine-Tune and Live with Your Schedule

After a few days, notice whether your chosen times still feel right. If dark mode starts too early in summer when it is still bright outside, or too late in winter when it is already dark, adjust the task times. In Task Scheduler, double-click a task, go to the Triggers tab, and edit the start time. In Auto Dark Mode, change the times in the app’s settings. Small adjustments like this are normal, especially as daylight hours change through the year.

Also check your favourite apps. If an app does not follow the system theme, open that app’s settings and look for an appearance or theme option set to “System” or “Follow Windows”. Once set, the app will switch along with Windows. Browsers, chat apps, and office programs usually offer this option, and it makes the automatic schedule feel complete rather than half-finished.

Finally, remember that you can always switch manually. If you are working late and want light mode for a while, change the theme in Settings as usual. Your scheduled tasks will simply switch it back at the next scheduled time. The schedule is a helpful default, not a lock, and manual control always remains available.

Tips for a Comfortable Day and Night Setup

  • Pair your theme schedule with Night Light, found in Settings, then System, then Display, which warms screen colours in the evening and reduces eye strain further.
  • Choose matching wallpapers for light and dark modes if you use Auto Dark Mode, so your desktop looks intentional in both themes.
  • Keep your schedule consistent with your sleep routine. A screen that goes dark an hour before bed is a gentle reminder to wind down.
  • If you share your computer, tell other users about the schedule so they are not surprised when the theme changes on its own.
  • After major Windows updates, quickly check that your tasks still exist and run, since updates occasionally reset scheduled tasks.
  • Do not create duplicate tasks. If you switch from Task Scheduler to Auto Dark Mode, delete or disable the old tasks first to avoid conflicts.

Troubleshooting: When the Schedule Does Not Work

If the theme never changes automatically, first check that the tasks are enabled in Task Scheduler. A task that was accidentally disabled will never run. Open Task Scheduler, find your tasks, and confirm their status shows as Ready rather than Disabled. If a task is disabled, right-click it and choose Enable.

If the tasks are enabled but still do not run, check that your computer was actually on and awake at the scheduled time. A computer that is fully shut down or in deep sleep cannot run a task. If you often shut down overnight, set your evening task to a time when the computer is normally on, or set the task to wake the computer if your hardware supports it, an option found in the task’s Conditions tab.

If one direction works but the other does not, compare the two tasks carefully. The most common mistake is using the same value in both commands, so both tasks switch to the same theme. The evening command must use 0 for both values, and the morning command must use 1 for both values. Fixing one number usually solves it.

If you use Auto Dark Mode and it stops working after an update, check that it is still set to start with Windows, and that Windows has not blocked it as a background app. Reopening the app and re-saving your settings usually restores normal behaviour. If problems persist, the app’s own documentation and community pages are the best place for version-specific help.

Frequently Asked Questions

1. Does Windows 11 have a built-in dark mode schedule?

No. Windows 11 lets you choose light or dark mode, but it does not offer a built-in schedule. That is why this guide uses Task Scheduler or the free Auto Dark Mode app to automate the switch.

2. Is the Task Scheduler method safe?

Yes. It changes the same theme settings that the Settings app changes when you switch manually. It does not modify system files or install anything. If you ever want to stop it, simply delete or disable the two tasks.

3. Will the schedule work if my computer is off at the scheduled time?

No. A computer that is off cannot run a scheduled task. The task will run at its next scheduled time, or you can set it to run as soon as possible after a missed start, an option in the task’s Settings tab.

4. Can I schedule dark mode based on sunrise and sunset instead of fixed times?

Not with Task Scheduler alone, since it uses fixed clock times. The Auto Dark Mode app offers location-based switching at sunrise and sunset, which is the best option if you want your schedule to follow the seasons.

5. Why do some apps stay light when Windows switches to dark?

Those apps have their own theme settings and are not following the system theme. Open each app’s settings and set its appearance to “System” or “Follow Windows” so it switches along with the rest of the system.

6. Can I set different schedules for weekdays and weekends?

Yes, with Task Scheduler. Instead of a daily trigger, create triggers for specific days of the week, or create additional tasks with different times for weekends. Auto Dark Mode also supports custom schedules, though its options vary by version.

Final Thoughts: Set It Once, Forget It Forever

Scheduling dark mode is a small change that quietly improves every single day. Your screen greets you with a bright, fresh theme in the morning, and eases into a gentle dark theme in the evening, without you ever thinking about it. It is one of those automations that feels like magic precisely because you forget it exists.

Whether you choose the built-in Task Scheduler method or the simpler Auto Dark Mode app, the setup takes less than fifteen minutes and then runs itself for months. Pick your times, test both directions, and enjoy a Windows 11 that finally matches the rhythm of your day.

Facebook comments