nolag.gg

Desync in Games: Why You Die Behind Walls and How to Reduce It

You're already behind cover, but the killcam shows you dying out in the open. We break down, millisecond by millisecond, where desync comes from, how much of it is down to your connection and what you can do about it.

A classic: you spot an enemy, jump back behind a concrete block, a split second passes, and the screen goes grey. In the replay you're standing out in the open. Tarkov players call it desync, CS2 players say “killed behind a wall”, Apex players blame “hit reg”. It's the same thing: each player sees their own version of the match, and those versions drift apart by tens of milliseconds.

Below we look at where that gap comes from, why it's the victim and not the shooter who dies behind the wall, how much of the desync you contribute yourself and how to reduce it. No magic configs, only what actually works.

Short answer. Desync usually comes down to three things: high ping on your side or your opponent's, ping spikes and packet loss (usually from Wi-Fi or background downloads), and an overloaded game server. You can reduce the first two from your side; only the developer can fix the third.

What desync really is

An online game has no single shared picture. There's the server, which has the final say, and there are clients, the copies of the game running on each player's computer. Each client lives slightly in the past and slightly in the future at the same time. It sounds odd, but that's how almost every modern shooter works.

The server decides everything

The server is authoritative: only it decides who stands where, who hit whom and how much health is left. Your computer doesn't send it “I hit them”, it sends “I clicked at this moment with my crosshair pointing here”. That makes cheating harder, but there's a price: every decision depends on when the information reached the server.

Your character: client-side prediction

If the game waited for the server to answer every key press, your character would start moving one ping later. At 60 ms that would feel like sluggish controls. So the client predicts: you press W, your character moves forward on your screen straight away, and the command goes to the server in parallel. When the server replies, the client compares its version with the server's. If they match, nothing happens. If they don't, you get corrected, gently or sharply. A sharp correction is that familiar “rubber-banding”, when you seemed to make it round the corner but got pulled back a step.

Other players: interpolation

Prediction doesn't work for opponents: the game can't know what they'll press next. So it shows them based on world snapshots sent by the server and smoothly fills in the movement between two consecutive snapshots. To have something to fill in between, the client keeps a small buffer and shows opponents roughly one or two update intervals behind. As a result, every enemy on your screen is where they were in the past: by half their ping, plus your path from the server, plus the interpolation buffer.

~1 msround-trip delay for every 100 km of fibre
15.6 msbetween server updates at 64 ticks per second, as in CS2
~4.8 m/srunning speed in CS2 with a knife: almost half a metre in 100 ms

Why you die behind walls: lag compensation

Imagine the server checked shots against current positions. A shooter with 60 ms ping aims at the head, but by the time the packet arrives, the target has moved. You could only hit a running target by leading your shots, and the lead would depend on your ping. That would be unplayable.

So most competitive shooters use lag compensation. When a shot arrives, the server rewinds every character's position by the shooter's delay and checks the hit in the world the shooter saw on their screen. If the crosshair was on the head then, the hit counts. That's fair for the shooter, but someone has to pay for the delay, and it's the target.

Shooter Server Victim sees target in the open shot sees target gone in the open already behind wall death counted with rewind 0 ms 50 ms 100 ms 150 ms 200 ms Shooter ping around 80 ms, victim ping around 30 ms
The victim moved behind the wall at 40 ms, but that news hasn't reached the shooter yet. They fire at the old picture, the server rewinds the world and counts the hit, and the death message reaches the victim long after they're safely behind cover.

The diagram shows an unpleasant detail: your death behind a wall isn't only down to your ping, but to the shooter's as well. If theirs is 120 ms, the server rewinds the world by those 120 ms, and you'll die behind cover even on a perfect connection. Many games limit how far back the server is willing to rewind, precisely so players with huge ping can't shoot too deep “into the past”. But within that limit, “the shooter is right” is the rule.

The same thing gives the peeker's advantage: whoever comes round a corner sees you before you see them, because their movement hasn't reached your screen yet. There's a detailed breakdown with an interactive diagram in our CS2 ping guide.

What desync is made of

It helps to break the delay between an event on one player's screen and its appearance on another's into parts. Some are yours, some belong to your opponent, some are built into the game's design and some depend on the server.

your share opponent game design server Your path to the server Your spikes and loss Opponent's path Waiting for the tick Interpolation buffer Overloaded server 30 ms 15 ms 10 ms 8 ms 16 ms 20 ms 0 10 20 30 ms
An example, not statistics: you're on Wi-Fi with about 60 ms ping and spikes, your opponent has 20 ms, the server runs at 64 ticks and is falling behind on frames at that moment. In this situation almost half the desync comes from your side, and that's the part you can remove.

Ping: yours and theirs

Ping is a packet's round-trip time. For desync, roughly half matters: the one-way trip. The physics is simple: light in fibre covers about 200 km per millisecond, and real routes are 1.5–2 times longer than a straight line because they pass through traffic exchange points. London to Frankfurt is about 640 km as the crow flies and 1,000–1,300 km by cable, which means 10–15 ms of ping before any queuing. If your ISP sends traffic through an extra city, add another 10–30 ms on top. You can check your ping with the online test, and what counts as normal is covered in what is a good ping.

Spikes and packet loss

Games handle steady ping well. It's worse when latency jumps: 30, 32, 95, 31, 70. To avoid showing jerky movement, the client enlarges its buffer, and everything you see falls even further behind. When a packet is lost, the server briefly doesn't know what you're doing and keeps moving your character based on your last known command. Then the truth arrives and you get pulled back. The causes are covered in detail in our articles on jitter and packet loss. At home the main culprits are Wi-Fi, background downloads and network card power saving.

Tick rate and interpolation

The server doesn't update the world continuously but in ticks. A command that arrives between ticks waits for the next one. At 64 ticks that's up to 15.6 ms; at 20 ticks, up to 50 ms. The interpolation buffer sits on top. These are the developer's choices and you can't influence them; old console commands like cl_interp have been removed in CS2. More in our article on tick rate.

Server performance

A server is a computer too. If it can't process a tick in the time it has, every calculation shifts and world snapshots arrive less often and unevenly. Everyone in the match gets this desync at the same time, whatever their ping. There's nothing you can do about it from your side except switch server or region.

What it looks like in Tarkov, CS2 and Apex

The mechanics are the same, but desync shows up differently in each game because of different tick rates, map sizes and numbers of objects on the server.

Escape from Tarkov

In Tarkov “desync” has become a meme, and people use it for everything: dying behind cover, an enemy who “teleported” round a corner, loot that's there and then isn't. Part of it is ordinary latency and lag compensation. Part is server load: a raid on a big map has lots of bots and players, and when the server can't keep up, everyone in the raid feels the desync at once. The sign of a server problem is the whole squad reporting the same thing while everyone's ping is normal. In Tarkov you choose servers in the launcher, not in the game: how to set the selection and ping threshold is covered in Tarkov ping, and if the game won't connect at all, see the separate guide.

Counter-Strike 2

CS2 servers run at 64 ticks, and the game records the moment of a shot more precisely than a single tick, which is called sub-tick. Sub-tick makes hit registration more accurate but doesn't cancel physics: the peeker's advantage and dying behind a wall when your opponent has 80–100 ms ping are still there. The upside of CS2 is that the network is visible right in the game: cq_netgraph 1 in the console shows ping, loss and stability. If you keep getting sent to a distant server, a ping limit in matchmaking helps; more on choosing a region in how to change server in CS2.

Apex Legends

Apex servers are usually described as 20-tick, and desync feels stronger there than in CS2: up to 50 ms between updates, with fast characters and movement abilities all over the map. Hence the typical complaints: damage landed when you were already through the door, or an enemy took damage late. You can reduce your share by picking a data centre on the start screen: wait there for about a minute and a data centre button appears at the bottom. Details in Apex Legends ping and Apex Legends packet loss.

GameWhere to choose a serverHow to see the networkWhat's most often mistaken for desync
Escape from TarkovLauncher, server selection and ping thresholdPing in the launcher, external testsServer overload in a big raid
CS2Settings → Game, max matchmaking pingcq_netgraph 1Peeker's advantage
Apex LegendsStart screen, data centre selectionPing and loss in the data centre listLow tick rate and fast characters

How to tell whose share it is

Before you change anything, find out where the desync comes from. Otherwise you can spend a week tweaking your router when the problem is an overloaded server.

1

Ask your teammates

If everyone in the match sees stutter and deaths behind walls at the same time, and everyone's ping is normal, it's the server. If only you are complaining, dig on your side.

2

Check the network graph

In CS2 turn on cq_netgraph 1; in other games use the built-in ping and loss display. You need two things: ping variation and loss percentage at the moment of lag.

3

Test from Windows

A long ping to your router and to an external address shows where the spikes appear: at home or further out. pathping finds the hop with loss.

Step three in more detail. Press Win+R, type cmd and run these one by one:

  • ipconfig: find the “Default Gateway” line, that's your router's address, usually 192.168.0.1 or 192.168.1.1.
  • ping -n 100 192.168.1.1: ping to the router. Over a cable it should be under 1–2 ms with zero loss. Spikes of 20–50 ms here mean a Wi-Fi or router problem.
  • ping -n 100 1.1.1.1: ping to an external address. If the router is steady but this shows spikes, the problem is your line or your ISP.
  • pathping -n 1.1.1.1: after a couple of minutes it shows loss at each hop along the path. Loss at one intermediate hop followed by 0% again isn't real: ISP routers simply rate-limit replies to diagnostic requests.

For the route from a node near the game servers to your computer, there's the route check: it shows how many hops are on the path and on which one latency rises. More methods in how to check ping.

How to reduce your share of desync

From easy to hard. The first steps take minutes and remove most of the spikes.

1. Connect your PC with a cable

Wi-Fi is the most common source of spikes and bursts of loss, especially in blocks of flats where neighbouring networks crowd the airwaves. A cable removes them completely. If you can't run a cable, at least switch to 5 GHz and clear obstacles between the router and your PC. The numbers are compared in Wi-Fi vs Ethernet.

2. Stop downloads while you play

A game update in Steam, cloud sync, a torrent, 4K video on another device: all of it joins the same queue as your game packets. In Steam: Settings → Downloads → untick “Allow downloads during gameplay”. If there are lots of devices at home, prioritising game traffic on the router helps: how to set it up is covered in our QoS guide.

3. Turn off network card power saving

Device Manager → Network adapters → your card → Properties. On the Power Management tab, untick “Allow the computer to turn off this device to save power”, and on the Advanced tab turn off Energy Efficient Ethernet or Green Ethernet if they're there. This matters especially on laptops; more in our articles on network adapter settings and laptop lag.

4. Play on a nearby server and cap your ping

In CS2: Settings → Game → Max Acceptable Matchmaking Ping, set it to 50–60 ms. In Tarkov, select only nearby servers in the launcher. In Apex, pick a data centre with low ping and no loss. Queues get slightly longer, but you won't be thrown onto a server thousands of kilometres away.

5. Smooth out loss in the game settings

CS2 has a buffering option to smooth over packet loss. If the network graph shows loss, set the buffer to one packet: latency goes up by a few milliseconds, but enemies stop jittering. This doesn't cure the cause, it masks it, so go through steps 1–3 first.

6. Fix the route

If everything at home is clean but your ping to the server is higher than your distance should give, or it rises and jumps in the evening, the problem is your ISP's route. You can bypass it by sending game traffic through a node closer to the game servers. Why that works and where the limits are is explained in how to lower ping and why ping is higher in the evening.

To be honest about the limits: nolag only reduces your share. It doesn't change your opponent's ping, the tick rate or the server load, and if your ISP already takes a short route there's nothing to gain, which you'll see in the numbers side by side. If UDP is blocked on your network, the app connects through an HTTPS entry point, and the tunnel doesn't drop when you switch networks. It also has a game mode and a PC check: Wi-Fi, network card power saving, background downloads. Supported games and details are on the Tarkov, CS2 and Apex pages.

When it's not on your side

Sometimes you've done every step: cable, steady ping, zero loss, a nearby server. And the desync is still there. Then these are the likely causes:

  • The server is overloaded. The sign is stutter for every player in the match at once, often at peak times, after big updates or on the heaviest maps. Switching server, region or time of play helps.
  • Your opponent has high ping. Lag compensation rewinds the world by their delay, and you die behind the wall. Nothing to do here except cap ping in matchmaking where the game allows it.
  • The game as a whole is having problems. Check the official server status or support page and the game's official social accounts. If they report an outage, wait for the fix; settings on your side won't help.
  • A problem where ISPs meet, far from you. You'll see it in pathping or the route check: latency and loss appear on hops in the middle of the path. You can send your ISP the results or bypass that stretch with a different route.
A screenshot or replay isn't proof. In most games the replay is built from server data and is interpolated too, so it shows an averaged picture, not what was on each player's screen.

Desync myths

“Desync is just high ping”

Ping is only part of it. You can have 15 ms and still die behind walls because of an opponent with 100 ms or an overloaded server.

“Internet speed is what matters”

A game needs less than a megabit per second. A gigabit plan won't reduce ping or spikes if the route and the Wi-Fi are the same.

“There's a config that removes desync”

In modern games, network settings like interpolation are controlled by the game itself. The old CS:GO commands have been removed or locked in CS2.

“Changing DNS will reduce desync”

DNS is only used to find the server's address before you connect. During a match, packets go by IP and DNS doesn't affect them. More in our article on DNS for gaming.

Anti-desync checklist

  • Your PC is connected by cable, not Wi-Fi.
  • Ping to the router is under 2 ms with no loss, and steady to an external address.
  • Downloads in Steam, cloud apps and torrents are off while you play.
  • Network card power saving is off.
  • A nearby server or data centre is selected and max matchmaking ping is capped.
  • The game's network graph shows no loss, or smoothing is on if it does.
  • If ping rises in the evening, you've checked the route and have an alternative.
  • If everyone is lagging, you've checked the game's official server status.

FAQ

Are desync and ping the same thing?

No. Ping is the time a packet takes to reach the server and come back. Desync is the gap between what you see, what the server sees and what other players see. Ping is the main source, but not the only one: spikes, packet loss, the server's update rate and its load all add to it.

Why do I die behind walls even with low ping?

Because the opponent's ping and the game's own delays count too. The server checks a shot against what the shooter saw, and the shooter saw you late. If their ping is 80 ms, you'll die behind cover even with a perfect 10 ms on your side.

Can desync be removed completely?

No. As long as signals travel through fibre at a finite speed, every player sees the world slightly in the past, and the game has to decide whose picture wins. You can reduce your share: steady ping without spikes, no packet loss, a nearby server.

How do I tell if the desync is mine or the server's?

If every player in the match sees stutter and deaths behind walls at the same time, and your ping and loss look normal, it's the server. If only you are complaining and your network graph shows spikes or loss, look on your side: Wi-Fi, background downloads, your ISP's route.

Does high FPS help with desync?

Only indirectly. High FPS cuts the latency on your own PC, so you react sooner to what you see. But it doesn't speed up packets on their way to the server, and it doesn't change what your opponent sees.

Does a ping booster affect desync?

It can reduce your share if your ISP's route to the server is roundabout or congested in the evening: ping becomes lower and steadier. It doesn't change your opponent's ping or the game server's load.

Try it free for 7 days

No card. Installs in a minute.

Download for Windows