Where your computer stores the WiFi password you've already connected to
Your computer remembers every WiFi network you've ever joined, including the password. Windows and Mac both keep this information in encrypted storage — you don't need to dig through files or use special tools. You can pull the password out in a few clicks, though the exact steps depend on which operating system you use.
The password is stored locally on your device only. Your router doesn't send it to you; your computer just holds onto it so you don't have to type it in every time. This also means you can only recover a password from a device that has already connected to that network before.
Key Takeaways
- On Windows 11 or 10, open Settings, go to Network and Internet, then WiFi, select your network, and click "Manage known networks" to see the password.
- On Mac, open System Settings, click WiFi, select your network, then click "Details" to find the password in the Security tab.
- You need administrator access on your computer to view saved passwords — Windows will prompt you to confirm, and Mac will ask for your login password.
- If you've never connected to a network on this device, you cannot recover the password from it; you'll need to reset it on the router itself.
Finding your WiFi password on Windows 11 or Windows 10
Open the Settings app by pressing the Windows key and typing "settings," then click the Settings icon. Once inside, select Network and Internet from the left menu, then click WiFi.
Under "Manage known networks," you'll see a list of every network your computer has connected to. Click the network name you want the password for, then click Manage. A new window opens; scroll down and look for Security type and Security key. The security key is your WiFi password. Windows will ask you to confirm you're an administrator before showing it — click Yes when prompted.
If you don't see the password field, or if it appears blank, it means your computer connected to that network using a different method — for example, a PIN or a QR code instead of a typed password. In that case, you'll need to reset the password on the router itself.
Finding your WiFi password on Mac
Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions). Click WiFi in the sidebar, then look for your network name in the list on the right side of the screen.
Click your network name, then click the Details button. A window opens with several tabs; click the Security tab. You'll see a field labeled Password — but it will show dots instead of the actual characters. Check the box next to Show password, and Mac will ask you to enter your login password. Type it in and click OK. Your WiFi password now appears in plain text.
If the password field is grayed out or missing, your Mac connected to that network without storing a password — usually because you used a different authentication method. You'll need to reset the password through your router's settings.
What to do if you can't find the password on your computer
If you've never connected to the network on this device, or if the password field is blank or missing, your computer doesn't have the password stored. This is actually common with guest networks, networks that use PIN-based login, or networks you connected to years ago and then forgot about.
Your only option is to reset the password on the router itself. Log into your router's admin panel — usually by typing your router's IP address (often 192.168.1.1 or 192.168.0.1) into a web browser. You'll need the router's admin username and password, which are often printed on a sticker on the back of the device. Once logged in, look for a WiFi settings or wireless settings section, and you can change the password there.
If you don't know the router's admin password, you can perform a factory reset by holding down the reset button on the back of the router for 10 to 15 seconds. This erases all settings and returns the router to its default password — but it also disconnects every device currently on that network.
Why your computer can show you the password at all
Windows and Mac store WiFi passwords in encrypted form on your hard drive. The encryption is tied to your user account, so only someone with access to your computer — or someone who knows your login password — can view these stored passwords. This is why both systems ask for confirmation (administrator access on Windows, your login password on Mac) before showing them to you.
This also means that if someone else uses your computer, they can potentially see every WiFi password you've ever connected to. If you're concerned about this, you can delete individual networks from your known networks list. On Windows, click "Manage known networks," select a network, and click Forget. On Mac, click the network name in WiFi settings, then click Remove.
Recovering a password you've forgotten entirely
If you've forgotten your WiFi password and you don't have any device connected to that network, you cannot recover it from your computer. The password only exists on the router and in the memory of devices that have connected before.
Your only path forward is to access the router directly. If you can physically reach the router, you can reset it to factory defaults and set up a new password. If the router is at someone else's house or business, you'll need to contact the person who manages it and ask them to reset the password or tell you what it is.
Frequently Asked Questions
Can I see WiFi passwords for networks I'm not currently connected to?
Yes. Your computer stores passwords for every network it has ever connected to, whether you're currently on that network or not. You can view any of them using the same steps — just select a different network name from the list.
What if my computer shows a password but it doesn't work when I try to connect from another device?
The password your computer shows is correct — it's what your computer used to connect. The problem is usually that someone has changed the WiFi password on the router since your computer last connected. You'll need to ask the network owner for the current password, or reset the router to factory defaults and create a new one.
Is it safe to write down or share the password I find this way?
The password itself is just a string of characters — it's safe to write down or share with people you trust. However, anyone with that password can connect to your network and potentially access other devices on it. Only share your WiFi password with people you know and trust.
Will resetting my router erase my internet history or files?
A factory reset of the router only erases the router's settings — it does not touch your computer's files, history, or any other data. It will disconnect all devices from WiFi and erase any custom settings you've made to the router (like port forwarding or parental controls), but your computer itself is unaffected.