Guides / Device time
How to Sync the Clock on Your Computer or Phone
By Liang · Updated December 4, 2026
If the clock on your computer or phone is wrong, the fix is nearly always one of two things: turn automatic time back on and sync, or correct the time zone. A clock that is off by seconds or minutes needs a sync. A clock that is off by exactly one hour, or several whole hours, has the wrong time zone.
Compare the line above with an official source such as time.gov, which shows how far your device clock is from US official time.
Force a sync
| Device | Steps |
|---|---|
| Windows 11 | Settings > Time & language > Date & time. Turn on "Set time automatically", then select Sync now. |
| Mac | System Settings > General > Date & Time. Turn on "Set time and date automatically". Turning it off and on again forces a fresh sync. |
| iPhone and iPad | Settings > General > Date & Time > Set Automatically. |
| Android | Settings > System > Date & time > Set time automatically. On Samsung phones it is under General management. |
| Chromebook | Time is always set automatically. Only the time zone can be changed, under Date and time in Settings. |
| Linux (systemd) | Run timedatectl set-ntp true, then timedatectl status and look for "System clock synchronized: yes". |
On Windows you can also open Command Prompt as administrator and run w32tm /resync. If it reports that the service has not been started, run net start w32time first.
Off by a whole hour: check the time zone
Automatic time gets the correct UTC time from the internet, and the device then applies your time zone to show local time. If the time zone is wrong, the minutes will be right and the hour wrong.
- Turn on "Set time zone automatically" (it needs location access on phones and laptops).
- If you set the zone by hand, pick your city or region, not a fixed offset such as "UTC−5". Fixed offsets do not follow daylight saving time, so the clock will be an hour off for part of the year.
- After travelling, a laptop can keep the old zone until it gets a location fix. Selecting the zone manually once fixes it.
The What Time Is It page shows the time zone your browser is reporting, which is a quick way to see what the device thinks.
Why clocks drift
Every phone and computer keeps time with a small quartz crystal. Crystals run slightly fast or slow depending on temperature and age, and a typical computer clock drifts by about a second a day when left alone. Automatic time corrects this by asking a time server over the internet, using the Network Time Protocol (NTP). Windows asks time.windows.com, Apple devices ask time.apple.com, and phones can also take the time from the mobile network.
After a sync, a device is normally within a few hundredths of a second of the correct time. Between syncs it drifts again, and Windows by default only syncs about once a week, which is why a PC can be a few seconds out.
When the clock keeps going wrong
- Time resets after every shutdown: on a desktop PC or older laptop, the small battery on the motherboard that keeps the clock running is probably flat. It is a coin cell (usually CR2032) and cheap to replace.
- Windows is hours off after using Linux on the same machine: Windows stores local time in the hardware clock and Linux stores UTC. Running
timedatectl set-local-rtc 1in Linux makes them agree. - Sync fails on a work or school network: some networks block outside time servers and provide their own. Ask the administrator, or sync once on a home network.
- A virtual machine drifts quickly: turn on time synchronization with the host in the virtual machine settings.
Why a few seconds matter
- Two-factor codes: authenticator apps make a new code every 30 seconds from the current time. If the phone is a minute out, the codes are rejected.
- Secure websites: browsers check a site's certificate against the date. With the date set wrong, every HTTPS site can show a warning that the connection is not private.
- Timed sales, exams and bookings: the server decides the time, so a slow clock on your side means you are late.
LiveClock reads the time from your device, so once the device is synced, the clock with seconds will be correct as well.
FAQ
Why is my computer clock a few minutes off?
Automatic time is turned off, or the sync is failing. Turn it on and select Sync now, using the table above.
Why is my clock exactly one hour off?
The time zone is wrong, or it is set to a fixed offset that ignores daylight saving time. Choose your city or region.
How accurate is a phone clock?
With automatic time on, usually within a small fraction of a second.