🔧 Steam Error Fix · 8 Proven Fixes

How to Fix Steam Error Code 118: Unable to Connect to Server

You open Steam to grab the weekend sale or jump into a game — and instead of the store you get a gray page: "Error Code: 118 — Unable to connect to server. Server may be offline or you may not be connected to the internet." Your internet works fine, every website loads, but Steam acts like it has never heard of the internet. It is one of the most reported Steam errors on PC, and it is almost never serious: in plain English, error 118 means the Steam client on your PC cannot reach Steam's servers. It is not a ban, your games are not deleted, and your account is fine.

The tricky part is that Steam uses different servers and connection paths than your web browser, so "my internet works" tells you very little. The cause is usually somewhere between your PC and Steam: a firewall rule, a VPN, bad DNS, a glitchy router, or occasionally Steam's own servers being down. The 8 fixes below run from the 30-second checks to the full reinstall. Start at the top — Fix 1 alone saves half of everyone from touching anything else.

What causes Steam error code 118?

Something on the path between your PC and Steam's servers is blocking or breaking the connection. The usual suspects:

Start here, every time: check steamstat.us before changing anything. If Steam's servers are down in your region, error 118 is on Valve's side and every fix below is pointless — just wait it out and grab a coffee. Only troubleshoot your PC when Steam's servers are green.

1Confirm Steam's servers are actually up

Error 118 spikes during Steam maintenance windows (usually Tuesday evenings US time), major sale launches, and outages. Open steamstat.us or the Steam Status page in your browser and check for outages or heavy load in your region. If servers are down, the fix is patience — no setting on your PC will reconnect you. If everything is green and you still see error 118, the problem is on your side and the fixes below apply. This 30-second check saves you from reinstalling Steam over a server outage.

2Restart Steam — then reboot your PC and router

Fully exit Steam: right-click the Steam icon in the system tray and choose Exit Steam (do not just close the window). Then power your router completely off for a full 60 seconds — not a quick flick, a real minute — and restart your PC. This clears hung Steam processes, stale network sessions, and renews your IP address. A surprising number of error 118 cases die right here, caused by nothing more than a frozen router or a stuck background Steam process. Relaunch Steam and check whether the store loads.

3Test your connection — try another network

Your browser loading websites does not prove Steam can connect. First, open a couple of websites to confirm your internet is genuinely alive. Then, if you can, tether your PC to your phone's mobile hotspot and launch Steam on that connection. If Steam connects fine on the hotspot, the problem is your home network or ISP — the router, DNS, or ISP-side filtering — not your PC. That narrows the hunt enormously: skip to Fixes 5 and 7, and consider that your ISP may be blocking or throttling Steam's ports.

4Turn off your VPN and proxy — allow Steam through the firewall

Disconnect your VPN completely (not just pause it) and retry Steam before doing anything else — VPNs are one of the single biggest causes of error 118 because Steam's servers frequently reject or throttle VPN exit-node traffic. Also check Windows Settings → Network → Proxy and turn off any manual proxy. Next, check your firewall: open Windows Security → Firewall & network protection → Allow an app through firewall, find Steam, and make sure it is allowed on both private and public networks. If you run a third-party antivirus with its own firewall, allow steam.exe and steaminstall.exe there too. Steam updates sometimes lose their firewall permissions silently, so re-check even if it worked before.

Do not turn off your firewall or antivirus to test. The fix above adds a targeted exception for Steam — that is safe. Disabling your whole firewall "to see if it helps" leaves your PC exposed and is never necessary for error 118. Always keep protection on and allow the specific app instead.

5Flush your DNS and switch to a public DNS server

Broken DNS records on your ISP's servers or your router can send Steam's server addresses to the wrong place while normal websites still resolve fine — this is a classic error 118 trap. Open Command Prompt as administrator and run: ipconfig /flushdns. Then switch to a reliable public DNS: in Network adapter settings, set your DNS servers to 8.8.8.8 and 8.8.4.4 (Google) or 1.1.1.1 (Cloudflare). Restart Steam and retry. If error 118 disappears, your ISP's DNS was the culprit — you can leave the public DNS in place permanently.

6Clear Steam's browser cache — then reset its network config

Steam's store and library pages run on an internal web browser, and its cache corrupts just like Chrome's. In Steam, go to Settings → In Game and click Delete next to "Web browser data" to wipe it. If error 118 survives that, do a deeper reset: fully exit Steam, press Win + R, type steam://flushconfig, and press Enter. This resets Steam's network configuration and cached login state to factory defaults, clearing corrupted settings that cause error 118. One warning: you will be logged out, so have your password and Steam Guard access ready before running it. Log back in and check the store.

7Check the hosts file — disable conflicting network software

Old "Steam fixer" tools and some malware leave entries in your hosts file that redirect Steam's domains into nowhere. Open Notepad as administrator, open C:\Windows\System32\drivers\etc\hosts, and look for any lines mentioning steamcommunity.com, steampowered.com, or store.steampowered.com. Delete those lines (or comment them out with a #), save, and restart Steam. While you are here, close network-filtering tools like PeerBlock, NetLimiter, or third-party firewalls — they are known to silently filter Steam's traffic and cause exactly this error. Retry Steam with them closed.

8Reinstall Steam clean (your games survive)

Still seeing error 118 after every network fix? The Steam client itself is probably corrupted. Back up your games first: copy the steamapps folder from your Steam directory to a safe location. Then uninstall Steam from Windows Settings → Apps, and delete any leftover Steam folder. Download a fresh installer from the official site, install it, and move your steamapps folder back into the new install — Steam detects your games instantly. Your saves live in Steam Cloud or your user folder and are untouched. A clean install wipes out any corrupted client files that survived every fix above.

Quick checklist to keep error 118 away

Frequently asked questions

What does Steam error code 118 mean in plain English?

The Steam app on your PC cannot reach Steam's servers. The full message reads: "Error Code: 118. Unable to connect to server. Server may be offline or you may not be connected to the internet." Your account, games, and saves are fine — this is a connection problem, not an account problem.

Why do I get error 118 when my internet works fine?

Because Steam connects to different servers and ports than your web browser does. Your browser reaching websites proves nothing about Steam's reachability. A firewall rule, a VPN exit node, a bad DNS record, or a hosts file entry can block Steam specifically while every website loads normally.

Does a VPN cause Steam error 118?

Very often, yes. Steam's servers frequently reject or throttle traffic from VPN exit nodes, and proxy or split-tunneling settings can route Steam's traffic into a dead end. Disconnect the VPN completely and retry before troubleshooting anything else — this is one of the fastest fixes there is.

Is Steam error 118 a ban?

No. Error 118 is purely a connectivity error and says nothing about your account standing. Bans show different messages. If you can sign into store.steampowered.com in your browser, your account is fine — the problem is the connection from the Steam app.

What does steam://flushconfig do? Is it safe?

It resets Steam's network configuration and cached login state to defaults, clearing corrupted settings that cause error 118. It is safe, but you will be logged out — have your password and Steam Guard access ready before you run it.

How do I know if the problem is Steam's servers and not my PC?

Check steamstat.us while the error is showing. If there are widespread outages or heavy load in your region, wait — error 118 during maintenance windows fixes itself. If servers are green and others are online, the problem is on your side and the fixes in this guide apply.

For most players, error 118 dies at Fix 1 or Fix 4 — Steam's servers were down, or a VPN was quietly breaking the connection. Work through the list in order and your store will be back. And while Steam sorts itself out, the free browser games here on GameAdda need no client, no login, and no connection to any server — just pick one and play. 🎮