# Why is AirPlay delayed on a Mac?

> macOS sends system audio to AirPlay speakers 2000 ms ahead of time. Here is where that number comes from, why the speaker doesn't need it, and how to lower it.

Updated 2026-10-06. Canonical page: https://lagless.app/guides/why-is-airplay-delayed-on-mac/

> 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](https://github.com/ksha23/preroll/blob/main/NOTES.md) 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](https://forums.macrumors.com/threads/audio-lag-with-airplay.2306123/), users describe 1–2 seconds of lag on YouTube, and an [Apple Community thread](https://discussions.apple.com/thread/255127934) 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](/guides/audiolatencyms-explained/)), 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](/guides/airplay-silent-at-250-ms/).

## 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.

## Sources

- [Preroll README and research notes](https://github.com/ksha23/preroll/blob/main/NOTES.md)
- [MacRumors: Audio lag with AirPlay?](https://forums.macrumors.com/threads/audio-lag-with-airplay.2306123/)
- [Apple Community: 3 second audio lag between HomePod mini and MacBook Pro](https://discussions.apple.com/thread/255127934)
