A laptop clock that refuses to stay correct is more than a minor annoyance. It can break email timestamps, block website access with certificate errors, prevent software updates from installing, and even lock you out of secure accounts. The good news: the problem is almost always fixable without a trip to the repair shop. This guide covers why the date and time stop syncing, step-by-step fixes for Windows, macOS, and Linux, and how to prevent the issue from coming back.
Why Accurate Date and Time Matter on Your Laptop
The system clock does far more than show you the hour. It underpins core functions you rely on every day:
- Security certificate validation – Websites and apps check your laptop’s time against the expiration date of their SSL certificates. A wrong clock triggers “Your connection is not private” warnings and can block access entirely.
- File timestamps and backups – Backup software uses the clock to decide which files have changed. Wrong timestamps can lead to missing data or overwritten files.
- Email and calendar sync – Your inbox and meeting scheduler depend on accurate timestamps. A misaligned clock causes messages to appear out of order and reminders to fire at the wrong time.
- Two-factor authentication – Many authentication apps generate time‑sensitive codes. If your clock is off by more than a few seconds, those codes will fail.
- Software and security updates – Update services compare their server time with your system time. A mismatch can prevent downloads from starting or cause update failures.
In practice, a simple time‑sync issue can mimic a serious network or hardware fault. Fixing the clock often resolves errors that seem unrelated.
Common Symptoms That Your Laptop Date and Time Are Not Syncing
- The clock shows a time that drifts slowly or jumps to a completely wrong hour after every reboot.
- Calendar events and emails consistently display the wrong date.
- Websites show “certificate expired” or “NET::ERR_CERT_DATE_INVALID” errors despite a working internet connection.
- Software updates fail to download with generic “error 0x80070057” or “update not applicable” messages.
- You are prompted to re‑enter the date and time each time you start the laptop.
If any of these sound familiar, the fixes below will address the root cause—not just a manual clock adjustment.
Root Causes of Date and Time Sync Failure
Understanding why the clock goes wrong helps you choose the right fix the first time.
Disabled or misconfigured automatic sync – The setting to sync with an internet time server is turned off, or the default time server is unreachable.
Dead or dying CMOS battery – This small coin‑cell battery on the motherboard keeps the clock running when the laptop is powered off. When it fails, the clock resets to a default date (often 2000 or 2005) every time you shut down.
Incorrect time zone – The time zone setting is wrong for your location. Even if the minutes are correct, the displayed time will be off by hours.
No internet connectivity – The laptop must be online to reach an NTP (Network Time Protocol) server. Offline machines cannot sync.
Windows Time service stopped – On Windows, the “Windows Time” service may be disabled or set to manual start. Without it, automatic sync never runs.
Corrupted system files – Damaged OS files that handle time functions can block sync even when settings are correct.
Firewall or VPN blocking NTP traffic – Some security software, corporate firewalls, or VPN clients block the UDP port 123 used by NTP servers.
Malware interference – Rare, but certain viruses deliberately alter the system clock to bypass activation checks or disrupt security features.
Windows Fixes: Step‑by‑Step
1. Verify Time Zone and Automatic Sync
Right‑click the clock in the taskbar and select Adjust date/time. Ensure both “Set time automatically” and “Set time zone automatically” are turned on. Then click Sync now to force an immediate update.
2. Restart the Windows Time Service
Press Windows + R, type services.msc, and press Enter. Find Windows Time in the list. Right‑click it, choose Restart, then right‑click again and select Properties. Set “Startup type” to Automatic and click OK.
Restarting the Windows Time service ensures the sync process runs correctly.
3. Change the NTP Server
If the default server (time.windows.com) fails, switch to a more reliable one.
- Go to Control Panel > Clock and Region > Date and Time > Internet Time tab > Change settings.
- Replace the server with time.nist.gov (U.S. government atomic clock) or pool.ntp.org.
- Click Update now and confirm the sync succeeds.
4. Run the System File Checker
Open Command Prompt as administrator and type:
sfc /scannow
Let the scan complete. It will repair any corrupted system files that might affect timekeeping.
5. Replace the CMOS Battery
If the clock resets after every shutdown, the CMOS battery is likely dead. This is a common issue on laptops older than four years.
- Find your laptop’s service manual online to locate the battery (usually a CR2032 coin cell).
- Power down, unplug, remove the battery if possible, then carefully pop out the old CMOS battery and insert a new one.
- Reassemble and boot. Set the date and time once, then enable automatic sync.
If you are uncomfortable opening the laptop, a repair shop can replace the battery for a low cost.
6. Scan for Malware
Run Windows Defender (or your trusted antivirus) with a full scan. Malware that alters the clock is rare but happens; a clean scan eliminates that possibility.
7. Update Windows
Outdated builds sometimes contain bugs in the time sync service. Go to Settings > Windows Update and install all pending updates, then restart.
macOS Fixes: Step‑by‑Step
1. Set Correct Time Zone and Enable Auto Sync
Open System Settings > General > Date & Time. Enable Set time and date automatically. Verify your time zone is correct—if it’s wrong, Mac may pick the wrong offset even with sync on.
2. Switch to a Different Time Server
Open Terminal and type:
sudo systemsetup -setnetworktimeserver time.apple.com
Press Enter and provide your admin password. If you prefer an alternative, try time.euro.apple.com or pool.ntp.org. Then force‑sync with:
sudo sntp -sS time.apple.com
3. Reset NVRAM/PRAM
This clears persistent hardware settings that can cause the clock to drift.
- Shut down your Mac.
- Turn it on and immediately press and hold Option + Command + P + R for about 20 seconds.
- Release the keys. The Mac will restart. Re‑enable automatic time sync afterward.
4. Check for macOS Updates
Go to System Settings > General > Software Update. Install any available updates—Apple frequently patches time‑related bugs.
5. Scan for Malware
While macOS malware targeting the clock is extremely rare, a scan with Malwarebytes or built‑in XProtect provides peace of mind.
6. Contact Apple Support
If the clock resets after every restart even after the NVRAM reset, the internal battery (on older models) or logic board may need service. Apple can diagnose the hardware.
Linux Fixes: Step‑by‑Step
1. Verify Time Zone with timedatectl
Open a terminal and run:
timedatectl
Check the “Time zone” line. If incorrect, set it:
sudo timedatectl set-timezone Your/Region
For example: sudo timedatectl set-timezone America/New_York
2. Enable NTP Synchronization
Most modern Linux distributions use systemd-timesyncd by default. Enable it:
sudo timedatectl set-ntp true
Then check status: timedatectl status – you should see “NTP service: active”.
3. Install and Use chrony (Alternative)
If systemd-timesyncd fails, install chrony:
sudo apt install chrony (Debian/Ubuntu)
sudo systemctl enable --now chronyd
Edit /etc/chrony/chrony.conf to add a reliable server like pool.ntp.org iburst, then restart chrony.
4. Sync Hardware Clock
Run:
sudo hwclock --systohc
This writes the system time to the hardware (CMOS) clock, preventing it from resetting after shutdown.
5. Replace CMOS Battery
Just as on Windows and macOS, a dead CMOS battery will reset the clock. The process varies by laptop model; refer to your manufacturer’s hardware guide or ask a technician.
6. Scan for Malware
Linux malware is uncommon but not impossible. Use clamav or rkhunter to check for anything unusual.
Changing the NTP server can resolve sync failures when the default server is slow or blocked.
How Internet Time Servers Work
Your laptop uses the Network Time Protocol (NTP) to request the current time from a remote server. The server—typically an atomic clock or GPS‑disciplined oscillator—sends back a highly accurate timestamp. Your system compares that to its own clock and adjusts automatically.
Common NTP servers include:
| Server | Operator | Typical Reliability |
|---|---|---|
| time.windows.com | Microsoft | Very high |
| time.nist.gov | U.S. National Institute of Standards and Technology | Very high |
| time.apple.com | Apple | High |
| pool.ntp.org | Volunteer community | High (load‑balanced) |
If your laptop cannot reach a server (due to firewall rules, a VPN, or network restrictions), sync fails. Switching to a different server often bypasses the block.
The National Institute of Standards and Technology provides a public NTP service that is considered one of the most reliable worldwide.
CMOS Battery Deep Dive
The CMOS (Complementary Metal‑Oxide‑Semiconductor) battery is a tiny coin cell that powers a small amount of memory storing your BIOS/UEFI settings—including the hardware clock. When the battery dies:
- The clock resets to the BIOS default date (often January 1, 2000).
- BIOS customizations (boot order, fan speeds) may revert.
- Some laptops refuse to boot without manually entering the date and time.
Symptoms of a failing CMOS battery:
- The clock loses time even when the laptop is plugged in.
- The time resets every time you fully disconnect the battery or unplug the power.
- You see “CMOS checksum error” or “Time-of-day not set” messages on boot.
Replacement is straightforward on many laptops, but some ultrabooks have the battery soldered or hidden under the motherboard. In those cases, a technician is the safest option.
Common Mistakes When Fixing Date and Time Sync
- Only changing the clock manually – This is a temporary patch. The underlying cause (dead battery, disabled service, wrong time zone) remains and the clock will drift again quickly.
- Forgetting to check the time zone – Even if UTC is correct, your local time will be off by hours. Always verify the time zone setting first.
- Ignoring the CMOS battery – Many people assume software is the only culprit. A three‑dollar battery replacement can solve issues that persist through every software fix.
- Disabling time sync for privacy reasons – Some users block all outbound NTP traffic. While this prevents your laptop from contacting a time server, it also breaks certificate validation, email timestamps, and authentication.
- Not restarting after changes – Service restarts and registry edits often require a reboot to take effect. Skipping this step leads to frustration.
The Date & Time settings panel in Windows 11 showing the automatic sync toggle and Sync now button.
When to Seek Professional Help
You can resolve the vast majority of date‑and‑time issues at home. But call a technician if:
- The clock resets even after all software fixes and a new CMOS battery.
- You are uncomfortable opening the laptop (especially on sealed or soldered‑battery designs).
- You see additional BIOS errors or the laptop fails to boot.
- Malware persists after multiple scans.
Prevention Tips
- Replace the CMOS battery every 4–5 years before it fails. This proactive step avoids the problem entirely.
- Keep your operating system up to date – Bug fixes for time sync services are included in cumulative updates.
- Use a reliable NTP server – Stick with official sources like
time.nist.govor the default provided by your OS. - Check third‑party firewall and VPN settings – Ensure they allow outbound NTP traffic on UDP port 123.
- Run a periodic clock check – On Windows,
w32tm /query /statusshows the last sync time. On macOS, open Terminal and typentpdate -q time.apple.com. On Linux,timedatectltells you everything.
Frequently Asked Questions
Why does my laptop show the wrong time even after I set it manually?
A weak CMOS battery cannot retain the clock setting after shutdown. Also, if automatic sync is disabled or the time zone is incorrect, the clock will revert after a reboot.
Can a virus cause date and time problems?
Yes, though it is uncommon. Some malware alters the system clock to block software updates or confuse security tools. Run a full antivirus scan if you notice other suspicious behavior.
How do I check if my laptop is currently syncing with an internet time server?
- Windows: Open Date & Time settings – “Set time automatically” should be on. For more detail, run
w32tm /query /statusin Command Prompt. - macOS: Open Date & Time in System Settings – the auto‑sync toggle should be enabled.
- Linux: Run
timedatectl status– look for “NTP service: active”.
What is the difference between NTP and manual time setting?
NTP automatically keeps your clock accurate by regularly contacting a server. Manual setting relies on you to correct it, and the clock will drift off by several seconds per day without intervention.
Are all NTP servers equally reliable?
No. Official servers operated by government agencies (NIST, USNO) or major companies (Microsoft, Apple) are hardened and monitored. Public pool servers are generally fine but may occasionally be slow or misconfigured. Avoid obscure third‑party servers.
Conclusion
A laptop that refuses to sync its date and time is not a hardware emergency—it is a solvable problem with a clear sequence of checks. Start with the simplest fix: verify the time zone and turn on automatic sync. If that does not stick, replace the CMOS battery, restart the system time service, and switch to a reliable NTP server.
For most users, the entire process takes under 15 minutes. The payoff is a laptop that handles emails, updates, and secure websites without unnecessary errors. Next step: open your system’s date and time settings right now and confirm that automatic sync is enabled. That one click might be all you need.