Why is AirPlay delayed on a Mac?
Updated 2026-10-06
AirPlay from a Mac is delayed because macOS schedules system audio 2000 ms ahead of when it plays, a buffer size inherited from AirTunes in 2004. The speaker itself only needs about 70–85 ms. macOS has a built-in setting, audioLatencyMs, that lowers the buffer; around 350 ms is the lowest stable value.
Where the two seconds come from
When you pick an AirPlay speaker as your Mac's sound output, macOS hands system audio to a background process called AirPlayXPCHelper. It builds an audio engine that runs a fixed distance ahead of playback: 88,200 audio frames, which at 44.1 kHz is exactly 2.000 seconds. The Preroll research notes trace that constant back to AirTunes, Apple's 2004 wireless audio system, which needed generous buffering on the Wi-Fi of the time.
The same log shows what the speaker actually asks for. When the stream starts, macOS records an arrivalToRenderLatencyMs value from the receiver: 84 ms in Preroll's tests and 69 ms on a HomePod mini in ours. Everything above that is the Mac's own scheduling policy, not something the speaker requires.
What the delay breaks
- Video. Picture plays immediately on your screen, sound arrives two seconds later. Some apps compensate; system-wide output usually doesn't.
- Games and interface sounds. Clicks, keystrokes and game effects arrive long after the action.
- Short alerts. AirPlay also pauses the stream during silence, so the start of the next sound can be late or clipped while it reconnects.
People have been reporting this for years: on the MacRumors forums, users describe 1–2 seconds of lag on YouTube, and an Apple Community thread about a roughly three-second lag on a HomePod mini has hundreds of "me too" replies.
How to lower it
macOS reads an undocumented preference, audioLatencyMs in the com.apple.airplay domain, that overrides the 2000 ms default. Because AirPlayXPCHelper runs as root, the value has to be written in root's preferences, and the helper has to restart before it takes effect. You can do that yourself in Terminal (see the steps), or let Lagless do it from the menu bar.
Don't go below 350 ms: macOS subtracts a fixed 250 ms from whatever you set, so 250 ms leaves no buffer at all and the speaker goes silent.
Questions
Is the AirPlay delay a bug?
No. It's a deliberate buffer that macOS applies to system audio sent over AirPlay. It is far larger than modern speakers need, but it is working as designed.
Does the delay depend on my Wi-Fi?
The 2000 ms figure is fixed by macOS, not measured from your network. Your Wi-Fi decides how low you can safely go once you lower it.
Why does video in some apps stay in sync?
Some apps play video through AirPlay themselves and delay the picture to match. Forum users report that AirPlaying from inside the Music app or a video app stays in sync, while system-wide output from Control Center does not.