How to Tell Your Saved WiFi Password in Ubuntu 20.04 [Beginner’s Guide]

Forgot your WiFi password? It’s easy to find out the wireless network password if it was successfully connected in Ubuntu Desktop.

Here you can check wifi password either via graphical tool or by reading the configuration file. While the graphical way is only for Ubuntu with default Gnome desktop, the configuration file will also work on Linux Mint and may be other derivatives.

Check WiFi Password via System Settings:

Go to system ‘Show Applications’ menu, and launch Settings.

  • To check the password of current connected WiFi network, in WiFi settings click on the gear button after the wifi network name.

  • To check all saved WiFi networks, click on the upper-right three dots icon and select ‘Known Wi-Fi Networks’. Then click on one of gear buttons in next page.

  • Once you get into Wifi details page, navigate to Security tab, and check ‘Show password’ and done!

Check WiFi Password with Plain Text:

Ubuntu saves Wireless network settings as well as password as plain text. You can easily check the files via following steps.

  • Open terminal either from system application menu, or by pressing Ctrl+Alt+T on keyboard.
  • When terminal opens, run command to navigate to the file directory:
    cd /etc/NetworkManager/system-connections/
  • Run ls command to list all available network connections, including Wi-Fi networks, hotspot, and VPN connections.
  • Check one of the connection files, wifi_home in the case, run command:
    sudo -H gedit FILE_NAME
  • When the file opens, you’ll see the password as the value of ‘psk’ under wifi-security section.


    Each Linux desktop environment has its own settings tool to find out saved WiFi password. However, most Ubuntu flavors and Linux Mint save wireless network details as plain text in /etc/NetworkManager/system-connections/ directory.

    Merilyn Ne
    Hi, I'm Merilyn Ne, a computer geek working on Ubuntu Linux for many years and would like to write useful tips for beginners. Forgive me for language mistakes. I'm not a native speaker of English.