Technician helping fix Roku TV AirPlay not working and screen mirroring issues

Steve H.

Reviewed for technical accuracy

Specialities: Roku TV (TCL/Hisense/Sharp/onn. Roku TV), Roku OS updates, AirPlay 2 setup & troubleshooting, iPhone/iPad to Roku screen mirroring, MacBook to Roku AirPlay, AirPlay passcode / AirPlay code issues

Roku TV AirPlay not working — iPhone won’t connect, AirPlay 2 setup, mirroring fixes & Wi-Fi troubleshooting

Technician avatar Technician
Hey! We’ll fix your Roku TV AirPlay not working issue step-by-step. AirPlay problems on Roku usually come from one of four buckets:

1) Discovery problem (your iPhone/iPad/Mac can’t “see” the Roku) — often caused by Wi-Fi band mismatch, guest network, VPN, or router settings like AP isolation / blocked multicast.
2) Settings mismatch on Roku (AirPlay disabled, wrong “Require Code” mode, HomeKit pairing stuck).
3) Update/compatibility (Roku OS needs an update, iOS/macOS version, or the Roku model doesn’t support AirPlay 2 the way you’re trying to use it).
4) Connection drops (AirPlay starts then freezes, black screen, buffering, audio only) — commonly Wi-Fi interference, weak signal, or an app-level AirPlay limitation.

Quick questions so we take the fastest path (no random factory resets):
• Is this a Roku TV (TCL/Hisense/Sharp/onn.) or a Roku streaming stick/box?
• Which Apple device: iPhone / iPad / Mac and iOS/macOS version (roughly)?
• What fails exactly: Roku doesn’t show in AirPlay list, AirPlay code not showing, “Unable to connect,” or it connects then drops/buffers?
• Are both devices on the same Wi-Fi network (not guest), and same band (2.4 GHz vs 5 GHz)?

Reply with those and I’ll give you a clean “do this, then this” fix.
Customer
It’s a TCL Roku TV. I’m using an iPhone (iOS 17) and sometimes a MacBook. The issue is: the Roku TV often doesn’t appear in AirPlay. When it does appear, AirPlay sometimes asks for a code and then still says Unable to connect. Screen mirroring is basically unreliable.
Technician avatar Technician
That combination (Roku missing from the list + AirPlay code issues + “Unable to connect”) screams network discovery + handshake rather than “AirPlay is broken.”

AirPlay to Roku relies on your Wi-Fi allowing devices to discover each other (think Bonjour/mDNS and multicast traffic). If your router separates clients (guest mode, AP/client isolation) or your phone flips between Wi-Fi bands, AirPlay gets flaky: Roku disappears, the AirPlay passcode pops up repeatedly, or the connection fails after entering the code.

We’ll do this in the fastest order: (A) Confirm Roku AirPlay settings → (B) Stabilize Wi-Fi discovery → (C) Fix the AirPlay code loop → (D) Last-resort reset ladder.

First: do you have a guest Wi-Fi, mesh system, extender, or VPN on the iPhone/Mac?
Customer
Yes — I have a mesh Wi-Fi and a guest network. My phone sometimes joins the guest one by accident. Also I use a VPN on my iPhone sometimes. The Roku TV is usually on the main network, but I’m not 100% sure.
Technician avatar Technician
Great — that’s almost certainly the root cause. AirPlay is very sensitive to same network + local discovery. Let’s do the “no tools, no purchases” fix first.

Step 1 — Put everything on the SAME main Wi-Fi (not guest) + disable VPN for testing
1) On iPhone: Settings → Wi-Fi → connect to your main network (forget the guest network temporarily if it keeps auto-joining).
2) Disable VPN on iPhone (and Mac) for 5 minutes. VPNs can block local discovery and break AirPlay to Roku.
3) On Roku TV: Settings → Network → About → confirm the Wi-Fi name (SSID) matches the iPhone’s main network.

Step 2 — Restart the “AirPlay chain” (quick reboot clears stuck discovery)
1) Restart Roku TV: Settings → System → Power → System restart (or unplug 30 seconds).
2) Restart iPhone (quick off/on).

Then try AirPlay again: open Photos → select a video → Share → AirPlay → choose the Roku TV.
Customer
I did that. When I’m on the main Wi-Fi and VPN is off, the Roku shows up more often. But it still sometimes asks for an AirPlay code, and after entering it, it may fail once and then work on the second try. Also on the MacBook, mirroring works one day and then the Roku disappears again the next day.
Technician avatar Technician
Perfect — we improved discovery, now we’ll make it reliable by fixing the two classic Roku AirPlay pain points: (1) AirPlay security/code behavior and (2) mesh roaming / band steering.

Step 3 — Fix AirPlay settings on Roku (stops the “code loop”)
On Roku TV: Settings → Apple AirPlay and HomeKit → AirPlay
• Ensure AirPlay = On
• “Require Code” → set to First Time Only (best balance for most homes)
• “Subtitles and Captioning” doesn’t matter for pairing, but we’ll keep defaults for now

Step 4 — Make sure iPhone/Mac can talk locally (permission + local network)
On iPhone: Settings → Privacy & Security → Local Network → make sure apps you AirPlay from (Photos, YouTube, Netflix, etc.) are allowed. If Local Network is blocked, Roku can appear but fail to connect.

Step 5 — Reduce mesh “roaming” problems (Roku disappears randomly)
AirPlay hates when the phone or Roku jumps between nodes/bands mid-session. Quick stability tips:
• Put the Roku TV on the strongest node (closest access point). If possible, use 5 GHz for Roku only if signal is strong; otherwise stable 2.4 GHz is OK.
• If your mesh has “client steering / band steering,” keep it on, but try to keep the Roku in a consistent spot and avoid swapping Wi-Fi names during testing.

Try again after Step 3–5. Tell me: does the AirPlay code still appear every time?
Customer
Setting “Require Code” to First Time Only helped a lot — code doesn’t pop up constantly now. But I still get random “Unable to connect to Roku” sometimes, especially when my roommate is streaming and the Wi-Fi is busy. Also, occasionally the Roku is visible but AirPlay just spins/loading.
Technician avatar Technician
That “visible but won’t connect / spinning” symptom is usually Wi-Fi congestion or router filtering (multicast getting dropped under load). We’ll do quick wins first, then one deeper router check that often makes Roku AirPlay rock-solid.

Step 6 — Quick stability wins (2 minutes)
1) Update Roku OS: Settings → System → System update → Check now.
2) Update iPhone/iPad/macOS (even a minor update helps AirPlay reliability).
3) On Roku: Settings → Apple AirPlay and HomeKit → About (confirm AirPlay is recognized/enabled).

Step 7 — Kill the two common “AirPlay killers” on Wi-Fi
• Avoid Guest Wi-Fi entirely for AirPlay sessions (guest networks often block device-to-device traffic).
• If your router has “Wireless Isolation,” “AP Isolation,” “Client Isolation,” or “Block LAN to WLAN,” turn that OFF for the main network. Those features break AirPlay discovery/handshake to Roku (even if the TV sometimes appears).

Step 8 — If AirPlay is still buffering: prioritize the Roku connection
• If possible, connect Roku TV via Ethernet (best fix for AirPlay buffering and dropped connections).
• If not, move the Roku closer to the strongest mesh node, or move the node closer to the Roku. AirPlay mirroring is more sensitive than regular streaming apps.

After this, we’ll handle the “it works on iPhone but not Mac” scenario (common) and a clean reset ladder.
Customer
Roku OS update was available — installed it. AirPlay is better now. iPhone AirPlay works most of the time. On the MacBook I still sometimes don’t see the Roku in the Screen Mirroring list. Also, if I AirPlay YouTube it works, but some apps don’t show the Roku as an option.
Technician avatar Technician
You just described two normal-but-confusing behaviors, so let’s lock them down:

(1) MacBook can be pickier about discovery (firewall/VPN/network changes).
(2) Some apps restrict AirPlay or only allow AirPlay within their own player — that’s not your Roku failing.

Step 9 — Fix MacBook AirPlay / Screen Mirroring discovery
1) Turn off VPN on Mac (even “always on” profiles can hide devices).
2) If you use macOS firewall: System Settings → Network → Firewall → temporarily off for a test (or allow incoming connections for system services).
3) Toggle Wi-Fi off/on on the Mac, then try Control Center → Screen Mirroring again. If the Roku appears slowly, it’s discovery timing.

Step 10 — Understand app differences (AirPlay icon missing)
• If YouTube AirPlay works but another app doesn’t show AirPlay, it can be an app limitation (DRM/rights) or the app requires you to tap the player’s AirPlay icon, not the iOS Control Center.
• For “screen mirror iPhone to Roku TV,” the most reliable method is Control Center → Screen Mirroring (full device mirror) rather than per-app casting, if the app is restrictive.

If you want, tell me the exact apps that won’t AirPlay and I’ll tell you whether it’s a known limitation or a settings issue.
Customer
That explains a lot. One more thing: I paired the Roku with the Home app (HomeKit) before, and after that AirPlay felt worse. Should I remove HomeKit from the Roku and set it up again, or leave it alone?
Technician avatar Technician
Good question — AirPlay and HomeKit live in the same “Apple AirPlay & HomeKit” area on Roku, so a stuck pairing can make things feel unstable.

Step 11 — HomeKit best practice (don’t nuke it unless needed)
• If AirPlay is now mostly working after network + update fixes, I’d leave HomeKit alone.
• Re-pair HomeKit only if you see clear symptoms: the Roku constantly asks for permissions, AirPlay code behavior changes randomly, or the Roku disappears after Home app changes.

Re-pair ladder (safe order)
1) Restart Roku TV + iPhone.
2) On Roku: Settings → Apple AirPlay and HomeKit → AirPlay → confirm “Require Code = First Time Only.”
3) Only then: remove the Roku from the Home app, then re-add it via Settings → Apple AirPlay and HomeKit → HomeKit → Set up.

This keeps your Roku TV AirPlay not working issue from coming back due to a stuck pairing state.
Customer
Makes sense. If it breaks again, what should I try first: factory reset the Roku TV, reset network settings on iPhone, or just redo AirPlay/HomeKit settings?
Technician avatar Technician
Factory reset is last. Use this ladder so you fix AirPlay fast without wiping everything.

Fast reset ladder for Roku AirPlay issues
1) 60-second reboot: restart Roku TV + restart iPhone/Mac + disable VPN. (Clears stuck discovery.)
2) Confirm network: make sure both devices are on the same main Wi-Fi (no guest) and not bouncing between networks.
3) Check Roku AirPlay settings: AirPlay On + “Require Code: First Time Only.”
4) Update check: Roku OS update + iOS/macOS update.
5) Rebuild pairing: remove/re-add Roku in Home app only if HomeKit seems stuck; otherwise skip.

When to reset iPhone network settings
• Only if Wi-Fi itself is acting weird (can’t stay connected, DNS issues, captive portals, stuck on guest). It can help, but it’s disruptive (re-enters Wi-Fi passwords).

When a Roku factory reset is worth it
• After updates + correct Wi-Fi + correct AirPlay settings, AirPlay still fails across multiple Apple devices consistently. That’s rare — usually it’s the router/guest/VPN piece.

If you tell me your mesh brand/model, I can point out the exact setting name to disable (AP isolation / client isolation / multicast filtering).
Customer
After moving everything to the main Wi-Fi, turning off VPN, updating Roku OS, and setting “Require Code” to first time only, AirPlay is finally stable. MacBook mirroring also works more consistently now. Thanks — this actually fixed my Roku TV AirPlay not working problem.
Technician avatar Technician
Summary: when Roku TV AirPlay is not working, fix the basics in the right order: same main Wi-Fi (no guest), disable VPN, confirm Roku AirPlay 2 settings, update Roku OS, then stabilize mesh Wi-Fi so devices don’t “disappear.”
Biggest wins are: keeping iPhone/Mac and Roku on the same network, avoiding guest mode, setting “Require Code” to First Time Only, and making sure your router isn’t blocking local discovery (multicast/Bonjour). Want help with your specific router/mesh settings? Open the chat and an expert will guide you in real time.

Quick answer: the accepted fix

Accepted first fix for Roku TV AirPlay not working: put your iPhone/iPad/Mac and Roku on the same main Wi-Fi (not guest), disable VPN, then on Roku enable Apple AirPlay and set “Require Code” to First Time Only. Restart Roku + iPhone, run a Roku System update, and keep Wi-Fi stable (avoid isolation settings that block local discovery). If AirPlay connects but buffers, improve signal or use Ethernet.


Why Roku TV AirPlay stops working

Most Roku AirPlay not working issues come from local network discovery and Wi-Fi instability. If your iPhone is on a guest network, using a VPN, or your router has client/AP isolation, the Roku may not show up in the AirPlay list or may fail after entering an AirPlay code. Mesh Wi-Fi roaming and congestion can also cause AirPlay buffering, black screen, or “Unable to connect” errors when screen mirroring to Roku TV.

How to test if AirPlay to Roku is fixed

Test in a controlled way: (1) from iPhone Photos, AirPlay a short video to the Roku TV; (2) try Control Center → Screen Mirroring for a full-device mirror; (3) test from a MacBook via Control Center → Screen Mirroring. If the Roku stays visible and connects after a Roku restart and 30–60 minutes of normal Wi-Fi use, your AirPlay discovery and pairing are stable.

Roku TV AirPlay not working — quick troubleshooting tips

Most cases are fixed by using main Wi-Fi (not guest), disabling VPN, updating Roku OS, and adjusting AirPlay code settings.

Quick path: confirm both devices are on the same Wi-Fi, turn off VPN, restart Roku TV, update Roku OS, and verify Roku Settings → Apple AirPlay and HomeKit → AirPlay is ON with “Require Code: First Time Only.” If AirPlay keeps disappearing, check router settings for AP/client isolation or multicast filtering. For buffering, move closer to the router/mesh node or use Ethernet.

Disclaimer: This information is AI-generated and intended for general guidance only. Do not open devices or attempt unsafe electrical work. For advice specific to your Roku TV model, router/mesh configuration, and Apple device settings, please consult a verified expert on Whizz-Tech or the manufacturer’s support before making decisions.

Understand what these prompts mean


Getting Started Is Easy

Ask for help, 24/7

Members enjoy round-the-clock access to 12,000+ verified Experts, including Roku AirPlay troubleshooting, screen mirroring fixes, and Wi-Fi/mesh setup help.

Expert will respond in minutes

We match you with an Expert who understands Roku OS settings, Apple AirPlay 2 pairing, AirPlay code prompts, and router/mesh discovery issues. Chat step-by-step.

Save time & money

No guessing, no unnecessary resets. Fixing Roku TV AirPlay not working remotely can save hours of trial-and-error with Wi-Fi, VPN, and AirPlay settings.

FAQ

Why is my Roku TV not showing up in AirPlay?

If your Roku TV doesn’t appear in AirPlay, it’s usually because the iPhone/iPad/Mac and Roku are not on the same main Wi-Fi (guest networks often block device discovery), a VPN is enabled, or the router has AP/client isolation or multicast filtering. Confirm AirPlay is enabled on Roku and restart both devices.

How do I fix “Unable to connect” when AirPlaying to Roku?

Disable VPN, confirm both devices are on the same network, restart Roku TV (System restart), then check Roku Settings → Apple AirPlay and HomeKit → AirPlay. Setting “Require Code” to First Time Only often prevents repeated pairing failures. Updating Roku OS and iOS/macOS also improves reliability.

Why does Roku keep asking for an AirPlay code?

Repeated AirPlay code prompts usually come from pairing instability or Wi-Fi network changes. On Roku, set “Require Code” to First Time Only, keep the iPhone on the main network (not guest), and avoid VPN. If HomeKit pairing is stuck, remove and re-add the Roku in the Home app.

Why does AirPlay work in YouTube but not in other apps?

Some apps restrict AirPlay (DRM/licensing) or require using the in-app AirPlay icon. If an app won’t AirPlay, try full-device Screen Mirroring from iOS Control Center instead, or test with Photos/YouTube to confirm the Roku AirPlay connection itself is working.

Sources

Matt Verified Icon
Matt ● replies in < 1 min
Technician Expert
⭐⭐⭐⭐⭐ Trusted by 27,000+ customers
Avatar
Alex · Expert's Assistant