Automatically Set Time Zone in Ubuntu: A Step-by-Step Guide
Automatic time zone in Ubuntu is a built-in feature that updates your computer clock based on your physical location. Ubuntu 22.04 LTS includes a simple switch to turn on this service so you never have to change your clock by hand.
Turning on this option helps keep your system time right for daily tasks, backups, and calendar alerts. When you travel or daylight saving time starts, the system fixes the clock on its own without needing any extra work from you.
Enable automatic time zone detection by opening Settings, navigating to Date & Time, and toggling the Automatic Time Zone switch to On. Ensure location services are also enabled for accurate detection. This automatically adjusts your system’s time zone and daylight saving settings.
How to enable or disable set time zone automatically in Ubuntu Linux
How to enable or disable automatic time zone setting in Ubuntu Linux
This automatic time zone setting can be turned on or off within Ubuntu Linux through System Settings. Choosing this option lets Ubuntu pick the correct region for you. Disabling the feature leaves room for manual adjustments.
Manual configuration is necessary if background detection remains disabled. Automatic time zone detection uses your computer's location to ensure your clock stays correct, preventing issues with time-sensitive applications or scheduling.
Here’s how to enable or disable it.
System configurations, user accounts, and daily updates live inside the main Settings app in Ubuntu.

Alternatively, click on the System menu in the top-right corner of your desktop's top bar.
From the System menu, select Settings, as shown below.

Inside the Settings app, click on the Date & Time tile.

Within the System Settings -> Date & Time panel, flip the Automatic Time Zone switch to the On position.
Active internet connections and enabled location services allow the time zone to update dynamically.
Switching this toggle to Off permits manual time zone selection.

Active location services are required for the automatic time zone feature to function properly.
How to enable or disable location services in Ubuntu Linux
Following these steps completes the configuration process.
Conclusion:
- Enabling the automatic time zone feature in Ubuntu Linux can ensure that your system's date and time stay accurate without manual intervention.
- When the automatic time zone setting is enabled, the system will also manage daylight saving time adjustments.
- However, for users who prefer manual control over their time zone, Ubuntu Linux provides a straightforward method to toggle the automatic time zone setting off and update it manually as needed.
- It's important to ensure that location services are enabled in Ubuntu Linux so that the automatic time zone feature will function correctly.
How do I turn on automatic time zone in Ubuntu?
To turn on the automatic time zone in Ubuntu, open Settings, then System, and select Date & Time.
How do I get the time zone in Ubuntu?
The timedatectl command is a utility that allows you to view and change the system's time and date settings. It is available on all modern systemd-based Linux distributions, including Ubuntu 20.04. To display the current timezone, run the timedatectl command without any arguments.
How to set timezone permanently in Linux?
Setting your time zone permanently in Linux typically requires more than the tzselect command, as it only affects your current session.
How to set time zone in sudo?
To change the time zone via the terminal, use sudo timedatectl set-timezone along with a specific Region/City name.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
[…] cannot set the time zone manually when Automatic Time Zone is set to On. Turn off Automatic Time Zone to manually set your system’s time […]