Do you keep receiving a “Time synchronization failed” error while syncing the clock with a time server in Windows 11 or 10? There are several reasons why that happens.

It could be a problem with the Windows Time service, an overloaded time server, or an issue with your internet connection. This troubleshooting guide will teach you multiple ways to fix that on a Windows computer.

Table of Contents

    Restart the Windows Time Service

    Windows Time is the background service that manages time synchronization in Windows operating systems. It’s susceptible to unexpected glitches, so restart it via the Services console and check if that helps.

    1. Press the Windows + R keys to open Run.
    2. Type “services.msc” into the Open field and select OK.
    1. Right-click the Windows Time service and select Restart. If the context menu item appears grayed out, choose Start.
    1. Exit Services.

    Modify the Windows Time Service Properties

    If the “Time synchronization failed” error in Windows persists, make the following adjustments to the Windows Time service properties. To do that:

    1. Relaunch the Services console and double-click Windows Time.
    1. Set Startup type to Automatic. Set Service status to Running.
    1. Switch to the Log On tab.
    2. Select Local System account and the Allow service to interact with desktop option under it.
    1. Select Apply > OK and exit Services.

    Toggle Automatic Time-Keeping On/Off

    Disabling and re-enabling the automatic time-keeping functionality in Windows fixes time-syncing errors a lot of the time. To do that:

    1. Right-click the Clock on the right end of the taskbar and select Adjust date and time.
    1. Disable the toggles next to Set time automatically and Set time zone automatically.
    1. Scroll down to the Additional settings section and select Sync now.
    1. Re-activate the Set time automatically and Set time zone automatically options.

    Restart Your Computer

    Core Windows functionalities malfunction if you don’t restart your computer often. If the “Time synchronization error” persists, open the Start menu and select Power > Restart. If you see an Update and restart option, choose that instead.

    Troubleshoot Your Network Connection

    If you see an extended error message reading something like “Time synchronization failed. Please check network connectivity and retry,” it’s likely something to do with your internet.

    Here are several things you can try to fix the problem:

    Pick a Different Time Server

    By default, Windows 10 and 11 syncs with Microsoft’s time server at time.windows.com. Switching to the alternative time.nist.gov server could resolve the “Time synchronization failed” error. You must use the Control Panel‘s Date and Time applet for that.

    1. Type timedate.cpl into a Run box and press Enter.
    2. Switch to the Internet Time tab.
    3. Select Change settings.
    1. Select Server and choose time.nist.gov. Enable Synchronize with an internet time server if the drop-down menu appears grayed out.
    1. Select Update now, and then OK.

    Add a Different Time Server

    It’s possible to add additional time servers to Windows via the Registry Editor. Popular NTP (Network Time Protocol) servers include:

    • time.google.com
    • time.cloudflare.com
    • ntp.gsu.edu
    • pool.ntp.org
    • isc.org

    Back up the Windows system registry, and then:

    1. Type regedit into a Run box and select OK.
    2. Copy the following path into the address field at the top of the Registry Editor window and press Enter:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers

    1. Right-click an empty area on the right pane and select New > String Value.
    1. Name the string value as 3 (or 4, 5, and so on if there are more than two string values present by default).
    1. Double-click the string value and enter a time server URL into the Value data field—e.g., time.google.com.
    1. Select OK.
    2. Exit the Registry Editor.
    3. Revisit the Internet Time settings (repeat the steps from the section above) and switch to the new time server.

    Sync Time Through the Command Prompt

    Next, unregister and re-register the Windows Time service, then sync the time via the Command Prompt console. To do that:

    1. Type “cmd” into the Windows Search box and select Run as administrator.
    1. Run the following commands one after the other:
    • net stop w32time
    • w32tm /unregister
    • w32tm /register
    • net start w32time
    • w32tm /config /manualpeerlist:time.google.com /syncfromflags:manual /update
    • w32tm /config /update
    • w32tm /resync /rediscover
    1. Exit the Command Prompt console.

    Allow Time Syncing on Firewall

    If you use a third-party network firewall on your computer, uninstall it and switch back to the Windows Firewall or allow UDP port 123 (needed to sync the time). Refer to the firewall’s online documentation or FAQ on how to do that.

    If the problem occurs over the Windows Firewall, here’s how to create inbound and outbound rules to ensure there are no network restrictions on the flow of NTP packets:

    1. Type firewall.cpl into a Run box and select OK.
    2. Select Advanced settings on the left menu.
    1. Right-click Inbound rule on the left pane and select New Rule.
    1. Set Rule Type to Port and select Next.
    1. Select UDP and set Specific local ports to 123. Select Next to continue.
    1. Keep the default selections in the remaining steps and select Next. In the final screen, set a name (e.g., NTP Inbound), and select Finish.
    1. Right-click Outbound rule, select New rule and repeat steps 4-6 above.

    Disable VPNs and Proxies

    VPNs (virtual private networks) and proxy servers are another reason Windows could struggle to sync the time with a time server. Try disabling them.

    1. Open the Settings app in Windows and select Network & internet.
    2. Dive into the VPN and Proxy categories.
    1. Turn off any active VPNs and proxies.

    Run an SFC Scan

    Run the System File Checker (SFC) in Windows to fix time synchronization errors that stem from corrupt system files. To do that:

    1. Open an elevated Command Prompt console.
    2. Type sfc /scannow.
    1. Press Enter.

    Scan for Malware On Your Computer

    Malicious software often hijacks critical Windows features. If the “Time synchronization failed” error persists or you have trouble performing any of the fixes above, you must run a thorough scan for malware.

    1. Right-click Windows Security on the system tray and select View security dashboard.
    1. Select Virus & threat protection on the left menu.
    2. Select Scan options.
    1. Choose the Full scan option and select Scan Now.

    It’s best to run an additional scan with a third-party malware removal utility. For example, the free version of Malwarebytes is more than adequate at detecting and removing stubborn malware.

    Time Synchronization Is a Success

    Fixing the “Time synchronization failed” error in Windows is crucial since an incorrect time often leads to complications with Windows Update and other network-reliant functionalities and programs. It also adversely impacts system security.

    Just work your way through the fixes above, and you should be able to get rid of it. If the problem persists, consider resetting your Windows 11 or 10 installation to factory defaults.