Forgot your Wi-Fi password, but your Mac is already connected? Don’t worry — macOS keeps that information for you. Here is a step-by-step guide to quickly find your password, either through the interface or the Terminal.
🔍 Method 1 – Through Access to Keys
- On your Mac, open the Keychain Access app.
- Tip: press
Command ⌘ + Espaçoand type Access Keys.
- Tip: press
- In the sidebar, select System (or Login, depending on where the network was saved).
- Use the search bar to enter the name of the Wi-Fi network.
- Double-click on the result found.
- Check the Show password option.
- Enter your administrator username and password.
- Done! The password will be displayed in the field.
💻 Method 2 – Using Terminal
If you prefer to use a command:
- Open the Terminal (
Command ⌘ + Espaço→ type Terminal). - Type the command:
security find-generic-password -ga "NOME_DA_REDE" | grep "password:"
Replace
"NOME_DA_REDE"by the exact name of the Wi-Fi network.
The system will ask for your administrator password before displaying the password.
Now you know how to recover your Wi-Fi password on Mac without having to reset your router. And if you want to go further, you can even list all the passwords saved on your computer using an extra command in Terminal.
See you next time!