Networking, Wi-Fi & Fibre Optics

How to Reset a MikroTik Router and Reconfigure It

A reset wipes a MikroTik router back to its default configuration, or to nothing at all. Done well it takes twenty minutes; done in a hurry it erases your ISP login, Wi-Fi and firewall, so back up first and know which reset you need.

  • Advanced
  • About 40 min
  • Last reviewed
Start the guide

Overview

What you will learn

  • The difference between a reboot, a configuration reset, a restore and Netinstall
  • How the reset button behaves at each LED stage, as MikroTik documents it
  • What the reset-configuration options keep-users, no-defaults and skip-backup do
  • How to set up WAN, LAN, DHCP, DNS and Wi-Fi again in WinBox
  • How to secure the router afterwards: firewall, password and updates

Applies to

  • MikroTik RouterBOARD routers (hAP, hEX, RB4011 and similar)
  • MikroTik CCR routers (IP Only default configuration)
  • RouterOS v6 and v7

Tools Required

  • Laptop with an Ethernet port or USB adapter
  • WinBox (Windows, macOS or Linux)
  • Ethernet patch cable
  • Paper clip or pin for recessed buttons
  • Your ISP details (DHCP, static IP or PPPoE user name and password)

Before you start

  • You own or manage the router
  • An exported configuration and a backup file saved on your laptop
  • Physical access to the router
  • A planned time when the network can be offline

Important

  • A reset erases the whole configuration, including the ISP login, Wi-Fi, VPNs and firewall rules. Export and back up first.
  • Never reset a router you reached remotely. The default configuration blocks WAN management and you will be cut off.
  • no-defaults=yes also removes the default firewall. The router is unprotected until you add rules.
  • Do not cut power during a RouterOS or RouterBOARD upgrade. Use a UPS.

Supported Models

Find the procedure for your exact model

Procedures differ between manufacturers, models and firmware. Choose yours to see the method, where the controls are, what you need and the official source.

MikroTik · Home and office router

hAP ax² (C52iG-5HaxD2HaxD-TC)

Verified
Method
Reset button during boot, or System > Reset Configuration
Where
Not stated; the manual calls it the Reset button, the product page lists a Mode button
Firmware
RouterOS v7
Tools
Pin, laptop, WinBox
Expected time
About 2 minutes plus set-up

Hold the reset button during boot until the green LED starts flashing, then release to reset the configuration. Keep holding until the LED is solid for CAP mode. ISP cable goes to Ethernet1; connect the PC to any other port or the MikroTik Wi-Fi network.

Check the button location on the unit. Default login admin with no password, or on the sticker for some models.

MikroTik hAP ax² user manual

Verified against the manufacturer documentation linked here. Firmware and hardware revisions change, so check your own model's manual before you start.

MikroTik · Home and office router

hAP ac² (RBd52G-5HacD2HnD-TC)

Verified
Method
Reset button during boot
Where
Not stated in the manual
Firmware
RouterOS v6 or v7
Tools
Pin, laptop, WinBox
Expected time
About 2 minutes plus set-up

Hold reset during boot until the green LED flashes, then release to reset the configuration. Holding until the LED is solid enables CAP mode. Ethernet1 is the ISP port; the PC uses DHCP.

Check whether your RouterOS version uses the Wireless or WiFi menu for its radios.

MikroTik hAP ac² user manual

Verified against the manufacturer documentation linked here. Firmware and hardware revisions change, so check your own model's manual before you start.

MikroTik · Wired router

hEX (RB750Gr3)

Verified
Method
Reset button while applying power
Where
Not stated in the manual
Tools
Pin, laptop, WinBox
Expected time
About 2 minutes plus set-up

Hold reset while applying power. Release when the green LED flashes to reset the configuration. Release after the LED goes off (about 20 seconds) for Netinstall. ISP cable to Ethernet1, PC to any other port.

The manual says releasing at solid green clears all configuration and bridges all interfaces.

MikroTik hEX (RB750Gr3) user manual

Verified against the manufacturer documentation linked here. Firmware and hardware revisions change, so check your own model's manual before you start.

MikroTik · Wired router

RB4011iGS+RM

Verified
Method
Reset button while applying power
Where
Not stated in the manual
Tools
Pin, laptop, WinBox
Expected time
About 2 minutes plus set-up

Hold reset while applying power. Release when the green LED flashes to reset the configuration. Release after the LED goes off (about 20 seconds) for Netinstall. Internet cable to the first port, LAN computers to the others.

As on the hEX, the manual describes the solid-green stage as clearing all configuration and bridging interfaces.

MikroTik RB4011iGS+RM user manual

Verified against the manufacturer documentation linked here. Firmware and hardware revisions change, so check your own model's manual before you start.

MikroTik · Cloud Core Router

CCR2004-1G-12S+2XS

Verified
Method
Reset button during boot
Where
Not stated in the manual
Tools
Pin, laptop with static IP, WinBox
Expected time
About 3 minutes plus full set-up

Hold reset during boot until the USER LED flashes, then release. After a reset only 192.168.88.1 is set on Ethernet port 1: set your PC to 192.168.88.2/24, connect to the MGMT/BOOT or first port, and build WAN, password and updates yourself.

No DHCP server, NAT or firewall by default. For Netinstall, release when the USER LED turns off.

MikroTik · Wired router

RB750, RB751, RB951 (older boards with reset jumper)

Verified
Method
Reset jumper
Where
Jumper hole under a rubber foot
Tools
Small metal screwdriver
Expected time
About 2 minutes

With power off, close the jumper with a metal screwdriver, power on and boot until the configuration is cleared, then remove the screwdriver.

If the jumper stays closed, the configuration is cleared on every reboot. Later revisions may have a button; check yours.

MikroTik · Home and office router

Most models

Verified
Method
Software reset: System > Reset Configuration or /system reset-configuration
Where
WinBox, WebFig or terminal
Firmware
RouterOS v6 and v7
Tools
Laptop, WinBox
Expected time
About 2 minutes

Log in, export and back up, then run the reset. Options: keep-users, keep-apps, no-defaults, skip-backup, run-after-reset, caps-mode.

Options as documented for /system/reset-configuration. Check your model's default configuration with /system default-configuration print.

Step-by-Step Guide

Reset and reconfigure a MikroTik router

1 / 14 steps

Step 1

Identify the model and RouterOS version

  1. Read the product code on the label underneath, then check the model and version in the terminal or System > Resources.

    Expected result: You know the exact model and whether it runs RouterOS v6 or v7.

  2. Save a readable export and an encrypted backup, then drag both from the Files window to your laptop.

    Expected result: before-reset.rsc and before-reset.backup are safely off the router.

  3. If you can log in, use System > Reset Configuration. Leave No Default Configuration off unless you will build every rule yourself.

    Expected result: You have chosen a software reset, or the button if you are locked out.

  4. Find the recessed Reset (or RES) button near the ports or power jack. Check your model's manual if you cannot see it.

    Expected result: You can reach the button with a pin while plugging in power.

  5. Unplug the power. Hold the reset button, plug the power back in, and release as soon as the user LED starts flashing.

    Expected result: The LED flashes and the router starts resetting the configuration.

  6. Wait a minute or two while it loads the default configuration. Do not hold the button longer: solid LED is CAP mode, LED off is Netinstall.

    Expected result: The lights settle and the router is running its default configuration.

  7. On most hAP, hEX and RB models ether1 is the WAN. Plug the laptop into ether2 and set its network adapter to obtain an address automatically.

    Expected result: The laptop gets an address in 192.168.88.x from the router.

  8. Open WinBox, choose the Neighbors tab and click the router's IP address, or its MAC address if the IP shows 0.0.0.0. Log in as admin.

    Expected result: WinBox opens the RouterOS menu: Quick Set, Interfaces, IP, System and more.

  9. For most fibre and cable ISPs, check IP > DHCP Client on ether1 shows bound. For PPPoE, add a PPPoE client in PPP > Interfaces with the ISP's details.

    Expected result: ether1 (or pppoe-out1) has a public or ISP address and a default route.

  10. Confirm the bridge has 192.168.88.1/24 in IP > Addresses, or your own range. Check IP > DHCP Server runs on the bridge with a sensible pool.

    Expected result: Wired and wireless devices receive addresses automatically.

  11. In IP > DNS add upstream servers if your ISP does not supply them. Allow Remote Requests is needed for LAN clients, but only with the WAN firewall in place.

    Expected result: The router and LAN devices can resolve names.

  12. Use the WiFi menu on RouterOS 7.13+ with wifi-qcom packages, or the Wireless menu on older radios. Set the country, network name and a WPA2 or WPA3 passphrase.

    Expected result: Both bands broadcast your network name with a strong passphrase.

  13. Leave the default input and forward rules in IP > Firewall. Set a long admin password, or create a named full user and remove admin.

    Expected result: The router is protected from the WAN and only you can log in.

  14. In System > Packages click Check For Updates and install, then System > RouterBOARD > Upgrade and reboot. Test with ping and traceroute.

    Expected result: The router runs current firmware and reaches the internet by IP and by name.

Troubleshooting

Common problems and how to fix them

1 The LED never flashes when holding reset

Likely cause Button pressed too late, or held before power and released early (backup loader only).

Solution Unplug power, hold the button, apply power and keep holding until the LED flashes. A second person can help with the plug.

2 The router came up in CAP mode

Likely cause The button was held until the LED went solid.

Solution Reset again and release as soon as the LED starts flashing, or run /system reset-configuration from a MAC WinBox session.

3 The router is waiting for Netinstall

Likely cause The button was held until the LED turned off.

Solution Power-cycle without holding the button. It boots normally if RouterOS is intact.

4 WinBox shows the router as 0.0.0.0

Likely cause No IP address on that port, for example after no-defaults.

Solution Click the MAC address to connect, then add an address under IP > Addresses.

5 Router not listed in WinBox Neighbors

Likely cause Laptop firewall blocking discovery, laptop on ether1 (WAN), or a faulty cable.

Solution Move to ether2, allow WinBox through the firewall, give the adapter an IPv4 configuration, and try another cable.

6 DHCP client stuck on searching

Likely cause ISP device not connected to ether1, ISP requires PPPoE, or the ISP locks to a MAC address.

Solution Check the cable and ONT, ask the ISP which connection type and whether the old MAC must be cloned.

7 Internet works by IP but not by name

Likely cause No DNS servers set, or Use Peer DNS off.

Solution Add DNS servers in IP > DNS and check Dynamic Servers. Test with /ping google.com.

8 Wi-Fi menu missing or different from the guide

Likely cause RouterOS v6, or v7 with the legacy wireless package instead of wifi-qcom.

Solution Use the menu your router shows: Wireless on older radios, WiFi on RouterOS 7.13+ with wifi-qcom packages.

9 Check For Updates finds no newer v7

Likely cause Upgrading from v6 directly, or DNS problems.

Solution Select the upgrade channel and install v7.12.1 first, then check again. Confirm the router can resolve upgrade.mikrotik.com.

10 Locked out after resetting remotely

Likely cause The default configuration blocks management from the WAN.

Solution Someone must connect on site to a LAN port. Plan remote work with a second path or do resets on site only.

In Depth

In Depth

A reset wipes a MikroTik router back to its default configuration, or to nothing at all. Done well it takes twenty minutes; done in a hurry it erases your ISP login, Wi-Fi and firewall, so back up first and know which reset you need.

Warning A reset erases the whole configuration: ISP login, VLANs, Wi-Fi, port forwards, VPNs, hotspot and firewall rules. Export and back up first. If the internet has simply stopped, work through MikroTik internet connection problems before you reset anything.

Reboot, reset, Netinstall or restore?

Action What it does When to use it
Reboot Restarts the router. Configuration is kept. A router that has frozen or after an update.
Configuration restore Loads a .backup file or runs an exported .rsc script. You changed something and want yesterday's working set-up back.
Configuration reset Clears the configuration and, by default, loads the factory default configuration. You are starting again, taking over a router, or have lost the password.
Netinstall Reinstalls RouterOS itself over Ethernet from a Windows PC (or netinstall-cli on Linux). Failed upgrade, damaged installation, or a forgotten password where a reset is not enough.

MikroTik is clear that a forgotten password cannot be recovered. The supported routes are a configuration reset or a Netinstall, both of which erase the configuration. Only do this on equipment you own or manage.

Back up before you touch the button

Make two copies. /export file=before-reset writes a readable script you can open in a text editor and copy settings from. /system backup save name=before-reset password=… makes an encrypted binary backup. MikroTik says a backup restores reliably only on the device it was made on, and on the same RouterOS version, because it contains the device's MAC addresses. On RouterOS 7 the export hides passwords and keys unless you add show-sensitive, and it never includes user passwords, certificates or SSH keys. Download both files from WinBox's Files window to your laptop. Backups contain passwords and keys, so store them safely.

The software reset makes its own backup unless you choose skip-backup, but that file stays on the router you are rebuilding.

The reset button, as MikroTik documents it

What happens depends on when you press and how long you hold. MikroTik's RouterOS configuration reset page describes:

  • Press and hold before applying power, release after about 3 seconds: loads the backup RouterBOOT loader. It is for recovery after a failed RouterBOOT upgrade.
  • Hold while applying power, release when the LED starts flashing: resets the RouterOS configuration to defaults. MikroTik gives no fixed number of seconds for this; watch the LED.
  • Keep holding about 5 more seconds after the flashing starts, until the LED turns solid: release to enable CAPs mode, where the device looks for a CAPsMAN controller.
  • Keep holding until the LED turns off (blinking, then solid, then off): release for Netinstall. The device waits for a Netinstall server.

The solid-LED stage is never the normal default configuration. On wireless models such as the hAP ax² and hAP ac², the hardware manuals call it CAP mode. The hEX and RB4011 manuals, for wired routers, say it clears all configuration and bridges all interfaces. MikroTik's CAP default configuration is similar: ether1 becomes a management port with a DHCP client and the other Ethernet ports are bridged. So if you release at the solid LED you lose the router's firewall and NAT set-up, and you should reset again. The hEX and RB4011 manuals give about 20 seconds for the Netinstall stage. Read the manual for your exact model. Very old boards such as the RB750, RB751 and RB951 had a reset jumper hole under a rubber foot instead; leaving that jumper closed clears the configuration on every boot.

Resetting from WinBox or the terminal

If you can still log in, System > Reset Configuration or /system reset-configuration is cleaner than the button. In WinBox 4 the dialog shows Keep users, Keep apps, CAPS Mode, No Default Configuration, Do Not Backup and Run After Reset. The documented command options are:

Option Effect
keep-users=yes Keeps the existing users and passwords.
no-defaults=yes Clears everything and does not load the default configuration: no IP address, no DHCP and no firewall.
skip-backup=yes Skips the automatic backup made before the reset.
run-after-reset=file.rsc Runs your own script after the reset to load a custom configuration.
caps-mode=yes Resets into CAP mode for CAPsMAN-managed access points.

MikroTik's own first-time guide says removing the default configuration is only for advanced users, because it also removes the built-in security rules. If a Netinstall configuration script was used when the router was installed, a reset runs that script again.

Warning Never reset a router you reached over the internet or a VPN. The default configuration blocks management from the WAN side, so you will lose the connection and someone will have to visit the site.

What you get after a reset

MikroTik applies a default configuration that depends on the device type. You can always see it with /system default-configuration print.

Default type Typical devices What it sets up
AP Router hAP, hEX, RB4011, mAP, wAP and similar ether1 is the WAN with a DHCP client and firewall; the other ports (and Wi-Fi) are in a LAN bridge with 192.168.88.1/24, a DHCP server, DNS and NAT.
IP Only CCR routers and some RB models Only 192.168.88.1/24 on ether1 (or combo1/sfp1). No DHCP, NAT or firewall is documented.
Switch CRS without wireless All ports switched, 192.168.88.1/24 on the bridge.

Earlier MikroTik models use the user admin with no password. Later models are made with a unique default password for each device, printed on the serial number sticker, on the box and on the quick guide sheet. A standard reset puts that same password back, so photograph the label before you mount the router. If the sticker is missing, MikroTik says to ask the distributor that supplied the router, giving the serial number.

RouterOS v6 or v7

Check the version under System > Resources first:

  • Wi-Fi menus. RouterOS 7.13 and later manage Wi-Fi 5 wave2 and Wi-Fi 6 radios in the WiFi menu (/interface wifi, with the wifi-qcom or wifi-qcom-ac package). Older radios stay on the legacy Wireless menu (/interface wireless). Follow the menu your router actually shows.
  • Upgrading from v6. You cannot jump to the newest v7 in one go. MikroTik says to choose the "upgrade" channel, install the intermediate v7.12.1 first, then check for updates again.
  • Bootloader. After any RouterOS update, run System > RouterBOARD > Upgrade and reboot.
  • WinBox. WinBox 4 runs natively on Windows, macOS and Linux and has a newer layout; the menu names in this guide are the same.

Firewall, DNS and the password

Keep the default firewall. Its input rules protect the router and its forward rules protect the devices behind it. Add specific rules for port forwards rather than deleting the defaults.

DNS is set under IP > DNS. "Allow Remote Requests" lets LAN devices use the router as their DNS server. MikroTik advises limiting port 53 to known hosts, which the default firewall does by dropping input from the WAN; if you have removed those rules, you have an open DNS resolver.

Set a long, unique admin password immediately. Better still, create a named full-access user, test it, then remove admin. In Zanzibar, keep the router on a UPS during the update: a power cut mid-upgrade is a common reason for needing Netinstall.

When to call Extrion

If the router runs a hotel, office or multi-site network, has VLANs, VPNs or a hotspot, or you have no backup, let an engineer plan the rebuild so the business is not offline while you guess. Extrion can configure and document MikroTik routers as part of our networking, Wi-Fi and cabling service, or contact us with your model and RouterOS version.

This guide is general information. Procedures, product features and firmware change, so check your own equipment's documentation before you start.

FAQs

Frequently asked questions

Will resetting a MikroTik fix my internet?

Rarely on its own. Most outages are the ISP line, the PPPoE login, DNS or a changed default route. Work through the internet troubleshooting guide first and reset only when you plan to rebuild.

I forgot the MikroTik password. Can it be recovered?

No. A password you set yourself cannot be recovered. You can reset the configuration with the button or reinstall with Netinstall, then restore an exported configuration if you have one. After a standard reset the router goes back to its factory password: blank on older models, or the one on the sticker on newer ones.

Which port do I plug the ISP into after a reset?

On devices with the AP Router default, ether1 is the WAN and the other ports are LAN. On CCR routers the default only puts 192.168.88.1 on ether1, so you build the WAN yourself. Check /system default-configuration print if unsure.

What does no-defaults do?

It clears the configuration without loading MikroTik's default set-up. The router comes up with no IP address, no DHCP server and no firewall, and you reach it by MAC address in WinBox.

Can I restore my old backup onto a new router?

Not reliably. MikroTik says a binary backup restores reliably only on the device it was made on, because it carries that device's MAC addresses. For a new router, open the exported .rsc file and re-enter or import the settings, adjusting interface names.

Do I need to update RouterOS after a reset?

Yes. Check for updates on the stable channel, install, then upgrade the RouterBOARD firmware and reboot. Do it on a UPS so a power cut cannot interrupt it.

Need a Reliable Business Network?

We design, cable and configure routers, switches and firewalls that stay up, with documentation you can hand to the next engineer.

Still stuck, or want more detail?

Ask for clarification, tell us a problem this did not solve, or suggest a topic. An engineer reads every message, and we use them to improve the Knowledge Center.

What would you like to do?
online now People browsing Extrion Tech right now

Scan to open this page

Point your phone camera at the code to open this page on your phone, or share it with someone nearby.

QR code that opens this page

https://extrion.co.tz/knowledge-center/reset-mikrotik-router-reconfigure

Download QR

Let’s start with you Who should our team speak to about this service?
How should we reach you?

Spam protection