How to Optimize Your Internet Connection For Gaming

On this page

Network connection illustration

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

  1. 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.
  2. Close unnecessary programs — background apps quietly consume bandwidth. Close anything you don’t need while gaming.
  3. 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.
  4. Adjust your router settings — many routers have gaming-priority modes. Check your router’s admin page for traffic prioritization options.
  5. 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.
  6. 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: