Where your laptop stores the WiFi password

Your laptop keeps the WiFi password in its network settings, not in a file you can open like a document. Windows and Mac both store this information in encrypted form, but you can view it through the settings menu or command line. The password appears in plain text once you access the right location — you do not need special software or tools.

The location differs between Windows and Mac, and the steps take about two minutes on either system. You will need administrator access to your computer to see the password. If you share your computer with others, they can follow these same steps to view any password you have saved.

Key Takeaways

  • On Windows, open Settings, go to Network and Internet, select your WiFi network, and click "Manage known networks" to view the saved password.
  • On Mac, open System Settings, go to WiFi, select your network, and click "Details" to see the password in the WiFi password field.
  • Both systems require you to be logged in as an administrator to view saved passwords.
  • If you cannot see the password field, your network may use a login page instead of a traditional password, which is common on public WiFi.

Finding the password on Windows 10 and Windows 11

Open Settings by pressing the Windows key and typing "Settings," then pressing Enter. Click "Network and Internet" in the left sidebar. Select "WiFi" from the menu, then scroll down and click "Manage known networks."

Find the network name you want the password for and click it. Click "Forget" if you want to remove it from your saved networks, or click "Properties" to view the details. Scroll down to the "Security type" section and look for the "Security key" field — this is your WiFi password in plain text. You may need to click "Show" next to the password field if it appears as dots.

Finding the password on Mac

Click the Apple menu in the top-left corner and select "System Settings." Click "WiFi" in the sidebar. Find your network name in the list and click the information icon (a circle with an "i") next to it, or select the network and click "Details."

A window opens showing your network information. Look for the "WiFi password" field near the bottom. The password appears in dots by default. Click "Show password" and enter your Mac login password when prompted. Your WiFi password now appears in plain text.

Using Command Prompt on Windows for faster access

If you prefer not to navigate menus, you can view your password through Command Prompt. Right-click the Windows Start button and select "Terminal (Admin)" or "Command Prompt (Admin)." Type the following command and press Enter: netsh wlan show profile name="YourNetworkName" key=clear, replacing "YourNetworkName" with your actual network name.

The results display in the terminal window. Look for the line that says "Key Content" — this is your WiFi password. If you have spaces in your network name, put the name in quotation marks as shown above. This method works on Windows 10 and Windows 11.

Using Terminal on Mac for faster access

Open Terminal by pressing Command + Space, typing "Terminal," and pressing Enter. Type the following command and press Enter: security find-generic-password -wa YourNetworkName, replacing "YourNetworkName" with your actual network name. Enter your Mac login password when prompted.

Terminal displays your WiFi password on the next line. If your network name has spaces, put it in quotation marks like this: security find-generic-password -wa "Your Network Name". This method is faster than navigating the settings menu if you need the password quickly.

What to do if you cannot see the password

Some networks do not use a traditional password. Public WiFi at coffee shops, libraries, and airports often use a login page instead — you connect to the network, then a browser window opens asking for an email address or agreement to terms. These networks have no password to view because the security happens through the login page, not through a pre-shared key.

If you see "Security type: Open" in Windows or no password field on Mac, your network does not use a password. You can still connect to it, but anyone in range can see the network name and connect without entering anything. If you need to share access with someone else, tell them the network name and they can connect the same way you did.

Sharing your password safely with others

Once you have the password, you can share it by text, email, or verbally — it is just a string of characters. The person receiving it types it exactly as it appears, including capital letters and numbers. WiFi passwords are case-sensitive, so "MyPassword123" is different from "mypassword123."

If you want to change who can access your network, you can change the password through your router settings, not through your laptop. Log into your router's admin page (usually 192.168.1.1 or 192.168.0.1 in your browser) and look for the WiFi or wireless settings. Changing the password there disconnects all current devices and requires everyone to reconnect with the new password.

Frequently Asked Questions

Can I see passwords for networks I am not currently connected to?

Yes, on both Windows and Mac you can view passwords for any network your computer has connected to before, even if you are not connected now. The password is stored in your computer's memory. If you have never connected to a network, it will not appear in your saved networks list.

What if I forgot my Windows or Mac login password?

You cannot view your WiFi password without logging into your computer first. If you forgot your login password, you will need to reset it through your computer's recovery options. On Windows, use the password reset option on the login screen. On Mac, use your Apple ID to reset your password or boot into Recovery Mode.

Is it safe to view my WiFi password on a shared computer?

Anyone with administrator access to your computer can view your WiFi password using these same steps. If you share your computer with others and want to keep your password private, consider creating a separate user account for them without administrator rights, or change your WiFi password after they stop using the computer.

Why does my password show as dots or asterisks?

Both Windows and Mac hide passwords by default for security. Click "Show" or "Show password" and enter your computer login password to reveal it in plain text. This prevents someone looking over your shoulder from seeing your password on screen.

Can I view my password if I am using a guest account?

No, guest accounts do not have administrator access, which is required to view saved passwords. You need to log in with an administrator account. If you do not have one, contact the person who set up the computer.