Skip to content
Ubuntu Linux

Automatically Set Time Zone in Ubuntu: A Step-by-Step Guide

Richard
Written by
Richard
Updated 3 min read
How to Change Default Apps in Ubuntu
How to Change Default Apps in Ubuntu
Before you start
  • 6 steps
  • Needs administrator rights

Automatic time zone detection in Ubuntu sets your computer clock from your physical location, so you don’t have to change it by hand. Ubuntu 22.04 LTS and newer releases ship with this switch in Settings. It keeps the clock correct when you travel or when daylight saving time starts or ends.

A wrong time zone causes more trouble than it looks like. Calendar alerts fire at the wrong hour, file timestamps and backup logs don’t line up, and scheduled jobs run late or early. You can fix this in a few seconds from the Settings app, and you can undo it just as quickly.

⚡ Quick Answer

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.

Advertisement

How to enable or disable set time zone automatically in Ubuntu Linux

The setting lives in the Date & Time panel. With Automatic Time Zone turned on, Ubuntu uses your location to pick the right time zone. With it turned off, you choose the time zone yourself, and Ubuntu keeps it until you change it.

If you leave the feature off, you have to update the time zone manually every time you move to a new region. Keeping it on avoids that and protects time-sensitive applications and scheduling. The steps below work on the standard Ubuntu desktop (GNOME) in 22.04 LTS and newer. Menu wording can differ slightly between releases.

Advertisement

Start by opening the Settings app. It holds system configuration, user accounts, and update options.

  1. Open the Settings app from the Activities overview or the app grid.

The Settings window opens with a list of categories on the left.

Ubuntu Linux activities overview interface
ubuntu linux activities overview

You can also reach Settings from the top bar.

  1. Click the System menu in the top-right corner of the top bar. It holds the network, volume, and power icons.
  2. Select Settings, as shown below.

The same Settings window opens.

Ubuntu Linux system menu for settings access
ubuntu linux system menu top bar settings
  1. In the sidebar, select Date & Time. You may need to scroll down the list to find it.

The right side of the window now shows the date and time options, including the time zone controls.

Ubuntu Linux date and time settings tile
ubuntu linux date and time tile
  1. In Settings Date & Time, find the Automatic Time Zone switch.
  2. Flip it to the On position.

The manual Time Zone entry should now be greyed out or show the zone Ubuntu detected. No restart is needed. The clock picks up the change right away.

The automatic time zone needs an active internet connection and enabled location services to update dynamically. If the switch is greyed out or the zone never changes, check these two things first. Look at Settings Privacy for the location setting (on newer releases it may sit under Privacy & Security), and confirm your network is connected.

If Settings asks for authentication, click Unlock and enter your password. Some time settings need administrator rights.

To undo the change, flip the same switch to Off. Manual time zone selection becomes available again. Pick your zone from the Time Zone entry.

Ubuntu Linux option to turn on automatic time zone
ubuntu linux turn on automatic time zone

Keep in mind that location services must be active for the automatic time zone feature to work. Detection is only as good as the location data available to your machine. A VPN or a poor network location can sometimes lead to the wrong region. If that happens, turn the switch off and set the zone by hand.

How to enable or disable location services in Ubuntu Linux

That completes the configuration. With automatic time zones on, your system clock stays accurate without manual adjustments.

  • 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.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

0 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *