How to Lower Ping and Fix Packet Loss on PC: What You Can and Cannot Change

Short answer

Updated

Ping is mostly set by the distance to the server, your provider's route and the server itself, so no PC setting can cut it much. What you can fix: pick the nearest server region, use a cable instead of Wi-Fi, stop uploads and downloads that fill your line, and fix bufferbloat on the router. Packet loss usually comes from Wi-Fi, a bad cable or the provider; pathping shows where.

Founder, Frozen TweaksFix FPS, stutter and input lag8 min readView as Markdown
See all 4 steps

Key takeaways

  • Distance sets a floor: as a rule of thumb, every 1,000 km of cable route adds about 10 ms of round trip. No setting on your PC changes that.
  • Spikes and loss usually start at home: Wi-Fi, a full upload, or a router that queues too much traffic (bufferbloat).
  • A cable fixes more ping problems than every Windows network tweak put together.
  • pathping shows at which hop loss begins. Loss that starts at your router is yours to fix; loss that starts further out is your provider's.
  • Windows tweaks like Nagle's algorithm and the network throttling index are small, situational and never shorten the path.
At a glance
What sets ping
Distance, provider route, server
What you control
Server region, cable vs Wi-Fi, home traffic, router
Most common cause of spikes
Wi-Fi and a saturated upload
Tool to find loss
pathping, built into Windows
Windows tweaks
Small effect on some setups; test them

Ping, jitter, packet loss: which one is your problem?

"Lag" covers several different problems, and the fix depends on which one you have. Most games show all three numbers in a network graph or performance overlay. Look before you change anything.

The three network numbers, and how each one feels
NumberWhat it isHow it feels in game
Ping (latency)The round trip time for a packet to reach the server and come back, in milliseconds.Shots and abilities land a little late; peekers seem to see you first. Constant, not jumpy.
JitterHow much the ping changes from one packet to the next.Rubber-banding and enemies that warp, even when the average ping looks fine.
Packet lossThe share of packets that never arrive.Teleporting players, shots that do not register, sudden freezes.
Not network at allLong or uneven frame times on your PC.The whole game feels late or stutters, including offline. See high FPS but the game feels laggy.

A steady high ping is usually distance or routing. Jitter and loss are usually something between your PC and your provider, which is the part you can fix.

Where does ping come from?

Your packets travel through your PC, your home network, your provider and several other networks before they reach the game server. Each stage adds time. Only the first two are in your hands.

The stages of a round trip, and who controls them
StageWhat adds delayCan you change it?
Distance to the serverLight in fibre is fast but not instant. A widely used rule of thumb is about 10 ms of round trip per 1,000 km of cable route, and routes are longer than a straight line.Only by choosing a closer server region.
Provider routingWhich networks your provider hands traffic to, and how directly.Not directly. Reporting a bad route with evidence sometimes helps.
Last mileYour connection type and the provider's local network. Busy evenings can add delay and loss.Only by changing connection type or provider.
Home networkWi-Fi retries and interference, and a router that queues too much traffic when the line is full (bufferbloat).Yes. This is where most spikes come from.
Your PCNetwork adapter and Windows processing, normally well under a millisecond.Yes, but there is very little to gain.

Find where the problem starts

  1. Ping your router

    Run ipconfig and note the Default Gateway, then run ping -n 100 with that address. On a cable you should see about 1 ms and no loss. Spikes or loss here mean the problem is Wi-Fi, the cable or the router, not the internet.

  2. Run pathping to an address on the internet

    pathping sends packets to every hop on the way and reports loss per hop after a few minutes. Loss that starts at hop one is your home network. Loss that starts further out and continues to the end is upstream.

  3. Test under load

    Start a large download or upload, then ping again. If the ping jumps by tens or hundreds of milliseconds, your router is queuing too much: that is bufferbloat.

  4. Test cable against Wi-Fi

    If you can, connect a cable for one session. If spikes and loss disappear, you have found the cause.

Commands to run in Command Prompt · Code
ipconfig
ping -n 100 <your default gateway>
pathping -n <an address on the internet, for example your provider's DNS server>

Note that some routers answer ping slowly on purpose, so a single slow hop in the middle of a pathping report means little. Loss that begins at one hop and continues to the last one is what counts.

The fixes that actually lower ping and loss

  1. Choose the nearest server region

    Many games pick a region automatically and sometimes pick badly. Set it by hand where the game allows. This is the only setting that changes the distance part of your ping.

  2. Use a cable

    Wi-Fi resends lost frames, shares the air with every other network nearby and pauses for background scans. A cable removes all of that. If a cable is impossible, use 5 GHz or 6 GHz close to the router rather than 2.4 GHz through walls.

  3. Stop what fills your connection

    Cloud sync, game launcher downloads, Windows Update and video streams on other devices fill the line. Pause them while you play, and turn off Delivery Optimization so Windows stops uploading update files to other PCs.

  4. Fix bufferbloat on the router

    If ping jumps under load, look for a setting called SQM, Smart Queue Management or QoS on your router, and set it a little below your real line speed. That keeps the router's queue short, which keeps ping steady when someone else in the house is downloading.

  5. Update the network adapter driver

    Use the driver from your motherboard or adapter maker, not only the one Windows installs. Old Wi-Fi drivers in particular cause periodic spikes.

  6. Restart the modem and router, then replace the cable

    It sounds basic and fixes a surprising number of loss problems. A damaged or old cable can cause loss on its own.

  7. Take evidence to your provider

    If pathping shows loss starting past your router, save the output from several times of day and send it to your provider. That is far more effective than a general complaint about lag.

Do Windows network tweaks lower ping?

A handful of Windows settings appear in every "lower ping" list. They work on what happens inside your PC, which is already the smallest stage of the round trip. Some help in specific setups; none shortens the route to the server.

The popular network tweaks, honestly rated
TweakWhat it changesWhen it helps
Nagle's algorithm offSends small TCP packets immediately instead of combining them.Only games that send gameplay over TCP. Most shooters use UDP, where Nagle does not apply.
Network throttling indexRemoves a cap on non-multimedia packet processing while media plays.Very high traffic alongside the game, such as streaming. For a game's own traffic it is close to nothing.
Interrupt Moderation and Energy Efficient Ethernet offThe adapter interrupts the processor for each packet instead of collecting several first, and the link no longer sleeps between packets.A desktop processor with headroom. Microsoft notes that moderation makes round trip times look longer than average.
Prefer IPv4 over IPv6Windows tries IPv4 first when a server offers both.When your provider's IPv6 route is the worse one. Test your ping both ways.
WLAN AutoConfig offStops background Wi-Fi scanning.Wired PCs only. On a Wi-Fi PC it turns Wi-Fi off entirely.
TCP auto-tuning offKeeps the TCP receive window small.Usually a net loss: downloads slow down and game traffic over UDP is unaffected.

Change one of these at a time and compare ping and loss in the same game, at the same time of day. If you cannot see a difference, switch it back.

Frozen Tweaks

Free for Windows 10 and 11

Frozen Tweaks has switches for the network tweaks above and lists exactly what each one writes, with an undo for every one. It cannot fix your route or your Wi-Fi; the steps above do that.

v2.1.0 · 6.5 MB · Windows 10 and 11, 64-bit · free account, no payment details

Or type frozentweaks.com on your PC.

Questions

Can I lower my ping with Windows settings?

Only slightly, and only in specific setups. Ping is mostly the distance to the server, your provider's route and the server itself. Windows settings such as Nagle's algorithm or interrupt moderation work inside your PC, which normally adds well under a millisecond. Choosing the nearest server region, using a cable and stopping uploads during play make a far bigger difference.

Why does my ping spike only in the evening?

Usually because more people are online. Your provider's local network and the routes to the server are busier, and at home other devices stream and download more. If pathping shows loss starting past your router at peak times only, it is congestion on the provider's side; save the output and report it.

Is Wi-Fi bad for gaming?

It adds risk rather than a fixed delay. A good 5 GHz or 6 GHz connection close to the router can be fine, but Wi-Fi resends lost frames, shares the air with neighbouring networks and pauses for background scans, which shows up as jitter and packet loss. A cable removes all of that, and is the first thing to try when ping jumps.

Does a gaming VPN or routing service lower ping?

Sometimes, when your provider sends traffic to the game server on a poor route and the service's route is better. It cannot beat distance, and it adds a step of its own, so on a good route it makes ping slightly worse. Test it against your normal ping on the same server before paying for one.

How do I know if packet loss is my fault or my provider's?

Run pathping to an address on the internet. If loss appears at the first hop, your router or Wi-Fi is the cause. If the first hops are clean and loss starts further out and continues to the last hop, the problem is upstream. Loss at a single hop in the middle that does not continue is usually a router that answers ping slowly on purpose, not real loss.

Tweaks in this guide

Sources

  1. It's Time To Learn About Latency (TeleGeography) (opens in a new tab)resources.telegeography.com
  2. Introduction to bufferbloat (Bufferbloat.net) (opens in a new tab)bufferbloat.net
  3. What can I do about bufferbloat? (Bufferbloat.net) (opens in a new tab)bufferbloat.net
  4. pathping (Microsoft Learn) (opens in a new tab)learn.microsoft.com
  5. Interrupt Moderation (Microsoft Learn) (opens in a new tab)learn.microsoft.com
  6. RFC 896: Congestion Control in IP/TCP Internetworks (Nagle's algorithm) (opens in a new tab)rfc-editor.org
  7. Fix Wi-Fi connection issues in Windows (Microsoft Support) (opens in a new tab)support.microsoft.com

Written by

Founder of Frozen Tweaks, based in Hamburg, Germany. Publishes settings guides for competitive games on his YouTube channel, Frost LIVE.

Frozen Tweaks

Free for Windows 10 and 11

58 tweaks free, each with an undo switch. Never edits game files.

v2.1.0 · 6.5 MB · Windows 10 and 11, 64-bit · free account, no payment details

Or type frozentweaks.com on your PC.

The free Windows app for competitive games.

58 tweaks free, each with an undo switch. Never edits game files.

See all 177 tweaks

v2.1.0 · 6.5 MB · Windows 10 and 11, 64-bit · free account, no payment details

Frozen Tweaks runs on Windows. Send the link to your PC and download it there.

Or type frozentweaks.com on your PC.