How to Fix ‘Your Clock is Ahead’ Error in Google Chrome

While navigating the web in Google Chrome, you may suddenly be blocked by an alarming privacy warning: Your connection is not private. Attackers might be trying to steal your information, accompanied by the specific error code NET::ERR_CERT_DATE_INVALID and the notice Your clock is ahead or Your clock is behind.

Every secure HTTPS website relies on digital SSL/TLS certificates issued with precise validity timestamps. If your computer or smartphone system clock diverges by even a few minutes from standard international atomic time, Chrome cannot verify whether the remote website certificate has expired or has not yet become valid. Consequently, Chrome halts navigation to protect your sensitive data. Follow this guide to synchronise system time and eliminate the error.

Synchronise Windows Time with time.windows.com

On Windows 11 and 10, minor motherboard RTC drift or interrupted NTP synchronization can skew the operating system clock:

  1. Right-click the clock in the bottom-right corner of your taskbar and select Adjust date and time.
  2. Ensure that Set time automatically and Set time zone automatically are both toggled On.
  3. Under “Additional settings”, locate the Sync now button and click it.
  4. Wait for a checkmark to appear beside the button confirming successful synchronisation with the internet time server.
  5. Return to Google Chrome and refresh the blocked webpage.

Restart and Resync the Windows Time Service

If clicking “Sync now” fails with a network timeout, the underlying Windows Time service (W32Time) daemon may have stalled:

  1. Press the Windows Key, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Stop the service and re-register the NTP time provider by executing:
    net stop w32time
    w32tm /unregister
    w32tm /register
    net start w32time
    w32tm /resync
  3. Once the prompt confirms the command completed successfully, reload Chrome.

Synchronise Date and Time on macOS

If you encounter the date invalid error on a Mac:

  1. Click the Apple menu in the top-left corner and select System Settings.
  2. Navigate to General > Date & Time.
  3. Verify that Set time and date automatically is turned on.
  4. Ensure the time source is set to time.apple.com.
  5. Toggle the switch off and on again to force an immediate network time update.

Clear Chrome Browser SSL State and Cache

Operating systems and browsers maintain a local SSL state cache to accelerate secure handshakes. If Chrome cached an invalid certificate validation state during clock drift, clearing the SSL state flushes bad records:

  1. Press Windows + R, type inetcpl.cpl, and press Enter to open Internet Properties.
  2. Navigate to the Content tab.
  3. Click the Clear SSL state button. A message will confirm: “The SSL cache was successfully cleared.”
  4. In Chrome, press Ctrl + Shift + Delete (or Command + Shift + Delete on Mac).
  5. Select Cached images and files and click Clear data.
  6. Relaunch Chrome completely.

Inspect CMOS Battery on Desktop Motherboards

If your computer clock repeatedly reverts to a past date (such as 1 January 2000 or the motherboard manufacturing year) whenever you power down the machine, your motherboard coin-cell CMOS battery (CR2032) is dead. Replacing this small lithium battery ensures hardware time is preserved when your PC is disconnected from wall power.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.