What causes gaming latency and how to measure it

Latency is the time it takes for data to travel from your device to the game server and back. High latency shows up as lag — your character moves a split second after you press the button, or you get shot around a corner by an opponent you couldn't see. The culprit is usually one of three things: your internet connection, your router, or the distance between you and the game server.

Before you start fixing anything, measure your latency. Open a command prompt or terminal on your computer. On Windows, press the Windows key and type "cmd", then press Enter. On Mac, open Spotlight (Command + Space), type "terminal", and press Enter. Type ping 8.8.8.8 and press Enter. The response time shown in milliseconds is your baseline latency to the internet. For gaming, anything under 50 ms is excellent, 50 to 100 ms is good, 100 to 150 ms is playable, and above 150 ms becomes noticeable lag.

You can also check latency inside your game. Most games show a ping number or latency meter in the settings or on-screen display. This number is more relevant than the general internet ping because it measures the actual connection to that specific game server.

Key Takeaways

  • Latency under 50 ms is ideal for gaming, but anything under 100 ms is usually playable depending on the game type.
  • Wired ethernet connections reduce latency compared to Wi-Fi because they eliminate interference and have more stable bandwidth.
  • Restarting your router clears its memory and often drops latency by 10 to 30 ms without any other changes.
  • Closing background programs and downloads on your network frees up bandwidth and can lower latency significantly.
  • If latency is consistently high, your internet service provider may be the bottleneck, and you may need to contact them or switch plans.

Switch from Wi-Fi to a wired connection

The single most effective fix for latency is moving from Wi-Fi to ethernet. Wi-Fi is convenient, but it shares bandwidth with every other device in your home, and it is vulnerable to interference from walls, microwaves, and neighboring networks. Ethernet gives your gaming device a direct, unshared line to your router.

Run an ethernet cable from your router to your gaming device — a computer, PlayStation, Xbox, or Nintendo Switch. The cable can be 50 feet or longer without losing speed. If running a cable through your home is not practical, use a powerline adapter instead. This device plugs into an outlet near your router, connects via ethernet, and sends the signal through your home's electrical wiring to another adapter plugged in near your gaming device. Powerline adapters cost $30 to $60 and typically reduce latency by 20 to 40 ms compared to Wi-Fi.

If you must use Wi-Fi, move your router closer to where you game, keep it away from microwaves and cordless phones, and make sure it is not inside a cabinet or closet. Position the router's antennas vertically if you game on the same floor, or one vertical and one horizontal if you game on different floors.

Restart your router and modem

A router that has been running for weeks accumulates temporary data and can develop minor software glitches that increase latency. Restarting it clears this buildup and often drops your ping by 10 to 30 ms.

Unplug your modem (the device your internet service provider gave you) and your router for 30 seconds. Plug the modem back in first and wait for all its lights to stabilize — usually 2 to 3 minutes. Then plug in your router and wait another 2 to 3 minutes for it to fully boot. Do not skip the wait time; routers need time to reconnect to your modem and the internet.

If latency drops after a restart, consider setting up a monthly restart schedule. Many modern routers have a built-in reboot timer in their settings. Log into your router's admin panel (usually by typing 192.168.1.1 or 192.168.0.1 into a web browser), find the administration or system settings, and look for a reboot schedule option.

Close background programs and stop downloads

Every program running on your gaming device and every device connected to your network uses bandwidth. Video streaming, cloud backups, software updates, and file downloads all compete with your game for that bandwidth, which increases latency.

Before gaming, close everything you do not need. On Windows, press Ctrl + Shift + Esc to open Task Manager, click the CPU and Network columns to sort by usage, and close programs you recognize that are using bandwidth. On Mac, open Activity Monitor (Applications > Utilities), click the Network tab, and quit programs using significant bandwidth. Pause any downloads, cloud backups, or streaming on other devices in your home. Ask household members not to stream video or download large files while you are playing competitive games.

On your gaming device itself, disable auto-updates for Windows, macOS, or your console. Windows users can go to Settings > Update & Security > Advanced Options and turn off automatic downloads. PlayStation and Xbox users can go to Settings > System > Automatic Updates and disable background downloads.

Check your internet plan and contact your provider

If latency remains high after switching to ethernet, restarting your router, and closing background programs, the problem may be your internet service provider or your plan. Some providers throttle (slow down) connections during peak hours, and some plans have lower bandwidth caps that trigger slowdowns.

Run a speed test at speedtest.net to see your actual download and upload speeds. Compare these to what your provider promises in your plan. If speeds are significantly lower — for example, you pay for 100 Mbps but consistently get 30 Mbps — contact your provider's technical support. Explain that you are experiencing high latency during gaming and ask them to check your line for issues. They can run diagnostics from their end and may send a technician if there is a problem with your connection.

If your speeds are normal but latency is still high, ask your provider what your typical ping time to their nearest server is. Some regions or providers naturally have higher baseline latency. If that is the case, you may need to switch to a different provider if one is available in your area, or accept that your latency will be higher than players in other regions.

Adjust game server selection and graphics settings

Some games let you choose which server to connect to. If your game offers this option, pick the server closest to your physical location. A server in your country will have lower latency than one on another continent.

Lower graphics settings do not directly reduce latency, but they can reduce frame rate stuttering, which makes latency feel worse. If your frame rate is dropping below 60 frames per second, lower your resolution, turn off shadows or reflections, or reduce draw distance. A steady 60 fps at lower graphics settings feels smoother than 100 fps with constant stuttering.

In your game's network settings, look for options like "network interpolation" or "lag compensation". These settings predict where other players will be based on their last known position, which can make high latency feel less noticeable. The exact names and locations vary by game, so check your game's settings menu or support page.

Update your router firmware and network drivers

Router manufacturers and computer makers release updates that fix bugs and improve performance. An outdated router or network driver can cause unnecessary latency.

To update your router, log into its admin panel (usually 192.168.1.1 or 192.168.0.1), find the Administration or System section, and look for a Firmware Update option. If an update is available, follow the on-screen instructions. Do not unplug the router during an update.

On Windows, right-click the Start button, select Device Manager, expand Network Adapters, right-click your network adapter, and select Update Driver. Choose "Search automatically for updated driver software". On Mac, go to System Preferences > Software Update and install any available updates.

Frequently Asked Questions

Why is my latency high only in certain games?

Different games use different servers and server locations. A game with servers far from you will have higher latency than one with servers nearby. Some games also have more players, which can overload servers during peak hours. Try connecting to a different server region if your game offers that option, or check the game's server status page to see if servers are experiencing issues.

Does my internet speed affect latency?

Not directly. Latency and speed are separate. You can have fast internet with high latency, or slow internet with low latency. That said, if your connection is very slow (under 5 Mbps), you may experience packet loss, which makes latency worse. For gaming, you need at least 5 to 10 Mbps download speed, but the main factor is latency, not speed.

Will a gaming router reduce my latency?

A gaming router may help slightly, but it is not a may provide fix. Gaming routers prioritize gaming traffic and have better processors, which can reduce latency by 5 to 15 ms in some cases. However, if your latency problem is your internet service provider or server distance, a new router will not fix it. Try the free fixes first — ethernet, restarting, and closing programs — before spending money on a new router.

Can I reduce latency on a console like PlayStation or Xbox?

Yes, the same fixes apply. Use ethernet instead of Wi-Fi, restart your modem and router, close other apps and downloads on your console, and make sure no one else is streaming or downloading on your network. You cannot update drivers on a console, but you can check for system software updates in Settings > System > System Software Update.

What latency is acceptable for different game types?

Fast-paced competitive games like shooters need latency under 100 ms to feel responsive. Strategy games and turn-based games are less sensitive and can tolerate 150 ms or higher. Fighting games are the most latency-sensitive and ideally need under 50 ms. If your latency is above 150 ms, competitive shooters and fighting games will feel noticeably laggy.