The Olde World: Online

Lag on a Mac over Wi-Fi

If you play on a Mac over Wi-Fi and get short lag spikes, where the world freezes or jumps for a moment and your actions land late, the cause is usually a wireless link macOS runs in the background. The fixes below take a minute.

What causes it

Macs keep a second wireless link, called AWDL (Apple Wireless Direct Link), for talking straight to other Apple devices nearby. AirDrop, AirPlay, Handoff, Universal Control and Sidecar all use it.

While it is on, your Mac's Wi-Fi keeps stepping away from your network for a moment to listen for those devices, and the game's traffic waits until it comes back. You feel each wait as a lag spike. A wired connection is not affected.

Fix 1: Use a cable

If you can, plug your Mac into your router with an Ethernet cable. Most recent Macs need a USB-C to Ethernet adapter for this. It fixes the problem completely.

Fix 2: Turn off what uses it

Open System Settings from the Apple menu, then:

Can't find one? Type its name into the search box at the top of System Settings.

This often helps, but macOS can still turn the link on by itself. If the lag stays, use Fix 3.

Fix 3: Turn AWDL off in Terminal

This turns the link off until you restart your Mac. AirDrop, AirPlay, Sidecar and Universal Control won't work while it is off.

  1. Open Terminal: press Command and Space, type Terminal, and press Return.
  2. Paste this line and press Return:
sudo ifconfig awdl0 down
  1. Type your Mac's login password and press Return. Nothing shows while you type, which is normal.

macOS may turn the link back on when something asks for it, such as opening AirDrop. If the lag comes back, run the line again.

To turn it back on without restarting:

sudo ifconfig awdl0 up

Fix 4: Move your router's Wi-Fi channel

AWDL prefers channel 6 on 2.4 GHz and channels 44 and 149 on 5 GHz. If your router uses one of those, your Mac doesn't have to hop away to another channel, and AirDrop keeps working. Change the channel in your router's settings; if one doesn't help, try the other.

Apps that keep AWDL off

These turn AWDL off for you and keep it off. We are not affiliated with any of them in any way, and we haven't reviewed their code. They run with administrator rights on your Mac, so install only what you trust, and use one at a time.

Further reading

Still lagging?

Tell us in our Discord, with roughly when it happened, and we'll take a look.