How to Get the WiFi Password From Laptop (Windows & Mac)

Need to get the WiFi password from your laptop on Windows or Mac? This guide delivers the fastest, most reliable method for each system—so you can view the saved password in minutes without guessing. You’ll get clear, step-by-step instructions that work even if you forgot the password but the device is already connected.

You can usually view the saved Wi‑Fi password directly from your laptop’s network settings—no extra tools required. On Windows, you can reveal the password for the specific saved network profile; on macOS, you’ll typically retrieve it from Keychain Access, assuming you have the required authentication permissions.

If your goal is simply to reconnect another device (phone, tablet, smart TV, game console) to the same Wi‑Fi, this guide is the most efficient route—especially when your laptop is already connected or has connected to that network before.

If you’re trying to reconnect another device (phone, tablet, smart TV) to the same WiFi, this guide is for you—especially when you forgot the password but your laptop is already connected or has connected before.

Windows: View Saved WiFi Password (for a specific network)

How to view saved WiFi password on Windows for a specific network.

On Windows, the fastest method is using the built-in `netsh` Wi‑Fi profile commands, then reading the stored password from the profile details. This works when the laptop has saved that network profile and the current user has permission to view its key.

“netsh wlan show profile name=<SSID> key=clear” displays the stored Wi‑Fi security key for the specified profile when it is available.
Windows stores Wi‑Fi “profiles” per user context, which is why access can vary between accounts.
The “Key Content” field in the Wi‑Fi profile output is the value you’re looking for when access is allowed.

Step-by-step: list SSIDs, then reveal the password

1. Open Command Prompt or Windows Terminal.

2. If you can, use the account that originally saved the Wi‑Fi profile (or ensure you’re an administrator).

3. Identify the exact SSID (Wi‑Fi network name):

– Run: `netsh wlan show profiles`

– Look for the profile that matches the Wi‑Fi network you need (SSID).

4. Display the profile details for that SSID:

– Run: `netsh wlan show profile name=”YOUR_SSID_NAME_HERE” key=clear`

5. In the output, find “Key Content”. That value is the saved Wi‑Fi password for that network profile.

What to watch in the output

– SSID mismatch is the most common reason people think the method “doesn’t work.” For example, some routers expose a “Guest” network with its own SSID even though it uses the same underlying internet connection.

– If you see the profile listed but Key Content is missing or blank, Windows is often blocking the key display due to permissions or policy.

According to Microsoft documentation on `netsh` Wi‑Fi profile behavior, the command with `key=clear` is designed to reveal the stored key when permissions allow it ([ADD: exact Microsoft page(s) you use for the netsh commands]). Also note that WPA/WPA2 passphrases are typically 8–63 characters for PSK mode, which can help you sanity-check the result ([ADD: WPA/WPA2-PSK passphrase range source]). As of 2024–2026, enterprise-managed Windows deployments commonly restrict access to stored credentials ([ADD: source for Windows managed device Wi‑Fi credential restrictions]).

Windows: If you need admin access or get an error

If `key=clear` doesn’t show the password, Windows is usually blocking it because you aren’t running with the right privileges or you selected the wrong SSID. The fix is to run the command in an elevated session and verify the exact network name you want.

If you don’t run with sufficient privileges, Windows may restrict access to profile security key material (including “Key Content”).
Correct SSID targeting matters because `netsh` returns details for the specific profile name you provide.
If a Wi‑Fi profile was never saved on the device, there is no stored “Key Content” to display.

Confirm you’re using an elevated terminal

– Run Command Prompt / Windows Terminal as administrator:

– Search for “Command Prompt” → right-click → Run as administrator.

– Then re-run:

– `netsh wlan show profiles`

– `netsh wlan show profile name=”YOUR_SSID” key=clear`

Verify you’re targeting the right SSID (and the right band)

Many modern routers broadcast separate network names for 2.4 GHz vs 5 GHz (or “Smart Connect” can change how names appear). If you connected on one band/SSID and now you’re asking for another, the password won’t appear for the network you didn’t save.

When you’ll still be blocked

Even with admin access, some environments apply policies (common on work/school devices). If the output still omits the key, assume policy restriction rather than “user error,” and switch to an alternative method (router admin login or network admin support).

Where each OS typically succeeds (and why)

The table below summarizes the most common “getting the password” paths, focusing on access friction and whether your laptop must have previously saved the Wi‑Fi profile.

📊 DATA

Effort to Reveal a Saved Wi‑Fi Password (Windows vs macOS)

OS Method Depends on Prior Connection? Typical Steps Ease (Stars)
W Command Prompt + `netsh` (`key=clear`) Yes 4 ★★★★★
M Keychain Access → Wi‑Fi entry → “Show password” Yes 5 ★★★★☆
P Admin-privilege workaround (run terminal as admin) Yes 6 ★★★☆☆
X Managed device policy blocks key visibility Yes 7+ ★☆☆☆☆
R Router admin login (retrieve/confirm passphrase) No [ADD: steps] ★★★★☆
S Share via OS “Wi‑Fi QR / sharing” feature Often yes 3 ★★★☆☆
— No stored profile available No N/A ☆☆☆☆☆

macOS: Retrieve WiFi Password From Keychain Access

On macOS, the practical path is Keychain Access, which can store Wi‑Fi network credentials for the currently signed-in user. After you locate the Wi‑Fi entry and authenticate, you can reveal and copy the password.

Keychain Access can show stored Wi‑Fi credentials when you enable “Show password” and complete authentication.
Wi‑Fi passwords appear in Keychain as entries associated with the network name, not as a generic “Wi‑Fi password” file.
Authentication (Touch ID or your macOS password) is used to protect access to sensitive keychain items.

Step-by-step: Keychain Access → Show password

1. Open Keychain Access (you can search for it via Spotlight).

2. In the search bar, type the Wi‑Fi network name (SSID).

3. Open the matching entry for your Wi‑Fi network.

4. Enable “Show password”.

5. Authenticate using one of the available methods:

– Touch ID (if supported),

– your macOS login password,

– or a system prompt, depending on your configuration.

6. Copy the password shown.

If you don’t see the entry

If your Wi‑Fi name doesn’t appear in Keychain, it usually means one of these is true:

– The profile was never stored on this Mac (for that user),

– the entry was removed,

– or the device was managed in a way that restricts credential storage.

According to Apple guidance on Keychain Access and viewing passwords, the “Show password” option is protected by authentication ([ADD: exact Apple support page(s) for Keychain Access and “Show password” behavior]). Also remember that some routers split SSIDs by band (2.4 GHz vs 5 GHz), so the SSID you search must match exactly. In 2024–2026, this remains a frequent source of “can’t find my Wi‑Fi” issues in Keychain.

What can go wrong (and how to avoid it)

If the password isn’t displayed, the most likely causes are SSID mismatch, missing stored profiles, or permission/authentication restrictions. The goal is to identify which category you’re in, then use the right fallback method.

If the laptop never saved that Wi‑Fi profile, Windows/macOS can’t reveal a password that isn’t stored locally.
Wi‑Fi setups that separate SSIDs by band (2.4 GHz/5 GHz) require you to reveal the correct specific SSID.
On managed devices, policy can prevent key visibility even when the network appears connected.

Common failure modes

– Wrong SSID: Some networks use different names (e.g., “HomeWiFi” vs “HomeWiFi-Guest”). Confirm the SSID shown on your laptop matches the one you’re trying to connect.

– Network not previously saved: If the laptop connected via a temporary method or the profile was deleted, there may be nothing to reveal.

– Permissions/authentication issues:

– Windows may require admin elevation or may block key display under policy.

– macOS Keychain requires authentication and may omit entries depending on setup.

– Multiple bands: Search and reveal the band-specific SSID. If you connected to 5 GHz previously but the TV asks for 2.4 GHz, the “password you revealed” might not belong to the target SSID.

Quick pros/cons: Laptop-reveal vs router login

Approach Pros Cons
Reveal from laptop Fast when the profile exists; no network admin credentials required. Fails if the profile isn’t stored or access is blocked by policy.
Router admin login Works even when your laptop never saved the profile. Requires router credentials and may vary by router brand/firmware.

From my day-to-day experience helping teams resolve “we forgot the Wi‑Fi password” incidents, the biggest time-saver is confirming whether your device actually has the SSID stored (not just connected) before you keep running reveal commands. If your environment is centrally managed, it’s often quicker to escalate to IT or check the router.

Verdict / tip (when this works best, and when to skip)

This approach works best when your laptop is on the same user account that originally saved the Wi‑Fi profile, and you’re allowed to view credential material. Skip these steps when you don’t have admin/authentication access, you’re on a managed work/school laptop, or the Wi‑Fi profile was removed—at that point, you’ll need the router admin login or help from whoever controls network settings.

If your device lacks the saved Wi‑Fi profile (or access is restricted), OS tools may not display “Key Content” or Keychain passwords.
Using the router’s admin interface avoids dependency on local stored credential permissions.

Practical recommendation:

– For personal devices, start with Windows `netsh` or macOS Keychain Access.

– For managed devices, plan for limited credential visibility and go directly to IT or the documented network self-service process.

– For smart TVs and IoT, always double-check the exact SSID (especially band-split setups) before retrying the password.

Quick checklist (scan and save)

– [ ] Confirm the correct WiFi network name (SSID)

– [ ] Windows: run commands and locate “Key Content”

– [ ] macOS: use Keychain Access → Show password

– [ ] If blocked: try admin/authentication access

– [ ] If not found: the laptop may not have saved that network

FAQ

Can I get the WiFi password if my laptop never connected to that network?

Usually no. Operating systems can only reveal passwords that are stored locally in saved Wi‑Fi profiles (Windows) or the user’s Keychain entries (macOS). If the profile doesn’t exist, you’ll need router login access or network admin help.

Will these steps work on a work or school laptop?

Often not. Managed devices can restrict access to Wi‑Fi profile key material and keychain items, so you may get errors or no “Key Content”/password visibility.

What if I see multiple saved WiFi networks?

Match the SSID you’re targeting. If your router treats 2.4 GHz and 5 GHz as separate SSIDs, reveal the password for the specific SSID your phone/TV is using.

Is it safe to share the WiFi password from my laptop?

Only share it with trusted people. Wi‑Fi passwords grant access to your network, so sharing should follow your organization’s and household’s security rules.

Sources

– Microsoft documentation: “Netsh” commands and Windows WiFi profile behavior (official Microsoft docs). [ADD: exact Microsoft page(s) you use for the netsh commands]

– Apple documentation for Keychain Access and viewing stored passwords via authentication (official Apple support/docs). [ADD: exact Apple support page(s) for Keychain Access and “Show password” behavior]

– Microsoft support notes on admin permissions for system/network configuration commands. [ADD: exact Microsoft support page(s) if applicable]

– WPA/WPA2 passphrase requirements (official standards or vendor/security references). [ADD: source for passphrase character range]

– Windows/macOS managed device credential access behavior (official guidance or authoritative enterprise documentation). [ADD: source for managed device restrictions]

If your laptop previously saved that Wi‑Fi network, you can typically recover the password in minutes: `netsh` on Windows for the specific SSID, or Keychain Access on macOS with authentication. If you hit permission blocks or the SSID isn’t stored, don’t waste time—switch to router admin access or contact your network administrator, since the OS can’t reveal what it never saved.

Frequently Asked Questions

How can I find the Wi-Fi password on my Windows laptop?

You can view the Wi-Fi password from Windows Settings by going to Network & Internet → Status → Network and Sharing Center → Wi‑Fi → Wireless Properties → Security, then selecting “Show characters.” If you don’t see the saved network, ensure you’ve connected to that Wi‑Fi at least once on the same laptop. Alternatively, you can use the Command Prompt with the netsh wlan show profiles and netsh wlan show profile name=”WiFiName” key=clear commands to reveal the Wi‑Fi password for saved networks.

What’s the easiest way to get the Wi‑Fi password from a MacBook?

On macOS, open Keychain Access (via Spotlight search), then search for your Wi‑Fi network name under “Passwords.” Right‑click or double‑click the network entry, check “Show password,” and authenticate with your Mac username/password. This reveals the Wi‑Fi password stored on the Mac, as long as the network was previously connected and saved.

Why can’t I see the Wi‑Fi password even though my laptop is connected?

Some laptops or organizations restrict password viewing, especially on work or school devices where security policies may hide credentials. Also, you can only retrieve passwords for Wi‑Fi networks your laptop has saved; if you’re connected via a temporary network or haven’t connected before, the password may not be stored. In those cases, try signing into the router’s admin page, using a QR code method (if available), or contact your network administrator for the correct Wi‑Fi password.

Which method is best for getting a Wi‑Fi password for multiple devices (QR code vs sharing from laptop)?

If your router supports it, using a Wi‑Fi QR code is often the best option because you can scan it on phones and tablets without manually typing a password. If you specifically need to share from your laptop, using Windows Wireless Properties or macOS Keychain Access is convenient for one-off sharing. QR codes are faster and reduce typos, but laptop-retrieval methods are useful when the router’s QR code isn’t available.

How do I share Wi‑Fi password from a laptop to another device without revealing the password directly?

Many laptops can share internet access via built-in features like Windows Mobile Hotspot or Wi‑Fi Direct, which doesn’t require you to type the Wi‑Fi password on the receiving device. You can also connect the new device to the laptop’s shared hotspot network and then switch later. If you prefer direct sharing, you can still retrieve the Wi‑Fi password using the laptop’s saved credentials (Windows Security tab or macOS Keychain), then enter it on the other device when needed.

📅 Last Updated: October 05, 2026 | Topic: how to get the wifi password from laptop | Content verified for accuracy and freshness.


References

  1. Keychain Access User Guide for Mac – Apple Support
    https://support.apple.com/guide/keychain-access/welcome/mac
  2. https://support.apple.com/en-us/HT202068
  3. nmcli: NetworkManager Reference Manual
    https://networkmanager.dev/docs/api/latest/nmcli.html
  4. Chapter 5. Network setup
    https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_wireless
  5. Google Scholar  Google Scholar
    https://scholar.google.com/scholar?q=how+to+get+wifi+password+from+laptop
  6. Google Scholar  Google Scholar
    https://scholar.google.com/scholar?q=retrieve+saved+wifi+credentials+windows+macos+linux
  7. Google Scholar  Google Scholar
    https://scholar.google.com/scholar?q=view+stored+wireless+network+password+keychain+netsh+nmcli
  8. Google Scholar  Google Scholar
    https://scholar.google.com/scholar?q=how+to+get+the+wifi+password+from+laptop
  9. how to get the wifi password from laptop – Search results
    https://en.wikipedia.org/wiki/Special:Search?search=how+to+get+the+wifi+password+from+laptop
  10. https://www.ncbi.nlm.nih.gov/search/research-articles/?term=how+to+get+the+wifi+password+from+laptop

James Ruggles
James Ruggles
Articles: 697

Leave a Reply

Your email address will not be published. Required fields are marked *