How to Fix Spotify Error 16 on Windows PC
What error 16 means
Spotify Error 16 pops up when you try to log in and the app cannot reach Spotify's servers. The full message reads: "A firewall may be blocking Spotify. Please update your firewall to allow Spotify. Additionally, you could try changing the currently used proxy settings." Think of it like your phone being unable to dial out — the app itself is fine, but something on your PC or network is stopping the call.
This error is specific to the desktop app on Windows (the mobile app connects differently, which is why your phone may work while the PC fails). The good news is that the fix is almost always in your hands. Spotify is not down when you see this — a real Spotify outage shows a different message entirely. Nine times out of ten, Error 16 traces back to Windows Defender Firewall missing an exception for Spotify, a VPN or proxy that is scrambling the connection, or a country setting on your account that no longer matches your actual location.
Common causes
- Spotify not allowed through Windows Firewall: after a Windows or antivirus update, the firewall can silently drop its permission for spotify.exe, blocking every connection the app tries to make.
- An active VPN: routing Spotify through a server in another region confuses the login handshake, and the app reports the failed connection as a firewall block.
- Wrong proxy settings inside Spotify: if the app's Proxy Settings are set to anything other than No Proxy, login requests can be misrouted and rejected.
- Country mismatch on your account: when your account's country differs from where you are actually connecting, Spotify's servers may refuse the session.
- Corrupted app files or cache: damaged local data can make Spotify's connection attempts look broken to security software, which then blocks them.
How to fix Spotify error 16 — step by step
Work through these fixes in order. Most people are fixed by step 2 or 3.
- Restart Spotify and your PC. A stale network handshake is often behind Error 16, so clear the decks first. Close the Spotify app completely — right-click the Spotify icon in the Windows system tray (bottom-right corner) and choose Quit. Then click Start, then Power, then Restart, and let the PC boot fully. Open Spotify again and try logging in. If you were not using any VPN or proxy service, a simple restart genuinely fixes this error more often than people expect, because it forces Spotify to renegotiate its connection to its servers.
- Turn off your VPN or proxy. VPNs are one of the most common triggers for Error 16. When your VPN connects you through a server in another region, Spotify's login handshake can look suspicious or fail outright, and the app reports it as a firewall block. Disconnect your VPN completely — not just pause it — then try Spotify again. If the error disappears, the VPN was the cause; connect it to a server in your own country before reopening Spotify, or keep Spotify out of the VPN tunnel using your VPN app's split-tunneling feature.
- Allow Spotify through Windows Defender Firewall. This is the fix the error message itself asks for. Press Windows key + R to open the Run dialog, type firewall.cpl, and press Enter to open Windows Defender Firewall. In the left pane, click Allow an app or feature through Windows Defender Firewall. Click the Change settings button at the top, then scroll the program list until you find Spotify Music (or spotify.exe). Check both the Private and Public boxes next to it, then click OK. Restart the Spotify app and log in again — the blocked connection should now go through.
- Reset Spotify's proxy settings to No Proxy. Misconfigured proxy settings inside Spotify itself can produce Error 16 even when your Windows proxy is fine. Open the Spotify desktop app, click your profile icon in the top-right corner, and choose Settings. Scroll down to the Proxy Settings section, open the dropdown menu, and select No Proxy. Close the app completely (right-click the tray icon and choose Quit), reopen it, and try logging in. The change only takes effect on a fresh start, so do not skip the restart.
- Check that your Spotify account country is correct. A country mismatch between your account and your actual location can make Spotify's servers refuse the connection, which surfaces as Error 16. Go to spotify.com in your browser and log in, then click your profile name and choose Account. On the Account overview page, click Edit Profile. Open the Country or region dropdown and select the country you are actually in, then click Save profile. Restart the Spotify desktop app and log in again — free accounts can only change their country from where they are located, so do this while off any VPN.
- Clear the cache or do a clean reinstall. Corrupted local files can make Spotify's connection attempt look broken to your firewall. First try clearing the cache inside the app: click your profile icon, choose Settings, scroll to Storage, and click Clear cache. If Error 16 survives, do a clean reinstall. Uninstall Spotify from Settings, then Apps, then Installed apps. Then press Windows key + R, type %appdata%, and delete the Spotify folder; press Windows key + R again, type %localappdata%, and delete the Spotify folder there too. Restart your PC, download a fresh copy from spotify.com, and install it — your playlists and account are stored online, so nothing is lost.
Did this fix it? Quick checklist
- Spotify logs in without the Error 16 message
- Playlists load and music streams normally
- The error stays gone after restarting the app and the PC
- It also works with your VPN connected (or you know the VPN was the cause)
If Error 16 persists on every network and you have tried all six steps, check whether Spotify is down — a genuine outage is rare, but when it happens the only fix is waiting, and you can confirm on a service like DownDetector. Also try the web player at open.spotify.com in your browser: if the web player works while the desktop app does not, the problem is isolated to the desktop install and a clean reinstall is the way to go.
Frequently asked questions
What does Spotify Error 16 mean?
Error 16 means Spotify cannot reach its servers because something on your side is blocking the connection — the app's full message is "A firewall may be blocking Spotify. Please update your firewall to allow Spotify." In practice the blocker is usually Windows Defender Firewall, a VPN, a bad proxy setting, or a wrong country setting on your account.
Why did Spotify start showing Error 16 when I changed nothing?
The most common silent causes are an automatic antivirus or Windows update that reset your firewall permissions, a Spotify update that changed how the app connects, or a proxy or VPN setting that was enabled by another program. Check the firewall exceptions first, since updates often remove them without asking.
Will allowing Spotify through the firewall make my PC unsafe?
No — allowing a legitimate app through the firewall is normal and safe. You are only giving Spotify permission to make outbound connections to its own servers, the same thing millions of apps do. The risk comes from turning the whole firewall off permanently, so use the app exception instead of disabling protection.
Error 16 only appears on my work or school network. What can I do?
That means the network administrator is blocking Spotify's ports at the network level, and no setting on your PC will bypass it. Your options are asking the administrator to whitelist Spotify, using the Spotify web player (open.spotify.com) in your browser, or listening offline on your phone with downloaded playlists — a VPN may violate your organization's acceptable-use policy, so check the rules first.