⏰ MikroTik NTP Client Setup Guide: Auto Sync Time for RouterOS v6 & v7


Greetings to the KonekNoypi Community & Network Admins!

One of the most essential yet often overlooked configurations in MikroTik RouterOS is setting up the **Network Time Protocol (NTP) Client**. Having the accurate local date and time on your router is crucial for maintaining correct system logs, running hotspot voucher validity schedules, executing automated backup scripts, and troubleshooting network events.

By default, MikroTik routers do not have a built-in Real-Time Clock (RTC) battery, meaning they reset or lose their system time whenever powered off or rebooted. In this guide, we will cover how to configure automatic NTP time synchronization for both **RouterOS v6** and **RouterOS v7** set to Philippines Timezone (`Asia/Manila`).




💡 Why is Accurate Router Time Important?

  • Accurate Hotspot & Voucher Schedules: Ensures user session limits, expiration schedulers, and active time tracking run without errors.
  • Reliable System Logs: Makes network troubleshooting easier by aligning error logs, interface disconnects, and reboot timestamps with real-time events.
  • Automated Scripts & Backups: Guarantees that daily script schedules (such as income tracking or system reboots) execute at the exact intended hour.
  • SSL/TLS Certificate Validation: Prevents secure API, DoH (DNS over HTTPS), or Telegram bot request failures caused by mismatched system clocks.





💻 How to Apply via Winbox Terminal


Easy Installation Steps:
1. Open your **Winbox** application and connect to your MikroTik router.
2. Click on New Terminal from the left-hand menu.
3. Copy the appropriate script block below depending on your RouterOS version.
4. Right-click inside the terminal window and select Paste, then press Enter.





📜 Script for MikroTik RouterOS v6


/system clock
set time-zone-name=Asia/Manila
/system ntp client
set enabled=yes primary-ntp=202.65.114.202 secondary-ntp=119.28.183.184





📜 Script for MikroTik RouterOS v7


/system clock
set time-zone-name=Asia/Manila
/system ntp client
set enabled=yes
/system ntp client servers
add address=0.asia.pool.ntp.org
add address=1.asia.pool.ntp.org





🔍 How to Verify Working Time Sync

After pasting the commands in your terminal, you can verify if the time synchronization is working properly:

  • Go to System > Clock in Winbox to check if the time and date match your local Philippine time (`Asia/Manila`).
  • Go to System > NTP Client and verify that the status displays "synchronized".





Have questions or need help with your MikroTik setup?
Drop your comments, questions, or feedback in the discussion thread below! 👇