macOS

How to Manually Set Time on macOS: Step-by-Step Guide

In this guide, you'll learn how to manually set date and time on macOS through system settings and command line. We cover both standard methods and terminal usage for advanced scenarios.

Updated at February 16, 2026
5-10 minutes
Easy
FixPedia Team
Применимо к:macOS Monterey 12.0+macOS Ventura 13.0+macOS Sonoma 14.0+

Introduction / Why This Is Needed

Manual time configuration on macOS may be necessary in certain situations: when automatic synchronization with NTP servers is unavailable (for example, in isolated networks), when the system time drifts due to hardware issues, or when a specific time value needs to be set for testing purposes. Incorrect time can cause errors in web services, disrupt SSL/TLS certificate functionality, and lead to improper event logging. This guide will help you quickly and accurately set the time manually and provide an understanding of how to manage this parameter via the terminal.

Requirements / Preparation

Before you begin, ensure that:

  • You have access to an account with administrator privileges (to unlock settings and change system time).
  • macOS is updated to Monterey (12.x) or newer (the interface may differ slightly in older versions).
  • If you plan to use the terminal, open the "Terminal" application (in the "Utilities" folder or via Spotlight).
  • Changing the time via the terminal will require an administrator password.

Step-by-Step Guide

Step 1: Open System Settings

Click the Apple logo in the top-left corner of the screen and select "System Settings" (in macOS Ventura and newer) or "System Preferences" (in older versions). Alternatively, use Spotlight: press Cmd + Space and type "System Settings".

Step 2: Navigate to the "Date & Time" Section

In the System Settings window, locate the "Date & Time" icon. In macOS Sonoma and Ventura, the section may be found under the "General" category. Simply type "time" in the search field at the top of the window to quickly find the relevant section.

Step 3: Unlock the Settings

By default, the input fields are locked. At the bottom of the window, click the lock icon 🔒 and enter your administrator password. The lock will then change to an open state, allowing you to make changes.

Step 4: Disable Automatic Synchronization

Uncheck the box next to "Set date and time automatically". This action will unlock the fields for manual input. If you wish to use a different NTP server (for example, an internal server on a corporate network), select it from the "Time Server" dropdown menu before unchecking the box.

💡 Tip: If you frequently switch between automatic and manual configuration, create a terminal script (see below) to quickly toggle the mode.

Step 5: Set the Date and Time Manually

In the fields that appear:

  • "Date": Click the calendar and select the day, month, and year.
  • "Time": Set the hours and minutes (and seconds if necessary).
  • "Time Zone": Ensure the correct time zone is selected (for example, "Moscow, Istanbul" for MSK). An incorrect time zone will cause the time to be offset from UTC.

After filling in the fields, the system will automatically apply the new values. Note that changing the system time may affect some applications (such as task schedulers).

Step 6: Verify and Save Changes

Close the "System Settings" window. To verify, open the Apple menu—the time in the menu bar should display correctly. You can also run the following command in Terminal:

date

The command output will show the current system date and time. If needed, restart your computer to ensure the time persists after a reboot (it usually does if the logic board battery is functional).

Verifying the Result

  1. Via the menu bar: Hover over the time in the menu bar (top-right corner). The date and time you set should be displayed.
  2. Via Terminal: Execute the date command. An example of correct output: Sat Feb 16 14:30:00 MSK 2026 Note the time zone abbreviation (MSK) and its correspondence to the values you set.
  3. Via a web service: Open a website that displays the time based on your IP address (for example, time.is). If the time matches, the configuration was successful.

Potential Issues

Issue 1: Manual input fields remain inaccessible

  • Cause: Settings are not unlocked (you didn't click the lock) or an MDM profile (mobile device management) is active.
  • Solution: Ensure you are logged in as an administrator and have clicked the lock. If an MDM profile is installed, contact your system administrator.

Issue 2: Time reverts to the previous value after reboot

  • Cause: A faulty logic board battery (CMOS) or a conflict with the NTP daemon.
  • Solution: Check the battery status via "System Information" → "Power". If the battery is depleted, it may need replacement. Temporarily disable the NTP daemon: sudo launchctl unload /System/Library/LaunchDaemons/org.ntp.ntpd.plist (but this is not recommended for permanent use).

Issue 3: "Operation not permitted" error when changing time via terminal

  • Cause: Insufficient superuser privileges or System Integrity Protection (SIP) is enabled.

F.A.Q.

Why does the time on my Mac reset after reboot?
How to set time via terminal without a password?
What to do if time doesn't change even after configuration?
How to enable automatic time synchronization after manual setup?

Hints

Open System Settings
Go to the 'Date & Time' section
Unlock settings
Disable automatic synchronization
Set date and time manually
Check and save changes

Did this article help you solve the problem?

FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community