Disable NTP Network Time Synchronization on Ubuntu

In this guide, we want to teach you to Disable NTP Network Time Synchronization on Ubuntu. NTP is a service that is used for synchronizing your time and clock. It is an important service for many server operations. If you want to replace it with another time synchronization tool or if you want to reduce your running services, you may want to disable and remove the NTP from your Ubuntu server.

Just keep in mind that disabling your NTP service may cause issues for you. If you want to replace it with another tool, configure it correctly and then disable and remove your NTP service.

Steps To Disable NTP Network Time Synchronization on Ubuntu

You can use this guide to disable NTP on Ubuntu 18.04 and later versions. In this tutorial, we use Ubuntu 22.04 to show you the guide steps. Also, you must have access to your server as a non-root user with sudo privileges. To do this, you can visit this guide on Initial Server Setup with Ubuntu 22.04.

Step 1 – Disable Network Time Synchronization on Ubuntu

To disable NTP on Ubuntu 18.04 and the later versions like Ubuntu 22.04, you can use systemd. First, stop the NTP service by using the command below:

sudo systemctl stop ntp

Then, disable the NTP service by using the command below on Ubuntu:

sudo systemctl disable ntp

Also, you can verify whether your NTP service is disabled or not by checking its status:

sudo systemctl list-unit-files | grep ntp

Tips: You can get more information about systemd, by visiting this guide on Systemd Unit Files Full Guide with Examples.

Step 2 – Completely Remove NTP from Ubuntu

If you plan to remove NTP service completely from your server, you can use the following command:

sudo apt remove ntp

Remember this may remove all NTP packages and their dependencies and may cause issues.

Conclusion

At this point, you have learned to Disable NTP Network Time Synchronization on Ubuntu by using the systemd daemon. There are many reasons that you want to disable NTP including replacing the time synchronization tool, performance, and security issues, troubleshooting, etc.

Hope you enjoy it. Need any help or a suggestion? Please comment for us.

You may be interested in these articles:

Install and Configure NTP Server and Client on Ubuntu 22.04

Set Up Time Synchronization on Ubuntu 22.04

How To Update Timezone DB in Linux

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Stay informed and not overwhelmed, subscribe now!