Choose between casting, linking and mirroring.
- Same-network Cast
- Use the YouTube app on your phone or tablet and a compatible TV or streaming receiver on the same Wi-Fi network.
- TV-code connection
- Use the numeric code generated by the TV's YouTube app to link a phone or tablet, even on a different Wi-Fi network.
- Whole-screen sharing
- Use a separate mirroring feature when you need to show the phone interface. YouTube casting normally plays the video through the TV app.
Connect with Cast, then try a code if needed.
Prepare the receiver
Turn on the TV or streaming device and open its YouTube app. Confirm it can play a video using the TV remote. If the TV has no supported YouTube app or receiver, use a compatible HDMI streaming device instead.
Join the same network for ordinary casting
Connect the phone and receiver to the same home Wi-Fi network. A guest network may isolate devices even when both have internet access. On iPhone, allow the app's local-network access if requested. Use the YouTube mobile app rather than youtube.com in a phone browser.
Select the correct television
Tap the Cast icon in YouTube and choose the device name. Select a video and start playback. If several receivers appear, check the room and device name before sending the video. Use the phone's playback controls to pause or choose another item.
Use a TV code when appropriate
In the TV YouTube app, open Settings and choose Add a device to display the numeric code. Older interfaces may call this Link with TV code. In the phone app, tap Cast, then Add a device, enter the code and choose Link. Follow the current labels if your app version differs.
Disconnect or remove the link
Tap Cast and Disconnect when finished. A saved code link can be reused, so on a shared television remove the linked devices in YouTube's settings when you no longer need access. Signing out of a TV account and removing code-linked devices are separate housekeeping actions.
Find the symptom. Check the cause.
The TV does not appear
Check that the TV app is open, both devices have connectivity and ordinary Cast discovery is using the same network. Guest isolation or denied local-network permission can prevent discovery. Restart the app before changing account settings.
The code does not link
Generate a fresh numeric TV code and enter it in the mobile app's device-linking flow. A sign-in activation code is a different code. YouTube's TV-code connection is for phones and tablets, not the computer casting route.
The phone companion prompt is missing
The companion experience uses the same Google Account on the phone and TV. Basic casting, code linking and account-based companion controls are related but different functions. Check which feature you are trying to use before signing everyone out.
A computer uses its own casting route.
On a computer, use YouTube in a supported browser, keep the computer and receiver on the same network and select Cast from the video player when available. A mobile browser does not offer the same YouTube casting workflow as the mobile app.
YouTube and YouTube TV are separate services. A YouTube video playing successfully does not prove access to a YouTube TV subscription or live channel. For full phone-screen sharing, use our phone streaming guide.
Checks that make this work.
Choose casting or a TV-code link
For ordinary casting, start the YouTube app on the phone and TV or streaming device and use the Cast control on a compatible local network. If the TV is not discovered, check that both devices are connected to the intended network and that local-network permission is allowed. YouTube also documents a TV-code method that can link a phone without the same Wi-Fi in supported cases. These are distinct routes, so do not troubleshoot them as if they use identical discovery. YouTube's official guide explains both methods and their current limits.
Keep account and playback clear
Make sure the intended YouTube account or profile is active on the TV, especially in a shared household. A phone can act as a companion or controller, but availability of comments, queue or other features can vary by device and account. If video starts on the wrong screen, check the selected Cast device name. To stop, use the app's disconnect control rather than closing the phone app and assuming the TV has stopped. Google Cast's YouTube instructions provide another official route for compatible devices. Keep the TV's own remote available when casting is unavailable.
Model-aware instructions.
This guide is based on manufacturer and platform support material reviewed on November 4, 2026. We distinguish common steps from model-specific requirements and link relevant official guidance in the FAQs.
Menu names, app interfaces and supported features can change. Use the manual for your exact model when it differs from a general procedure. This is researched guidance, not a claim that we tested every television, app or accessory described.
A little more clarity.
Do I need the same Wi-Fi network to cast YouTube?
Ordinary Cast discovery uses the same network. YouTube also offers a TV-code connection for a phone or tablet on a different network. Both devices still need internet access for streamed video, and the television must have a supported YouTube app.
Where do I find the YouTube TV code?
Open Settings in the TV's YouTube app and look for Add a device, or the equivalent TV-code option on an older interface. Google's YouTube casting guide describes the current connection and unlinking steps.
Can I cast from YouTube in my phone browser?
YouTube's documented mobile casting route uses its app, not youtube.com in a mobile browser. Install the official app, open the receiver's YouTube app and try Cast again. Computer browsers use a separate supported workflow.
Can I use my phone while the video plays?
Yes, the YouTube app can control TV playback while you browse other videos or interact with content. This is different from duplicating the entire phone screen. Available companion features can depend on the account and device combination.
Why will a video not cast from a child profile?
YouTube notes that supervised accounts and YouTube Kids profiles can have feature limitations. Check the active profile and the service's permitted controls. Use an appropriate authorized profile rather than assuming the network or television hardware is faulty.
How do I stop someone controlling a shared TV?
Remove saved code-linked devices from the TV YouTube app's settings when access is no longer wanted. YouTube's unlink-all option removes the linked devices together. Also sign out of personal accounts on a television you do not own.

Mirror or stream a phone
Use your phone as a remote
Connect a computer