How to Optimize Your Internet Connection For Gaming
Updated Published
On this page

Lag and high ping ruin online games no matter how good your FPS is. This guide walks through how to optimize your internet connection for gaming — faster speeds, lower ping, fewer lag spikes.
The fundamentals
- Use a wired connection — Ethernet beats Wi-Fi every time. It’s faster, more stable, and immune to the interference and distance problems that cause Wi-Fi ping spikes.
- Close unnecessary programs — background apps quietly consume bandwidth. Close anything you don’t need while gaming.
- Limit bandwidth hogs — video streaming, cloud sync, and downloads on any device on your network can cause lag. Pause them while you play, or cap their bandwidth.
- Adjust your router settings — many routers have gaming-priority modes. Check your router’s admin page for traffic prioritization options.
- Use QoS (Quality of Service) — QoS rules let your router prioritize gaming packets over everything else. Set your PC or game traffic as highest priority.
- Upgrade your plan if needed — if ping stays high after everything above, the bottleneck may be your ISP. For gaming, consistency and latency matter more than raw download speed.
Useful Command Prompt commands
Run these from an elevated Command Prompt:
ipconfig /flushdns
Clears the DNS cache, removing outdated or invalid DNS entries that can slow lookups.
netsh int tcp show global
Displays your current TCP/IP settings so you can check what’s active before changing anything.
netsh int tcp set global autotuninglevel=normal
Sets TCP autotuning to normal — the right value for gaming; some “optimization” guides wrongly disable it.
netsh int tcp set heuristics disabled
Disables TCP/IP stack heuristics, which can silently downgrade your connection settings.
netsh int tcp set global rss=enabled
Enables Receive-Side Scaling so incoming network data is processed across multiple CPU cores.
Summary
Wired connection plus QoS handles most lag problems; the netsh commands clean up the rest. Test your ping regularly and re-check after router or ISP changes.
Next steps:
- Download Tier1Timer — free tool that optimizes Windows timer resolution to reduce input delay (full timer resolution guide)
- Testing PC components using benchmarking tools
- How to debloat Windows for gaming