Troubleshooting Ping

Why a laptop's ping spikes on a regular beat over Wi-Fi, and how to stop it

What background Wi-Fi scanning is, what Microsoft, Apple and Intel document about it, how to prove it with two pings running side by side, and the fixes in order, starting with a cable.

  • 22 sources cited
  • Checked
  • AI fact-checked, no human editor
  • Not tested hands-on
How we researched this
Based on
  • Microsoft Learn and Microsoft Support documentation (Win32 WLAN API, Windows driver docs, netsh, location service)
  • Apple Platform Deployment, Apple Platform Security and Mac User Guide pages
  • Intel support articles on wireless adapter settings
  • User reports on Microsoft Q&A and the Intel Community forum, labelled as user reports
Sources checked
, 22 documents listed under Sources.
Testing
RouterHaus didn't test this hands-on.
Review
Its claims were checked against the sources listed below by an AI fact-checker working separately from the writer, on . No named human editor has reviewed it.
Independence
No manufacturer can buy a recommendation. Sponsored blocks, if any, are labelled and kept apart from our own content. Independence policy

The fix in brief

  • A spike on a steady beat, even to your own router, usually means the laptop's Wi-Fi radio is briefly busy with something other than your traffic. Background scanning is the documented candidate: Microsoft says that while a scan runs it "becomes more difficult for a wireless interface to send and receive data packets", so a scan "may increase latency until the network scan is complete."
  • Prove it before you change anything. Run a continuous ping to your router and another to an internet address at the same time, and note when the spikes land. Spikes on both, on a regular interval, point at the laptop's Wi-Fi. Spikes only on the internet ping point past your home.
  • The fix that removes the question is a cable. On a cable, your traffic doesn't cross the Wi-Fi radio, so its scans can't delay it.
  • On Windows, check location and apps next. Microsoft documents that Windows location uses "nearby wireless access points and routers", and that apps' Wi-Fi scan calls need location permission. One user on Microsoft's own Q&A forum reported spikes about every 14 seconds on a Windows 11 Insider build that stopped with Location services off; Microsoft's moderator said they couldn't find official documentation confirming that interval.
  • On Intel adapters, the driver has documented scan settings. Intel's Roaming Aggressiveness sets when roaming scans start, and on drivers that show it, Global BG Scan Blocking can stop periodic scans. Intel says not to change the latter if you move around during the day.
  • Apple doesn't document a cause of periodic ping spikes on macOS. It documents when Macs scan to roam, and that Location Services and AirDrop use Wi-Fi, but not a latency effect.
Illustration: a laptop on Wi-Fi with ping spikes at regular intervals while it scans for networks, and a cable as the steady option.
Illustration: RouterHaus

This article answers one question: why a laptop's ping jumps on a regular interval over Wi-Fi, and whether scanning is the reason. If ping is high all the time to one game's servers, that's high ping to game servers. If the connection drops outright, start with Wi-Fi keeps disconnecting.

What background scanning is, and why it shows up as a spike

Scanning is the Wi-Fi adapter checking other channels for networks, and while it does, your traffic on the current channel waits.

A laptop's Wi-Fi adapter talks to your router on one channel. To find other networks, or a better access point on the same network, it has to look at other channels. Microsoft's driver documentation describes two ways: an active scan, where the adapter "should transmit a probe request on the channels that it scans", and a passive scan, where it "should not transmit a probe request" and just listens. The default lets the driver use either and "prefer using Active scans when possible" source 5.

The cost is time off your channel. Microsoft's driver guidance for a low-latency mode tells drivers to change "any behavior (such as scanning or better AP roaming) that would cause it to move off of the channel", to stay under a maximum off-channel time, and to "avoid scanning multiple channels in single off-channel scan" source 4. For apps, Microsoft puts a figure on it: "The time spent scanning for other networks can introduce a noticeable gap (100 milliseconds or more) when a VoIP app would be unable to receive the audio stream" source 2. A full scan request can run for seconds: Microsoft says drivers that meet Windows logo requirements "are required to complete a WlanScan function request in 4 seconds" source 1.

Apple describes the same trade-off for roaming. When a device decides to look for a better access point, it "checks all available channels in the 2.4 GHz, 5 GHz, and primary scanning channels in 6 GHz", and without an 802.11k neighbor list "the client has to scan every channel on each band", which Apple says "can add several seconds to the process" source 12.

  1. Your game, call or ping Packets leave the app at a steady rate
  2. Wi-Fi adapter on your router's channel Sends and receives normally
  3. Adapter steps off the channel to scan Listens, or sends probe requests, on other channels; your traffic waits
  4. Adapter returns to your channel Waiting packets go out late: the spike
  5. Router, then the internet Everything past the router sees the delay too
The delay happens on the first hop, inside the laptop, before your packets reach the router. That's why a ping to the router is the test, and why a new router usually doesn't change it. Diagram: RouterHaus.

What Microsoft documents about Windows scanning

Windows scans on its own schedule, apps can ask for scans, and location services is tied to Wi-Fi scan data.

  • The Windows schedule. Microsoft's WLAN API page says "the Wireless LAN Service only asks the wireless interface driver to scan for wireless networks every 60 seconds, and in some cases (when already connected to wireless network) the Wireless LAN Service does not ask for scans at all" source 1. It doesn't list which cases.
  • Apps can trigger scans. Any app can call WlanScan, and Microsoft warns that "the WlanScan function may increase latency until the network scan is complete" source 1. It also tells developers: "Don't make a Wi-Fi scan call within your app unless strictly necessary" source 6.
  • Location and scanning are linked. Windows location uses "a combination of global positioning service (GPS), nearby wireless access points and routers", plus cell towers and your IP address, and location services "also enables Windows features like automatic time zone and Find my device" source 7. Since Microsoft's change to Wi-Fi access, if you haven't allowed precise location, apps' calls to WlanScan and to the list of nearby networks "will return ERROR_ACCESS_DENIED", and calls to these APIs "will appear in the in-use system tray and location recent activity" source 6.
  • Apps can also stop scans, for everyone. A calling or streaming app can mark its connection as media streaming, and then "the system will notify the wireless network driver to stop scanning for other networks", which "eliminates stuttering by VoIP and similar audio apps" but "also affects any apps running on the local computer". The cost: the laptop "stays connected to the same network even if the signal becomes weaker and weaker" source 2. Microsoft's WLAN API also has a switch to disable background scan, which works only while connected and turns itself back on "If the interface gets disconnected" source 3. Microsoft documents both for software developers, not as switches in Settings.

What netsh wlan does and doesn't do

Microsoft's netsh wlan reference has no scan-interval setting. Its set autoconfig command turns WLAN auto-configuration off, and Microsoft says that then "Windows doesn't connect to any wireless network automatically from the specified interface" source 8. Microsoft documents that as a change to connecting, not to scanning, so it isn't a fix this article recommends: it can leave the laptop off Wi-Fi after a restart or a drop. The useful netsh command here is netsh wlan show wlanreport, which "Generates a report summarizing recent wireless network sessions and activity" source 8; Microsoft's support page says it covers "the last three days" and lists disconnect reasons per session source 9.

What users report on Windows

Users report a pattern that fits all of this. On Microsoft Q&A on November 11, 2026, one user described pings to the router spiking in bursts about every 14 seconds on a Windows 11 Insider build, traced with a WLAN trace to repeated scans, and reported that turning off Location services and automatic time zone stopped them. That's one user's report on one preview build and one adapter. Microsoft's moderator replied: "I couldn't find official documentation confirming that a Wi-Fi scan every approximately 14 seconds is an expected interval," and pointed the user to Feedback Hub source 11.

What Apple documents about macOS scanning

Apple documents when Macs scan to roam and which features use Wi-Fi, but it doesn't document periodic scanning as a cause of ping spikes.

  • Roaming scans. A Mac keeps its access point "until the RSSI crosses the -75 dBm threshold", then "scans for roam candidate BSSIDs" on the same network source 12. With a strong signal near the router, that trigger shouldn't fire. The thresholds and what they mean for walking around are in mesh roaming and sticky clients.
  • Location Services. "Your Mac determines its location using information from local Wi-Fi networks" source 15. Apple's security guide says Wi-Fi scans can help "to assist Location Services for apps that use geofences", and describes the privacy protections for scans made "when not associated with a Wi-Fi network" source 13. Apple doesn't say how often a connected Mac scans for location, or whether turning Location Services off changes it.
  • AirDrop. Apple says AirDrop uses "Apple-created peer-to-peer Wi-Fi technology" and that "The Wi-Fi radio is used to communicate directly between devices" source 14. Its page doesn't name AWDL (Apple Wireless Direct Link) and says nothing about an effect on latency or on the channel your Mac uses.
  • Auto-join settings. Apple's Wi-Fi settings page describes "Ask to join networks" and per-network Auto-Join only in terms of notifications and connecting source 16. It doesn't say either changes scanning.

So there's no Apple-documented cause to fix. For diagnosis, Apple's tool is Wireless Diagnostics: hold Option, click the Wi-Fi menu and choose Open Wireless Diagnostics. Apple says it "doesn't change your network settings" source 17.

What chip makers document in their drivers

Intel documents two Windows adapter settings that decide when its adapters scan; change them only with that documentation in hand.

Intel settingWhat Intel says it doesDefault and Intel's advice
Roaming Aggressiveness"This setting alters the signal strength threshold at which the WiFi adapter starts scanning for another candidate AP." Lowest waits until the signal is very low; Highest starts while the signal "is still good" source 19.Medium is the default and "Recommended value"; Intel says to "revert back to the default (Medium) if you don't see an improvement" source 19. Its 802.11ax recommended settings also list Medium source 20.
Global BG Scan Blocking"By default, the Wi-Fi adapter will perform periodic scan for other available Access Points (AP)." Always "Will not perform periodic scans"; On Good RSSI scans only when the current access point's signal strength is low. Intel says turning scans off "can be helpful when using application software that is sensitive to brief interruptions" source 18.Never (scans normally) is the default. "It is not recommended to change this setting for users who are mobile throughout the day" source 18.

Two caveats. Intel's page with Global BG Scan Blocking sits in its legacy-products section and says settings may not appear on every adapter, driver or Windows version source 18. On Intel's community forum in August 2024, a user reported that newer drivers no longer showed the setting and asked for it back. An Intel moderator replied that changes in driver 22.150.0 were made "to reduce/eliminate the impact of BG Scan on user experience" and that "the global BG Scan blocking setting is no longer needed in the latest driver 22.150.0" source 22. That's a forum reply, not a support article, and the user reported the stutter continued on newer drivers. So the setting may not be on your adapter at all. For random spikes on its Wi-Fi adapters, Intel's own support article starts with the latest validated driver from the laptop maker, a clean driver install and its recommended settings source 21.

Adapters from other chip makers, such as MediaTek, Qualcomm and Realtek, carry their own property lists, and the names and meanings vary by driver. Check the laptop maker's support page for your model before you change one, and don't assume an Intel setting means the same thing elsewhere. Where to find Intel's settings in Device Manager, and how Roaming Aggressiveness affects a laptop you carry between rooms, is in the mesh roaming guide's device settings.

How to confirm the pattern

Run two continuous pings at once, one to your router and one past it, and compare when the spikes land.

  1. Find your router's address. On Windows, ipconfig in Command Prompt lists it as Default Gateway. On a Mac, it's shown as Router in the Wi-Fi network's Details in System Settings source 16. If you're unsure, finding your router's address walks through it.
  2. Start a ping to the router. On Windows, ping -t followed by the router's address keeps going "until interrupted"; Ctrl+C stops it and Ctrl+Break shows statistics source 10. On a Mac, ping in Terminal runs until you press Control-C.
  3. Start a second ping to an internet address in another window, such as a public DNS resolver you already use.
  4. Sit still near the router and leave both running for a few minutes. Don't download anything. Write down the time of each spike and the gap between them.
  5. Repeat once on a cable, if the laptop has a port or an adapter, with Wi-Fi turned off.
What you seeWhat it points to
Spikes on both pings, at the same moments, on a regular interval, gone on a cableSomething in the laptop's Wi-Fi, scanning being the documented candidate. Work through the fixes below.
Router ping flat, spikes only on the internet pingNot scanning. The delay is past your router: see the high-ping checks.
Spikes only while something downloads or uploadsA full queue, not scanning: test for bufferbloat.
Spikes on both pings with no regular intervalInterference, signal or a busy channel. See finding the source of jitter.
Spikes plus timeouts, then a reconnectA drop, not a scan: read the disconnect reasons.

The interval is a clue, not a diagnosis. Microsoft documents a 60-second request cycle for Windows' own scans when it asks for them source 1, one Windows user reported about 14 seconds source 11, and on Intel's forum one user described about every five minutes and later posters about every ten source 22. No OS or chip maker publishes a table that matches an interval to a cause. On Windows, the wireless report from netsh wlan show wlanreport shows whether disconnects line up with your spikes source 9, and Settings > Privacy & security > Location shows recent location activity, where apps' Wi-Fi scan calls appear source 6.

The fixes, in order

Start with the change that removes Wi-Fi from the path, then the documented settings, cheapest and most reversible first.

  1. Use a cable for the sessions that matter. A wired connection takes the Wi-Fi hop, and its scans, out of your game or call. When a cable is worth it and when Wi-Fi is close enough is covered in Ethernet vs Wi-Fi for gaming; this article doesn't repeat it.
  2. Update the Wi-Fi driver from the laptop maker, then reset the adapter's settings to the chip maker's defaults. Intel's spike article starts here, with the laptop maker's latest validated driver and a clean install source 21. Changed settings left over from earlier fixes are worth undoing first.
  3. On an Intel adapter, adjust the documented scan settings, one at a time. For a laptop that stays near the router, a lower Roaming Aggressiveness delays roaming scans until the signal is weaker source 19. If your driver shows Global BG Scan Blocking, Intel documents On Good RSSI and Always as ways to limit or stop periodic scans, and warns against it for laptops that move around source 18. Re-run the two pings after each change, and go back to Medium and Never if nothing improves. With scans off, the laptop may hold a weak connection when you carry it to another room.
  4. On Windows, test location services. Microsoft documents that location uses nearby access points and that apps' Wi-Fi scan calls need location permission source 6 source 7. First look at Location's recent activity for an app you don't need, and remove its permission. If that doesn't settle it, turn Location services off as a test and re-run the pings. Microsoft doesn't document that this stops Windows' own scans; the evidence that it can help is a user's report source 11. Turning it off also turns off automatic time zone and Find my device source 7, so turn it back on if the spikes stay.
  5. Leave auto-connect alone. Neither Microsoft nor Apple documents that turning off auto-connect or auto-join changes scanning while you're connected source 8 source 16, and Microsoft's set autoconfig enabled=no stops Windows connecting automatically at all source 8.
  6. On a Mac, there's no Apple-documented setting to change. Apple doesn't document an effect on latency from AirDrop or Location Services source 14 source 15. If you try either, try one at a time and put it back if nothing changes. A cable stays the documented way to take Wi-Fi out of the path.

When it isn't scanning at all

If the router ping stays flat, or the spikes have no rhythm, look elsewhere before touching scan settings.

  • High or spiky ping only to the internet: the path past your home or the game's servers. High ping to game servers has the checks, including a traceroute.
  • Drops and reconnects: signal, roaming, power saving or a security mismatch. Wi-Fi keeps disconnecting covers each.
  • The laptop keeps changing band: band steering moving it between 2.4, 5 and 6 GHz. Band steering and split networks explains how to test a single-band network for one device.
  • Only this laptop is slow or laggy in a spot where others are fine: slow Wi-Fi on one device covers drivers, power settings and background apps.

When new equipment is justified

Rarely, because scanning happens in the laptop, and a new router doesn't change when the laptop's adapter scans. Before buying anything, a cable or a USB Ethernet adapter for a laptop without a port takes the Wi-Fi hop out of the path. A new router or mesh system is worth considering only if your checks pointed at the network rather than the laptop: every device spikes, the router ping is unsteady from several laptops and phones, or coverage is weak where you play. Then compare options in the router rankings or the mesh rankings.

When to get professional help

The checks and settings above need no one on site. Get help when the fix is a cable to the room where you play or work and it needs to go through walls or between floors. RouterHaus can connect you with a contractor licensed where local rules require it; start at a network consultation.

Frequently asked questions

Why does my ping spike every few seconds on Wi-Fi but not on Ethernet?

A regular spike that disappears on a cable usually comes from the laptop's Wi-Fi radio being busy with something other than your traffic, with background scanning the documented candidate. Microsoft says a Wi-Fi scan may increase latency until it completes, and puts the gap a scan can cause for a calling app at 100 milliseconds or more. Confirm it by pinging your router and an internet address at the same time.

Does turning off location services stop Wi-Fi ping spikes on Windows?

It may, but Microsoft doesn't document that it does. Microsoft documents that Windows location uses nearby wireless access points and that apps need location permission to request Wi-Fi scans. A user on Microsoft Q&A reported spikes about every 14 seconds that stopped with Location services off, on a Windows 11 Insider build, and Microsoft's moderator said they couldn't find official documentation confirming that interval. Try it as a test, and note that automatic time zone and Find my device depend on it.

What does Roaming Aggressiveness do?

On Intel adapters, Intel says it sets the signal strength at which the adapter starts scanning for another access point. Lower settings wait until the signal is weak; higher ones start scanning while the signal is still good. Intel recommends the default, Medium, and says to go back to it if other values don't help.

Is AWDL or AirDrop causing ping spikes on my Mac?

Apple doesn't document that. Apple says AirDrop uses peer-to-peer Wi-Fi and the Mac's Wi-Fi radio, but its pages say nothing about an effect on latency, and its AirDrop security page doesn't name AWDL. Confirm the pattern with two pings first, and use a cable where steady latency matters.

Sources

Read on December 4, 2026. Page dates are given where the page shows one.

  1. Microsoft Learn: WlanScan function (wlanapi.h) (last updated October 18, 2023)
  2. Microsoft Learn: SetSocketMediaStreamingMode function (socketapi.h) (last updated October 5, 2021)
  3. Microsoft Learn: WLAN_INTF_OPCODE enumeration (last updated March 13, 2024)
  4. Microsoft Learn: WDI low latency connection quality (last updated March 14, 2023)
  5. Microsoft Learn: WDI_SCAN_TYPE enumeration (last updated February 22, 2024)
  6. Microsoft Learn: Changes to API behavior for Wi-Fi access and location (last updated May 30, 2025)
  7. Microsoft Support: Windows location service and privacy (page metadata updated December 1, 2026)
  8. Microsoft Learn: netsh wlan (updated October 23, 2025)
  9. Microsoft Support: Analyze the wireless network report (page metadata updated November 26, 2026)
  10. Microsoft Learn: ping (last updated November 1, 2024)
  11. Microsoft Q&A, user post with moderator reply: Wi-Fi ping spikes every ~14 seconds on Windows 11 (November 11, 2026)
  12. Apple Platform Deployment: Wi-Fi roaming support in Apple devices (September 25, 2024)
  13. Apple Platform Security: Privacy features when connecting to wireless networks (December 19, 2024)
  14. Apple Platform Security: AirDrop security (February 18, 2021)
  15. Mac User Guide: Control access to the location of your Mac (macOS 27 version)
  16. Mac User Guide: Wi-Fi settings on Mac (macOS 27 version)
  17. Mac User Guide: Use Wireless Diagnostics on your Mac
  18. Intel Support: Advanced Intel Wireless Adapter Settings (last reviewed February 5, 2025)
  19. Intel Support: Wi-Fi Roaming Aggressiveness Setting (last reviewed February 6, 2025)
  20. Intel Support: Recommended Settings for 802.11ax Connectivity (last reviewed June 9, 2025)
  21. Intel Support: Intel Wi-Fi Adapter Random Ping Spikes and Unexpected Wi-Fi Disconnections (last reviewed November 13, 2026)
  22. Intel Community, user thread with Intel moderator reply: Please bring back Global BG Scan blocking setting (August 2024)

Your privacy choices

RouterHaus uses Google Analytics to understand which pages help people. We don't sell personal information. Advertising cookies are off.

Until you save a choice here, analytics cookies are off for visitors in the EEA, UK and Switzerland and in browsers that send Global Privacy Control; elsewhere they're on. When they're off, Google may still receive cookieless pings without identifiers. A choice you save here applies in this browser wherever you are, and your analytics choice applies even if the browser sends Global Privacy Control.

Details are in our privacy policy.