How to Fix Wrong Date and Time on Mac (2026 Guide)

Charles
Written byCharlesUpdated on Apr 29, 2026
Gerhard Chou
Approved byGerhard Chou

Table of Contents

PAGE CONTENT:

A Mac displaying the wrong date or time can cause more problems than just a confusing clock. Incorrect system time can interfere with secure connections, prevent access to websites, cause iCloud syncing failures, block email sending, and even affect software updates. Whether you're running the latest macOS Tahoe or an older version like Big Sur or Catalina, a misconfigured clock is a surprisingly disruptive issue.

In this article, we'll cover all the reasons why your Mac might be showing the wrong date and time, and provide easy-to-follow steps to fix it. We'll explore manual and automatic methods, system settings, Terminal commands, and advanced troubleshooting techniques.

Mac displaying the wrong date or time

Set Date and Time Automatically via System Settings

The simplest and most reliable way to fix the time is to allow macOS to sync automatically with Apple’s time servers.

a. macOS Ventura, Sonoma, and Later

  1. Click the Apple menu and select System Settings.

    Mac displaying the wrong date or time

  2. Navigate to General > Date & Time.

    Mac displaying the wrong date or time

  3. Toggle on Set time and date automatically.

    Mac displaying the wrong date or time

  4. Make sure the time server (usually time.apple.com) is selected.
  5. Also verify the correct Time Zone is selected under the Time Zone section.

b. macOS Big Sur, Catalina, Mojave, and Earlier

  1. Open System Preferences from the Apple menu.
  2. Click on Date & Time.

    Mac displaying the wrong date or time

  3. Click the padlock icon in the bottom left and enter your admin password to unlock changes.
  4. Check the box for Set date and time automatically.

    Mac displaying the wrong date or time

  5. Make sure the time server listed is correct (time.apple.com).

💡 Note: If this option is grayed out, see section 6 below.

Manually Set Date and Time on Mac

If syncing with Apple's server fails, you can manually configure the correct date and time.

Steps:

  1. Open System Settings > General > Date & Time.
  2. Turn off Set time and date automatically.
  3. Manually input the correct time and date.
  4. Double-check your Time Zone as well.

    Mac displaying the wrong date or time

Alternatively, use System Preferences > Date & Time on earlier macOS versions.

While this manual method works temporarily, it's recommended only as a short-term fix because the time will likely drift again without automatic synchronization.

Use Terminal to Fix Date and Time (Advanced Users)

Sometimes, graphical settings aren't enough - especially when your Mac is in macOS Recovery Mode, stuck in Safe Mode, or encountering system-level bugs. In these cases, the Terminal offers a powerful alternative. This command-line tool lets you directly configure the system clock, bypassing GUI permissions or restrictions.

a. Set Date and Time Manually with date Command

The date command is useful when:

  • You're offline or in Recovery Mode
  • The GUI date and time settings are grayed out
  • SSL certificate errors block macOS reinstall or software installation

Syntax Overview

sudo date mmddHHMM[[cc]yy]

  • mm = Month (01–12)
  • dd = Day (01–31)
  • HH = Hour in 24-hour format (00–23)
  • MM = Minute (00–59)
  • cc = First two digits of the year (e.g., 20 for 2024) [Optional]
  • yy = Last two digits of the year (e.g., 24 for 2024) [Optional]

Example:

sudo date 072010452024

This command sets your Mac's internal clock to July 20, 2024, 10:45 AM.

b. Sync with Network Time Server

If your Mac is connected to the internet but automatic time sync isn't working through the system settings, you can force a time sync manually using the ntpdate tool.

Command:

sudo ntpdate -u time.apple.com

  • The -u option tells ntpdate to use an unprivileged port, useful when behind firewalls.
  • time.apple.com is Apple's official time server.

If successful, this will:

  • Instantly correct your Mac's clock based on universal time (UTC)
  • Solve issues with system updates, SSL certificates, or App Store verification

Possible Output:

20 Jul 10:45:00 ntpdate[572]: step time server 17.253.84.125 offset -123.456789 sec

This output shows the time offset before correction. If you see an error like "no server suitable for synchronization found," double-check your internet connection or firewall settings.

💡 Note: ntpdate may not be installed by default in newer macOS versions. If missing, use the sntp command instead:

sntp -sS time.apple.com

c. Flush DNS Cache (Optional)

If issues persist after syncing:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Then reboot your Mac.

More Solutions for Time Sync Issues on Mac

If your Mac still can't maintain the correct time, consider the following deeper fixes.

Fix 1: Reset NVRAM/PRAM

NVRAM stores information about time settings and peripherals.

Steps:

  1. Turn Off your Mac.
  2. Press Option + Command + P + R as soon as you turn it on.
  3. Release the keys after holding them for around 20 seconds.

Your Mac will reboot with cleared NVRAM.

Fix 2: Reset SMC

On Intel Macs, resetting the SMC (System Management Controller) can fix clock, fan, and power issues.

Steps for most Macs:

  1. Turn Off your Mac.
  2. For ten seconds, press and hold Shift + Control + Option + Power.
  3. Turn on the Mac after releasing all the keys.

Fix 3: Check for Malware or System Glitches

Unusual system behavior might be caused by malware or corrupt settings. Run Apple Diagnostics or a reliable antivirus scan to rule this out.

Fix 4: Check Internet Connectivity and Firewalls

If your Mac can't connect to Apple's time servers:

  • Verify that you're connected to the internet.
  • Disable any custom DNS, VPN, or firewall settings.
  • Check if port 123 (UDP) is blocked - it's required for NTP.

Fix 5: What If the Date and Time Are Grayed Out?

Sometimes, you may find the settings are locked and can't be changed even after clicking the padlock icon.

Solutions:

  • Admin Access: Ensure you're using an admin account. Standard user accounts cannot modify date/time.
  • MDM Restrictions: If this Mac belongs to a school or organization, it might be managed remotely. Contact your IT administrator.
  • Recovery Mode Permissions: In Recovery Mode, macOS often disables automatic time setting. Use Terminal instead.

Fix 6: Special Cases and Conflicts

a. Dual-Boot macOS and Windows (Boot Camp)

Windows stores system time in local time, while macOS uses UTC (Universal Time Coordinated). This conflict can cause wrong time every time you switch OSes.

Fix: Use a Terminal command to make macOS read local time:

sudo systemsetup -setusingnetworktime off
sudo systemsetup -settimezone "Your/Timezone"

Or adjust the Windows registry to use UTC.

b. Time Problems After macOS Update

A buggy or failed update might reset time or disable sync. Boot into Safe Mode and re-enable time sync or use Terminal.

c. macOS Recovery Mode Time Error

If you're in Recovery Mode and seeing SSL errors during reinstall, it's likely because the system clock is wrong.

Fix: Use Terminal in Recovery Mode:

date 072010452024

Then retry installation.

Prevent Future Date and Time Problems on Mac

Once you've fixed the issue, take steps to avoid recurrence.

🔹 Keep Your Mac Updated - Install the latest macOS updates to ensure time services work properly.

🔹 Enable Automatic Time Sync - Leave "Set date and time automatically" enabled unless you have a specific reason to disable it.

🔹 Maintain Network Access - Ensure your firewall or VPN doesn't block NTP services. If using a company network, ask IT to whitelist time.apple.com.

🔹 Monitor PRAM Battery Health (Old Macs) - If your Mac is 7+ years old, the internal PRAM battery may be failing and can be replaced by Apple or an authorized service provider.

FAQs about Date and Time Issue on Mac

This is usually caused by a Time Zone mismatch or a blocked connection to Apple's NTP server (time.apple.com). Go to System Settings > General > Date & Time and ensure "Set time zone automatically using your current location" is enabled. If you are behind a strict firewall or VPN, your Mac may be unable to "talk" to the server to update the clock.
If your system settings are unresponsive, open Terminal and use the sudo date command. The format is mmddHHMMccyy. For example, to set the time to July 20, 2026, at 10:45 AM, type: sudo date 072010452026. Press Enter and provide your admin password. This is particularly helpful when stuck in macOS Recovery Mode.
If you cannot click the settings, first ensure you have clicked the padlock icon (in older macOS versions) and entered your admin password. If it remains greyed out on a work or school Mac, it is likely restricted by MDM (Mobile Device Management) profiles. You will need to contact your IT administrator to unlock these permissions.
Yes. Most websites use SSL/TLS certificates for security. These certificates have strict expiration dates. If your Mac's clock is set to a past date, your browser will think the certificate is invalid, resulting in "Your connection is not private" or "SSL Error" messages in Safari and Chrome.
On older MacBooks and iMacs, this is a sign of a failing PRAM/CMOS battery. This small internal battery keeps the clock running when the Mac is powered off. If it dies, the clock resets to its "factory epoch." You can temporarily fix this by enabling automatic time sync, but a permanent fix requires a hardware repair or battery replacement.
Absolutely. iCloud, iMessage, and the App Store require precise time synchronization for security handshakes. If your time is off by more than a few minutes, you may be unable to sign in, send messages, or download app updates.

Conclusion

A wrong date or time on your Mac might seem like a minor inconvenience, but it can wreak havoc on daily tasks - from website access to syncing files and running software. Fortunately, macOS offers several ways to restore accurate time settings.

The most foolproof method is enabling automatic synchronization via Apple's time server. But if that fails, Terminal provides a powerful alternative. From adjusting permissions and resetting NVRAM to configuring dual-boot systems, this guide has walked you through every proven solution.

If you've tried all methods and still experience issues, it may be time to contact Apple Support or visit a Genius Bar for hardware diagnosis.

logo stage

DMcleaner for Mac

Donemax DMcleaner for Mac is an award-winning Mac cleanup & maintenance application. It offers 10+ tools to help Mac users clean up junk data on Mac, uninstall unwanted apps & delete leftovers, shred files, delete duplicate files, free up disk space, speed up slow Mac, etc. It is also a smart switch manager for Mac, a powerful disk manager for Mac.

 

 Download

DMcleaner for Mac

Rate: 4.6

     

Charles
Contributing Writer

Charles

Charles, who lives in Sydney, Australia, is an editor & writer of Donemax Team. He is good at writing articles related with Apple Mac computers, Windows operating systems, data recovery, data erasure, disk clone and data backup, etc. He loves reading and playing tennis in his spare time and is interested in testing new digital devices such as mobile phones, Macs, HDDs, SSDs, digital cameras, etc.

Gerhard Chou
Editor in chief

Gerhard Chou

In order to effectively solve the problems for our customers, every article and troubleshooting solution published on our website has been strictly tested and practiced. Our editors love researching and using computers and testing software, and are willing to help computer users with their problems