nolag.gg

CS2 Won't Connect to a Server or Find a Match: Step-by-Step Fix

Where the connection breaks in Counter-Strike 2, how to find the culprit in 10 minutes and what to do when the problem isn't on your side.

You press “Find a match”, and then one of three things happens: the timer ticks into its tenth minute, the game says the connection to the Counter-Strike servers has been lost, or a match is found, you accept it, and a failed connection window pops up while loading. Meanwhile your internet works, YouTube loads and Discord calls go through.

The good news: if you check things in order, you'll almost always find the culprit in 10–15 minutes. Below: what exactly breaks at each stage of connecting, quick checks, a full walkthrough from simple to advanced and the signs that the problem isn't yours.

The quick answer. In most cases the cause is one of three things: an outage or maintenance on Steam and Valve's side (check whether it works for your friends), a matchmaking ping limit that's too low (the game simply sees no suitable servers), or a firewall, antivirus or router cutting the game's UDP traffic. Start with these three, and if that doesn't help, go through the steps below.

What connecting involves and where it breaks

When you press search, CS2 goes through several stages. The error message almost always tells you which one it stopped at, even if the wording is vague. So the first thing to work out is exactly where you're stuck.

  1. Steam sign-in. The Steam client has to be online. If Steam is in offline mode or can't reach its servers, CS2 will open but won't let you into online modes.
  2. Connecting to the Valve network. The game connects to the matchmaking coordinator and measures ping to Valve relays in different regions. Until that's done, you get a loading spinner or a message saying there's no connection to the game servers instead of the search button.
  3. Matchmaking. The coordinator picks a server for you based on the mode, your selected maps and your ping limit.
  4. Accepting. All ten players have to press Accept. If someone doesn't make it in time, you go back into the queue: that's not a network error.
  5. Connecting to the match server. The client connects to a dedicated server through the relay network, loads the map and syncs the version. This is where failed connection, timeout and version mismatch messages appear.
What happens after you press “Find a match” 1. Steamsign-in 2. Valvenetwork (SDR) 3. Matchsearch 4. Acceptingthe match 5. Matchserver What a failure looks like Steam offline,online modesunavailable “no connectionto servers”,endless loading search timernever stops back in queue,someone declined failedto connect,timeout Red marks network failures, yellow marks what's more often about settings and other players
First work out which stage everything stopped at: that decides what to check first.

Which messages you'll see and what they mean

The exact wording in CS2 has changed from update to update and differs between languages, so go by the meaning rather than the literal text.

What the game saysAt which stageWhat to check first
No connection to the network or CS2 servers, a loading spinner instead of searchValve networkSteam status, firewall, UDP through the router
Search runs for 5, 10, 15 minutes with no resultMatchmakingPing limit in settings, selected maps
Match found, but the connection failed or dropped while loadingMatch serverFile integrity, route to the server, packet loss
A message that VAC was unable to verify your game sessionMatch serverRestart Steam, verify files, third-party software
Kicked from the match mid-round with a lost connectionGame already in progressWi-Fi, spikes and loss, your ISP's route

The last row is less a connection error and more an unstable network. If you get kicked during play rather than when joining, also have a look at our breakdowns of packet loss and ping spikes.

Valve's relay network: why “the internet works but the game won't connect”

This is the most important thing to understand about CS2's networking. Your computer doesn't connect to the game server directly. All game traffic goes through Steam Datagram Relay (SDR), Valve's network of relays placed in data centres in different countries. The client first measures ping to several relays, picks a good one, and from there packets reach the match server over Valve's internal network. This protects servers from attacks: players can't see their real addresses.

Two important things follow from this.

The game uses UDP, websites use TCP. Your browser, Discord chat and Steam downloads need TCP: if a packet is lost, it simply gets sent again. Game packets travel over UDP, without resends, and UDP is exactly what “smart” firewalls, antiviruses with a network shield, strict router settings and filters at some ISPs most often cut, especially on mobile and public networks. So “websites open but CS2 can't see the servers” is a typical sign that UDP is blocked somewhere along the way. According to Steam's documentation, game traffic uses UDP ports in the 27000–27100 range; firewalls that only let web traffic through won't let them pass.

A bad route to a relay breaks the connection even when the rest of the internet is fine. If your ISP sends packets to Valve's nodes through a congested interconnect or a roundabout path, the game sees high ping or heavy loss to all the nearest relays. In the end it either decides there are no suitable servers, or the connection to the match server drops while loading. Meanwhile a speed test will show excellent numbers: it measures speed to your ISP's nearest server, not the path to Valve. More on this in why your speed test is good but games lag.

Your PC Router ISP Valve relay(SDR) Matchserver firewall,antivirus UDP filter,stuck NAT bad peering,filtering Valve network: outageshappen, but rarelyand for everyone Dashed: the segment where latency and loss depend on your ISP's route, not on you
The three red marks are the three places where the CS2 connection breaks most often. Websites can work perfectly well at the same time.

Quick diagnosis in 5 minutes

Before digging into settings, narrow down the suspects. The three checks below answer the main question: is the problem yours, your ISP's or Valve's.

1

Does it work for others

Ask friends who are on a different ISP. Check the news in the Steam client and the official CS2 channels. If it's down for everyone, it's an outage on Valve's side: skip to the last section.

2

A different network

Tether to your phone and try to find a match. If everything connects over mobile data, the culprit is your home router or ISP, not the computer or the game.

3

Ping and loss

Run the online ping test and ping -n 100 8.8.8.8 in the command prompt. Loss above 1% or spikes of 100+ ms explain drops while a match is loading.

If the game won't connect over mobile data either, the problem is almost certainly on the computer: the firewall, antivirus, corrupted files or Windows network settings. If it does connect, look at the router and your ISP. How to measure ping properly and read the command output is covered in detail in how to check your ping.

How to fix it: step by step, from simple to advanced

Work from top to bottom and try searching for a match after each step. The first items take a minute each and solve most cases.

1. Restart Steam completely

Close CS2, then close Steam from its tray icon: right-click → Exit. Just closing the window isn't enough; the client keeps running in the background. Check in Task Manager that no Steam processes are left, then start it again. Make sure Steam isn't in offline mode: in the Steam menu in the top-left corner, there should be no option to go online. This also fixes most cases of the message saying VAC couldn't verify your session.

2. Restart your router

Turn the router's power off for 30 seconds. Home routers keep a table of NAT connections, and after running for a long time it sometimes overflows or hangs: TCP keeps working, but new UDP sessions don't open. It sounds trivial, but it's genuinely a common cause of “it worked yesterday, not today”.

3. Raise the matchmaking ping limit

If the game searches forever and your network is fine, open Settings → Game and find Max Acceptable Matchmaking Ping. Many players set it to 30–40 ms to avoid distant servers, then their ISP changes the route, ping to the nearest data centre becomes 45 ms, and there are no suitable servers left. Set it to 80–100 ms, make sure the search works, then lower it 10 ms at a time. While you're there, select several maps rather than one: the queue gets noticeably shorter. How to keep your ping low without breaking matchmaking is covered in the article on CS2 ping.

4. Verify the game files

Steam Library → right-click Counter-Strike 2 → Properties → Installed Files → Verify integrity of game files. You need this if connecting breaks right after an update: some files may have downloaded with errors, and the client version doesn't match the server's. Verification doesn't delete anything; it only re-downloads what's damaged. If Steam has just updated the game and you haven't restarted it, a restart is a must too.

5. Allow the game in your firewall and antivirus

Open Windows Security → Firewall & network protection → Allow an app through firewall. The list should include cs2.exe and steam.exe with ticks for both private and public networks. If they're not there, click Change settings → Allow another app and add them manually: cs2.exe is in the game folder, in the game\bin\win64 subfolder.

Check a third-party antivirus with a network shield separately: temporarily turn off its network module and try to find a match. If that works, add the Steam and CS2 folders to its exclusions and turn protection back on. Don't leave your computer unprotected for good: the aim is only to find the culprit.

6. Close software that interferes with the network

Network filters, “internet optimisers”, traffic analysers, RGB and monitoring software with network drivers, and virtual network adapters from emulators sometimes intercept UDP. Close everything you don't need and check which adapters are active in Settings → Network & internet → Advanced network settings. Keep only the main one: cable or Wi-Fi.

7. Reset Windows network settings

If none of the above helped and the game won't connect over mobile data either, reset the network stack. Open the command prompt as administrator and run these one at a time:

CommandWhat it does
ipconfig /flushdnsClears the DNS cache, in case Steam server addresses were cached incorrectly
netsh winsock resetResets the Winsock catalogue, which network filters and old software may have corrupted
netsh int ip resetRestores TCP/IP settings to their defaults

Then restart your computer. If you set your IP address manually, you'll need to enter it again after the reset.

8. Check your router: UPnP and filters

Open the router's web interface (usually 192.168.0.1 or 192.168.1.1; the address is on the sticker underneath). What to look at:

  • UPnP. Turn it on if it's off. Normal matchmaking through the relay network doesn't need port forwarding, but with UPnP the router handles UDP more predictably.
  • Built-in firewall and “attack protection”. Some models have filters that cut “suspicious” UDP streams or limit the number of UDP sessions. Try lowering the protection level from maximum to medium.
  • Parental controls and content filters. Sometimes they block Steam domains entirely.
  • Firmware. If your router is years old and the firmware has never been updated, an update often fixes NAT problems.

If you have two routers in a row at home (for example, your ISP's modem and your own Wi-Fi router), you get double NAT. It usually doesn't get in the way of Valve's relay network, but if connecting only works every other time, try switching the ISP's modem to bridge mode. More in the article on NAT type for gaming.

9. Take Wi-Fi out of the equation

If the connection drops while a match is loading or mid-round, plug in a cable, at least as a test. Wi-Fi produces bursts of loss and spikes that are enough for the server to decide you've disconnected. Why a cable is more stable even with an excellent signal is explained in Wi-Fi vs Ethernet.

10. Check the route to the Valve network

If everything above is fine and the problem only happens on your ISP, it's the route. Run the route check: our node in Frankfurt, close to Valve's European nodes, traces the path to your computer and shows which segment adds latency and loss. If things get worse inside your ISP's network or at its interconnect, save the result: you'll need it when you contact support.

When your ISP is to blame

The signs of a problem on your ISP's side are quite distinctive, and easy to tell apart from problems on your computer.

  • CS2 connects fine over mobile data or at a neighbour's on a different ISP, but not at home, even over a cable and with the firewall off.
  • Problems appear at the same time every day, usually in the evening when the network is busiest, and disappear at night.
  • Your ping to Valve's servers has gone up by 20–40 ms for no obvious reason, even though you haven't moved. That means your ISP changed the route.
  • A traceroute shows latency or loss starting at your ISP's nodes and lasting to the end of the path.

A bit of arithmetic helps you judge whether your ping is normal at all.

~1 msfor every 100 km of fibre, there and back
1.5–2×how much longer a real route usually is than a straight line on the map
27000–27100the UDP port range for Steam game traffic

For example, from Edinburgh to Frankfurt is about 1,000 km in a straight line. Allowing for the real length of the cables, that's 1,500–2,000 km of path, so the physical minimum is around 15–20 ms. If you consistently get 50–60 ms to European servers, the extra tens of milliseconds come from the route, and no game setting will remove them.

What to do: call or write to your ISP's support and describe the problem specifically: “Counter-Strike 2 won't connect, there's a problem with UDP traffic to Valve's servers, it works over mobile data”. Attach the traceroute result. “My game is lagging” usually ends with advice to restart your router, while specific data gets passed on to engineers. If your ISP doesn't change anything, all that's left is to change the route: with a different ISP or with a node that carries the game's traffic another way. How that works is explained on the how nolag works page and in how to lower ping.

When the problem isn't on your side

Sometimes there's nothing you need to do at all. The Valve network is a huge infrastructure, and it has outages too.

  • Game updates. When a big update is released, the matchmaking coordinator and servers may be unavailable or patchy. It usually lasts from a few minutes to an hour.
  • Steam maintenance. Steam has regular scheduled maintenance, usually on Tuesdays; during it, sign-in, the store and matchmaking may briefly disappear.
  • Outages and attacks. Sometimes the Valve network in a particular region works worse because of overload or attacks. The sign is problems for many players on different ISPs at the same time.
  • Peak load. During big tournaments and new operation launches, queues can grow noticeably.

How to check: look at Steam's official support page and the news in the client, and check the official Counter-Strike channels on social media and player communities. If lots of people are reporting the problem right now, don't change anything on your computer: once the service is back, everything will work on its own. There's no point reinstalling the game or resetting your network at moments like that: it won't help and you'll lose time.

Don't confuse an outage with a ban. If instead of searching the game shows a message about a matchmaking restriction or a cooldown for abandoning matches, that's not a network problem. The restriction lifts on its own once the stated time has passed.

Checklist: what to check, in order

StepTimeWhat it fixes
Does it work for friends, what does Steam news say1 minValve outages, maintenance
Full restart of Steam and the router2 minA hung client, an overflowing NAT table, VAC errors
Ping limit of 80–100 ms, several maps1 minEndless search
Verify file integrity3–10 minErrors after an update
Firewall and antivirus5 minUDP blocked on the computer
Mobile data for comparison3 minTells you: computer or network
Reset Winsock and TCP/IP5 minCorrupted Windows network settings
Router: UPnP, filters, firmware10 minThe router cutting UDP
Cable instead of Wi-Fi5 minDrops while loading and mid-round
Traceroute and contacting your ISP10 minA bad route to Valve

CS2 connection error myths

“You need to forward all the ports”

Matchmaking through Valve's relay network doesn't need port forwarding: the connections are outgoing and the router lets the replies back in on its own. Forwarding lots of ports only exposes your computer to the outside.

“Changing DNS will help”

DNS only affects how the server's address is looked up. If the game can't establish a UDP connection or the route is bad, a different DNS won't change anything. It only helps in the rare case where your ISP's DNS doesn't respond at all.

“Reinstalling the game fixes everything”

Verifying integrity does the same in minutes rather than an hour of downloading. If the cause is the network, reinstalling won't help at all.

“A fast plan means no connection problems”

Your plan's speed and the path to Valve's servers are different things. You can have gigabit and a bad route with packet loss that drops the match while it loads.

If the connection is sorted but the game runs with high ping or spikes, move on to the breakdown of CS2 ping and the article on choosing a server in CS2. Everything about the game is collected on the Counter-Strike 2 page; similar problems in other games are covered in the articles on matchmaking in Dota 2 and connection errors in League of Legends.

FAQ

Why does CS2 search for a match forever?

Most often because Max Acceptable Matchmaking Ping is set too low: if the nearest servers are 60 ms away and your limit is 40, there are simply no suitable servers. Raise it to 80–100 ms and try again. The second cause is the game being unable to measure ping to the Valve network because UDP is blocked.

CS2 says there's no connection to the servers, but my internet works. Why?

Your browser uses TCP, while the game exchanges data over UDP through Valve's relay network. A firewall, antivirus, router or ISP can let websites through and still cut game UDP. Check the permissions for cs2.exe and steam.exe and try connecting over mobile data: if it works there, the problem is your network.

Do I need to forward ports for CS2?

Not for normal matchmaking: the game opens outgoing connections itself and the router lets the replies back in. You may only need port forwarding if you host a server yourself. If your router is very strict, turn on UPnP: it's simpler and safer than manual forwarding.

Does verifying game files help with connection errors?

It helps if some files downloaded with errors after an update or the client version doesn't match the server's. In that case the game may refuse to let you into a match or kick you while connecting. Verification takes a few minutes and doesn't break anything.

How can I tell if Valve's servers are down and it's not my problem?

If it's not working for friends on different ISPs at the same time and the player community is full of reports, it's an outage on Valve's side. Check the news in the Steam client and the official CS2 channels. At times like that, all you can do is wait.

Can a ping booster help if CS2 won't connect?

If your ISP sends traffic to the Valve network over a bad route or drops some UDP packets, a different route can solve the problem. If the outage is at Valve itself or your firewall is blocking the game, the route won't change anything: go through the steps in this article first.

Try it free for 7 days

No card. Installs in a minute.

Download for Windows