Locked Out of Your Router? Here's How to Get Back In — and Make Sure It Never Happens Again
Photo: frustrated person locked out computer router home network troubleshooting, via network-guides.com
When the Gateway to Your Network Becomes a Locked Gate
It happens more often than most people care to admit. You need to adjust a setting, troubleshoot a connectivity issue, or add a new device to your network — and then the login screen appears. You type what you believe to be the password. Wrong. You try a few variations. Still wrong. After a handful of failed attempts, you may find yourself fully locked out of your own router's administrative interface, staring at an error message with no obvious way forward.
Router lockouts are among the most common support requests in home networking. They affect technically savvy users and first-time router owners alike. The good news is that recovery is almost always possible, and the path back in is more straightforward than you might expect — provided you know which steps to take for your specific equipment.
This guide is designed to walk you through every available recovery option, organized by manufacturer, and to leave you with a clear plan for preventing the same situation from recurring.
Before You Reset Anything: Try These Steps First
A full factory reset should be treated as a last resort, not a first instinct. Before you reach for that reset button, work through the following checks — they resolve the majority of lockout situations without requiring you to reconfigure your entire network from scratch.
Verify the IP Address
Make sure you are navigating to the correct local IP address for your router's admin panel. The two most common defaults are 192.168.1.1 and 192.168.0.1, but some manufacturers use alternatives such as 192.168.100.1 or 10.0.0.1. You can confirm your router's actual IP address by opening Command Prompt on a Windows PC and typing ipconfig — look for the value listed next to Default Gateway. On a Mac, go to System Settings > Network > your active connection > Details and check the Router field.
Try the Factory Default Credentials
If you never changed your router's admin password — or if you are not certain whether you did — it is worth attempting the factory default credentials before taking any further action. Common defaults include admin/admin, admin/password, and admin/(blank). RouterLogin.net maintains a searchable reference for default login credentials organized by manufacturer and model, which can save you considerable time.
Check for a Credentials Sticker
Many routers, particularly those supplied by ISPs, have a label affixed to the bottom or back of the unit that lists the default admin username and password. If the credentials on that sticker have never been changed, they will still work. If they have been changed and you cannot remember the new password, you will need to proceed to a reset.
Clear Browser Cache or Try a Different Browser
Occasionally, a corrupted browser session or cached data can interfere with the login process, producing error messages that appear to be credential failures. Clear your browser's cache and cookies, or attempt to access the admin panel using a different browser or an incognito window before concluding that you have a genuine password problem.
Recovery Methods by Router Brand
If the steps above have not resolved the issue, it is time to consider a factory reset. This process restores your router to its original out-of-box state, erasing all custom configurations — including your Wi-Fi network name, password, port forwarding rules, and any parental controls. You will need to set everything up again from the beginning.
Here is how to perform a factory reset on the most widely used router brands in the United States.
TP-Link
Locate the Reset button on the back or bottom of the router. Using a straightened paperclip or a SIM ejector tool, press and hold the button for approximately 10 seconds while the router is powered on. The indicator lights will flash or change, signaling that the reset is in progress. Once the device reboots, you can log in using TP-Link's default credentials (admin/admin for most models) and reconfigure from scratch.
Netgear
Netgear routers feature a Restore Factory Settings button, typically recessed on the rear panel. With the router powered on, press and hold the button for seven seconds using a pin or paperclip. The Power LED will begin to blink amber, then turn solid green when the reset is complete. Default credentials for most Netgear models are admin/password.
Linksys
On most Linksys routers, the reset button is located on the back of the device. Hold it down for 10 seconds while the router is on. The power light will flash, and the router will reboot with factory settings restored. Default login credentials are typically admin/admin.
ASUS
ASUS provides two reset options. A soft reset can be performed through the admin interface under Administration > Restore/Save/Upload Setting. For a hardware reset, hold the WPS/Reset button on the rear panel for approximately 10 seconds until the power LED begins flashing. Default credentials are admin/admin.
Eero (Amazon)
Eero devices are managed through Amazon's mobile app rather than a traditional browser-based interface. To factory reset an Eero unit, press and hold the small button on the back of the device for approximately 10 seconds until the LED pulses white. You will then need to set the device up again through the Eero app using your Amazon account credentials.
Xfinity / Comcast Gateway Devices
For Xfinity-supplied gateways, locate the Reset button on the back of the device and hold it for 30 seconds. Note that Xfinity customers can also use the Xfinity app or the xFi portal to manage certain network settings, which may allow credential recovery without a full hardware reset in some circumstances.
After the Reset: Reconfiguring Your Network
Once your router has been restored to factory defaults, connect a device to the router — either via ethernet cable or by joining the default Wi-Fi network listed on the device's label — and navigate to the admin interface. You will be prompted to go through initial setup.
During this process, prioritize the following:
- Set a strong, unique admin password that is different from your Wi-Fi password.
- Create a memorable but secure Wi-Fi network name and password.
- Update the router's firmware immediately, as factory resets often roll back to an older firmware version.
- Re-enter any custom settings such as static IP assignments, port forwarding rules, or parental controls.
Preventing Future Lockouts Without Compromising Security
The most effective way to avoid a repeat lockout is to implement a reliable credential management strategy from the outset. The following approaches are practical, proven, and require minimal ongoing effort.
Use a Password Manager
Applications such as Bitwarden (free and open-source), 1Password, and Dashlane store your router admin credentials securely and make them accessible across your devices. This eliminates the need to memorize the password while ensuring it remains strong and unique.
Maintain Secure Physical Documentation
For users who prefer not to rely on software, writing your router credentials in a dedicated notebook and storing it in a secure location at home is a perfectly valid approach. The key is consistency — update the record every time you change a password, and keep it in a location that is not immediately visible to guests.
Set a Calendar Reminder for Password Reviews
Schedule a quarterly or semi-annual reminder to verify that you still have access to your router's admin panel and that your stored credentials are accurate. This takes less than two minutes and eliminates the unpleasant surprise of discovering a lockout precisely when you need access most.
Label the Router Discreetly
Some households find it practical to write the current admin password on a small piece of tape affixed to the router itself. This is acceptable as a convenience measure, provided the router is located in a space that is not accessible to visitors or anyone who should not have administrative network access.
A Lockout Is an Opportunity
As frustrating as a router lockout can be in the moment, it presents a genuinely useful opportunity. The process of regaining access forces you to audit your router's configuration, update credentials, and apply firmware patches that may have been pending for months. Approached with the right mindset, a lockout is less a crisis and more a scheduled maintenance event that you simply did not plan for.
With the recovery steps and preventative strategies outlined in this guide, you now have everything you need to get back online quickly — and to ensure that the next time you sit down at that login screen, the door opens on the first try.