Wifi password forgot? How to recover it fast
In this article
If you've forgotten your Wi-Fi password, you can usually recover it by checking your router's label, accessing the router's admin interface, or retrieving it from a connected device like a Windows PC, Mac, or smartphone. These methods are safe, legal, and work on most home networks.
Why Wi-Fi passwords get lost
- Routers are often set up once and never accessed again, making passwords easy to forget.
- Household changes—like roommates moving out or family members switching devices—can lead to confusion over the current password.
- Default passwords printed on routers are sometimes changed for security but not recorded.
- Rebooting or replacing a device may prompt for the network password, even if it was previously connected automatically.
Unlike online accounts, Wi-Fi networks don’t offer a “forgot password” link. The password is stored locally on your router and connected devices, not in the cloud. This means recovery depends on accessing physical hardware or previously connected gadgets.
How Wi-Fi password storage works
When you connect a device to a Wi-Fi network, the password (also called a pre-shared key or PSK) is stored in that device’s network settings. On home networks using WPA2 or WPA3 encryption, the password is saved securely, often encrypted in the system’s credential manager.
Routers also store the password in their firmware settings. Even if you change it, the current password is always active on the router. However, older or ISP-provided routers may not allow easy access to this information without login credentials.
Modern operating systems like Windows, macOS, Android, and iOS all have built-in tools to reveal saved Wi-Fi passwords—provided you have administrative or user-level access to the device.
How to recover your Wi-Fi password
The best method depends on what devices you have access to and whether you know the router login.
- Check the router label: Most routers have a sticker on the back or bottom listing the default network name (SSID) and password. If you never changed it, this is your password.
- Use a Windows PC: On a computer already connected to the network:
- Open Command Prompt as administrator.
- Type
netsh wlan show profile name="NETWORK_NAME" key=clear(replace NETWORK_NAME with your Wi-Fi name). - Look for “Key Content” under Security settings—it shows the password.
- Use a Mac:
- Open Keychain Access (found in Applications > Utilities).
- Search for your Wi-Fi network name.
- Double-click the result, check “Show password,” and enter your Mac user password.
- Use an Android phone:
- Go to Settings > Network & Internet > Wi-Fi.
- Tap the network name, then “Share.”
- You may need to authenticate with a fingerprint, PIN, or password. A QR code appears—scanning it reveals the password, or you can view it directly on some devices (like Samsung with “View” option).
- Use an iPhone:
- iOS does not allow viewing saved Wi-Fi passwords directly, even if the device is connected.
- Workarounds include syncing passwords to iCloud Keychain and viewing them on a Mac, or using a shared network QR code if another device generated one.
- Log into the router:
- Find the router’s IP address (commonly 192.168.0.1 or 192.168.1.1).
- Type it into a web browser on a connected device.
- Log in with the admin username and password (often “admin/admin” or printed on the router).
- Navigate to Wireless Settings to see or change the password.
Router access and admin credentials
Accessing your router’s admin panel is powerful but requires correct login details. If you’ve changed the default admin password and forgotten it, you may need to reset the router to factory settings.
A factory reset erases all settings, including the Wi-Fi password, so you’ll need to reconfigure the network. To reset:
- Press and hold the reset button (usually a small pinhole) for 10–15 seconds.
- Wait for the router to reboot.
- Use the default login and network details from the label.
This should be a last resort, as it disconnects all devices and may require reconfiguring port forwarding, parental controls, or custom DNS settings.
Security and safety considerations
Retrieving your own Wi-Fi password from a device you own and control is safe and fully within your rights. However, attempting to access network passwords on devices you don’t own or without authorization is a violation of privacy and potentially illegal.
Always use strong, unique Wi-Fi passwords. Avoid common words or easily guessed sequences. A strong password is at least 12 characters long and includes a mix of uppercase, lowercase, numbers, and symbols.
If you reset your router or change the password, remember to reconnect all devices—smart TVs, thermostats, security cameras, and phones. Some IoT devices may require manual reconfiguration.
Alternatives to traditional Wi-Fi passwords
Modern networks offer easier, more secure alternatives:
- Wi-Fi Protected Setup (WPS): Press a button on the router and device to connect without entering a password. However, WPS has known security flaws and should be disabled if not in use.
- QR codes: Many routers and phones let you generate a QR code that, when scanned, connects a device automatically.
- Network sharing via Bluetooth or NFC: Some Android devices support tapping phones together to share Wi-Fi access.
- Apple’s Wi-Fi sharing: On iOS and macOS, users can share network access between Apple devices using AirDrop, without revealing the password.
These methods reduce the need to type or remember passwords but rely on physical access or trusted devices.
Frequently Asked Questions
Can I see my Wi-Fi password on my iPhone?
No, iOS does not allow users to view saved Wi-Fi passwords directly. However, if you use a Mac linked to the same Apple ID, you can view it in Keychain Access. Alternatively, someone else on the network can generate a QR code to share the network.
What if I forgot both my Wi-Fi and router password?
If you can’t access the network or the router admin page, your only option is to perform a factory reset on the router. This clears all settings and restores the default Wi-Fi password shown on the label.
Is it safe to use the netsh command on Windows?
Yes. The netsh command is a built-in Windows tool for managing network settings. It only works on networks you’re already connected to and requires administrator access, so it poses no risk when used properly.
Why can’t I log into my router’s admin page?
Common reasons include entering the wrong IP address, using incorrect login credentials, or being connected to a different network. Make sure you're on the correct Wi-Fi and try common addresses like 192.168.1.1. If login fails, the password may have been changed—try defaults or reset the router.
Does resetting the router change the Wi-Fi password?
Yes. A factory reset reverts the router to default settings, including the default Wi-Fi network name and password printed on the device label. You’ll need to reconnect all devices using these defaults.
Can I recover a Wi-Fi password from a disconnected device?
Generally, no. Devices only store passwords for networks they’ve joined. If a device was reset, lost, or never connected, it won’t have the password. Connected devices before a password change may still store the old one, but they won’t be able to reconnect.