Being asked for your Wi-Fi password over and over on Ubuntu — even though you double-checked every letter and your phone connects cleanly on the exact same router — happens when NetworkManager hits an encryption mismatch, a corrupted saved connection profile, or a router rejecting randomised hardware addresses.
Rather than typing the passphrase a tenth time, resetting the saved profile and checking two Wi-Fi security options solves the authentication loop cleanly.
Forget the Saved Wi-Fi Profile Completely First
If your router was upgraded, swapped to WPA3 security, or kept the same Wi-Fi name after a firmware update, Ubuntu tries authenticating with outdated security settings cached inside your old profile — causing the password prompt to reappear endlessly.
- Open the top-right system menu on Ubuntu and click Settings -> Wi-Fi.
- Find your network name in the list (or under Known Wi-Fi Networks via the three-dot menu) and click the gear icon beside it.
- Click Forget Connection at the bottom of the pop-up window.
- Wait ten seconds, click your Wi-Fi network name again to join fresh, and enter your password carefully (click the small eye icon inside the password box to confirm zero typos or Num Lock slips).
Check Cloned MAC Address Settings for Office or Home Routers
Modern Ubuntu versions sometimes randomise your laptop’s Wi-Fi hardware (MAC) address while scanning or connecting. While helpful on public hotspots, home routers with parental controls, guest limits, or office/university networks often reject changing addresses mid-handshake and send back an authentication error.
- Open Ubuntu Settings -> Wi-Fi and click the gear icon next to the Wi-Fi network.
- Go to the Identity tab.
- Look at the Cloned Address field: change it to Permanent (or select your physical adapter’s address from the dropdown), then click Apply.
Fix WPA2 vs WPA3 Security Mode Conflicts
Many newer routers run a blended “WPA2/WPA3 Transitional” mode that older laptop wireless cards struggle to negotiate in Ubuntu, failing silently right before assigning an IP address and triggering another password prompt.
- Click the gear icon beside your Wi-Fi connection in Settings -> Wi-Fi and switch to the Security tab.
- Verify Security matches WPA & WPA2 Personal (or WPA3 Personal if your router strictly uses WPA3 only).
- If you administer your own home router and only Linux laptops loop on WPA3 mixed mode, setting the router briefly to WPA2-PSK (AES) stops incompatible wireless drivers from resetting the handshake.
Restart NetworkManager Cleanly or Check Keyring
If Ubuntu accepts your Wi-Fi password briefly and then prompts again only after rebooting, make sure Ubuntu’s password keyring is saving it cleanly.
- Open Terminal (
Ctrl + Alt + T) and runsudo systemctl restart NetworkManagerto clear stuck authentication state without rebooting your whole laptop. - If Ubuntu forgets your Wi-Fi password every single time you log out, open the Passwords and Keys app, confirm a Login keyring exists and is unlocked automatically when you sign in, and delete any old duplicate key saved under your Wi-Fi network name before reconnecting once.
Forgetting the stale profile first and fixing MAC randomisation or WPA security mismatch almost always breaks the Ubuntu Wi-Fi password loop on the very first reconnect.