Networking

How to Fix High Ping and Lag: Find the Cause, Then Fix It

To fix high ping, first work out where the delay comes from: ping your router, then a public address, and compare. If the router is slow, the fix is in your home (use Ethernet, stop other traffic, move closer to Wi-Fi); if only the internet side is slow, switch to a nearer game server or contact your provider.

Ping is the round-trip time in milliseconds (ms) for a small message to reach another machine and return. Lag in a game is that delay, plus any lost or late packets, showing up on screen. This guide is about finding the cause. For what counts as a good number, see what is a good ping for gaming.

Step 1: Ping your router

Your router is the first stop on every trip. Find its address (the "Default Gateway") by running ipconfig in Command Prompt, then ping it. This example uses 192.168.1.1, a common default; use your own gateway address.

ping -n 20 192.168.1.1

Per Microsoft's documentation, -n sets the number of echo requests (default 4), and a reply that does not arrive within the timeout (default 4,000 ms) is reported as "Request timed out". Example output from a healthy wired connection:

Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64

Ping statistics for 192.168.1.1:
    Packets: Sent = 20, Received = 20, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 3ms, Average = 1ms

This is example output, not a measurement. The router is usually one hop away, so a healthy result is a few milliseconds at most. As a rule of thumb (not a standard), if the average is well above 10 ms or the Maximum jumps to tens of milliseconds, the problem is between your device and the router. That points to Wi-Fi or a busy local network.

Step 2: Ping a public address

ping -n 20 1.1.1.1

Now compare. The public address adds the router-to-provider link and the internet path. If your router ping was low and this one is steady and reasonable, your connection is healthy, and a high in-game number is about the route to that particular server. If this ping is much higher than the router ping and also swings widely, the delay is on your provider's side of the router, or the router itself is struggling to forward traffic.

Always read the Lost count and the gap between Minimum and Maximum, not only the average. Large swings are jitter, and any loss is a separate problem, covered in how to test for and fix packet loss.

Step 3: Test while the network is busy and while it is idle

Run the same ping twice: once with every other device idle, then again while a large download or video call runs. A ping that is fine when idle and jumps during other traffic means your own connection is the bottleneck. Game packets are queuing behind bulk data in the router. Buying more bandwidth often does not help here, because ping measures delay, not capacity; the latency vs bandwidth article explains the difference. The practical fixes are to pause heavy transfers while you play or to enable queue management, described in QoS router settings.

For a long run that you can leave running while you play, use -t, which Microsoft documents as sending requests until interrupted (Ctrl+C stops it and prints statistics):

ping -t 1.1.1.1

Watch for time spikes that line up with the moments the game stutters.

Step 4: Find which hop is slow with pathping

If the internet side is the problem, pathping shows where. Microsoft describes it as listing the routers on the path, then sending pings to each over a period and computing statistics per hop.

pathping -n 1.1.1.1

The -n flag skips name lookups, which speeds up the display. By default it sends 100 queries to each router, which takes roughly a couple of minutes on a normal path. In the output, the "This Node/Link" loss column matters most. Microsoft's own example notes that loss shown on a link (the | rows) indicates congestion on that link, while loss at a single router that does not continue to later hops does not affect traffic passing through it. A router that deprioritises replies to its own address can look bad on its own line without harming your game.

If the first hops (your router and the next one or two) show the loss or delay, the problem is local or at your provider's edge. If it only starts several hops out, it is somewhere on the wider internet, and you cannot fix it directly. In that case your options are a different game server region or a report to your provider that includes your results.

Fixes, matched to what you found

The router ping is high or unsteady

  • Use an Ethernet cable. It removes the wireless link, which is the largest source of local variation in ping.
  • If you must use Wi-Fi, check the band and channel. Apple's router guidance recommends leaving the channel on Auto, using a 20 MHz channel width on the 2.4 GHz band to avoid interference problems near other networks and devices such as Bluetooth, and enabling all bands the router supports. It notes that interference is less of a concern on 5 GHz and 6 GHz. See 2.4 GHz vs 5 GHz Wi-Fi for choosing a band.
  • Move closer or remove obstacles. A weak signal forces retransmissions, which shows up as jitter.
  • Restart the router if the ping has crept up over several days.

Ping is fine when idle but rises under load

  • Pause cloud backups, game downloads and streaming on other devices while you play.
  • Close apps on your own PC that use the network, such as a launcher updating another game.
  • Turn on queue management on the router if it supports it.

Router and internet pings are both fine, but the game shows high ping

  • Choose a nearer server region in the game settings. Latency includes the travel time between you and the server, so distance is a floor you cannot tune away.
  • Try at another time of day. If the problem appears only at peak hours, congestion on the route is the likely cause.
  • If you use a VPN, turn it off and compare; an extra hop normally adds delay.

Why the cause is rarely one thing

MDN defines latency as the time from when a request is made to when the response gets back to the user. That total is built from several parts: connection setup, waiting on the server, and moving the data. For a game, the parts that matter are the path to the server and how long the packets queue on the way. That is why a single setting rarely cures high ping, and why the order above works: it narrows the fault to your device, your home network, your provider or the server before you change anything.

If it is still high

Write down the results of Steps 1 to 4 with the time of day, then repeat them after a restart of your router. If the router ping is low and the first provider hops already show loss or delay at the same times each day, send those results to your provider. If everything is clean up to the server and the in-game number is still high, the remaining lever is the server region. Background on the commands is in the ping command article.

Frequently asked questions

Why is my ping suddenly high?
A sudden rise usually means something changed on your side or along the route. Common causes are a download or upload filling your connection, a weak Wi-Fi signal, a router that needs a restart, or congestion on your provider's network at busy hours. Ping your router and a public address to see whether the delay is inside your home or beyond it.
Does a VPN lower ping?
Usually it raises it, because your traffic takes an extra stop at the VPN server. A VPN can occasionally give a better route if your provider's path to a game server is poor, but treat that as something to test, not an expected result. Compare ping with it on and off.
Is high ping my fault or the game server's?
Ping your router and a public address such as 1.1.1.1. If both are fast but the game shows a high number, the delay is on the route to the server or on the server itself, and you can only change it by picking a nearer server region. If your router ping is already high, the fault is in your home network.
Will restarting my router fix high ping?
Sometimes. A restart clears the router's temporary state and can help if ping has crept up over days. If ping is high again within hours, look for a busy connection or a Wi-Fi problem instead.

Sources