Lock YouTube with a PIN to prevent unauthorized access
You can lock the YouTube app on your Roku TV using a PIN (personal identification number) so that other people—especially children—cannot open it, change settings, or access content without your permission. The lock sits at the app level, meaning YouTube stays locked until someone enters the correct PIN, even if they restart the TV or switch inputs.
Roku does not offer a built-in parental control that locks individual apps directly from the TV menu. Instead, you set the PIN through the YouTube app itself, using YouTube's own account-based restrictions. This means the lock is tied to your YouTube account, not to the Roku device as a whole.
Key Takeaways
- YouTube's PIN lock is set inside the YouTube app on your Roku, not in Roku's main settings menu.
- You must be signed into your YouTube account on the Roku TV to set up the PIN lock.
- Once locked, anyone trying to open YouTube will see a prompt asking for the PIN before the app launches.
- The PIN you create for YouTube is separate from any PIN you use for other apps or services.
- If you forget the PIN, you will need to sign out of YouTube on the Roku and sign back in to reset it.
Steps to set up a PIN lock on YouTube
Open the YouTube app on your Roku TV and navigate to Settings. You can usually find Settings in the menu by pressing the Options button on your Roku remote (the button with three horizontal lines) while YouTube is open, or by looking for a gear icon within the app itself.
Once in Settings, scroll down and look for an option labeled Parental Controls, Restricted Mode, or PIN Lock—the exact name varies depending on your YouTube app version and Roku model. Select this option and you will be prompted to create a four-digit PIN. Choose a number you will remember but that others in your household cannot easily guess. Write it down and store it somewhere safe, separate from your TV remote.
After you enter your PIN twice to confirm it, YouTube will ask whether you want to lock the app when ready or set restrictions on content type. If you want to prevent anyone from opening YouTube without the PIN, select the option to lock the app. Save your changes and exit Settings.
What happens when YouTube is locked
Once the PIN lock is active, anyone who tries to open the YouTube app will see a screen asking them to enter the PIN before the app loads. They will not be able to see the YouTube home screen, search, or access any content until they enter the correct number. If they enter the wrong PIN, they will be prompted to try again.
The lock remains in place even if the TV is turned off and back on, or if someone switches to a different input and returns to YouTube. The only way to bypass it is to enter the correct PIN or to sign out of your YouTube account on the Roku entirely—which will also remove your watch history, subscriptions, and saved playlists from that TV.
Unlocking YouTube or changing the PIN
To change or remove the PIN, open YouTube again, go back to Settings, and find Parental Controls or PIN Lock. You will be asked to enter your current PIN before you can make changes. Once you enter it correctly, you can create a new PIN or turn off the lock entirely.
If you forget your PIN, you will need to sign out of YouTube on the Roku TV. Go to Settings within the YouTube app, scroll to the bottom, and select Sign Out. After signing out, you can sign back in with your YouTube account credentials, and the PIN lock will be reset. You can then create a new PIN if you wish.
Roku's built-in parental controls as an alternative
Roku itself offers a separate parental control system that can restrict access to channels based on content rating, but it does not lock individual apps like YouTube. Instead, Roku's parental controls let you hide channels from the home screen and require a PIN to access them. This is a device-level control, not an app-level one.
If you want to prevent anyone from accessing YouTube through Roku's channel menu, you can hide the YouTube channel in Roku Settings under Parental Controls and set a PIN for that restriction. However, this is less reliable than YouTube's own PIN lock because someone could potentially re-add the channel if they know how to navigate Roku's settings. For the strongest protection, use YouTube's PIN lock inside the app itself.
Why PIN lock is better than hiding the app
Hiding YouTube from the Roku home screen makes it less visible, but a determined person can still find and unhide it if they access Roku's settings menu. A PIN lock inside the YouTube app is more find because it requires a code every single time someone tries to open it, regardless of how they access it or what they do with the TV's settings.
PIN locks are also useful if multiple people in your household use the same Roku TV but you want to control who watches YouTube. Parents often use this feature to prevent children from accessing the app without permission, or to enforce screen time limits by requiring an adult to enter the PIN each time.
Troubleshooting common PIN lock problems
If the PIN lock is not working or you cannot find the Parental Controls option in YouTube, check that you are running the latest version of the YouTube app. Go to the Roku home screen, highlight the YouTube channel, press the Options button, and select Check for updates. Older versions of YouTube may not have the PIN lock feature.
If you are signed into a YouTube account that does not have permission to set parental controls—for example, a child account on a family plan—you may not be able to create a PIN lock. Sign out and sign back in with an adult account, or ask the account owner to set the PIN lock from their own account on a different device, then sign into that account on the Roku.
If YouTube is locked and you cannot remember the PIN, the only solution is to sign out of the app and sign back in, which will reset the lock. This will also erase your watch history and subscriptions on that TV, so you will need to re-add your subscriptions after signing back in.
Frequently Asked Questions
Can I lock YouTube without signing into a YouTube account?
No. YouTube's PIN lock requires you to be signed into a YouTube account on the Roku TV. If you are using YouTube in guest mode or without an account, the PIN lock feature will not be available. You must have an active YouTube account to set up the lock.
Will the PIN lock prevent my kids from watching YouTube on other devices?
No. The PIN lock only works on the specific Roku TV where you set it up. Your children can still watch YouTube on phones, tablets, computers, or other streaming devices unless you set up parental controls on those devices separately. Each device needs its own PIN lock or parental control.
What if someone factory resets the Roku TV—will that remove the PIN lock?
Yes. A factory reset will erase all settings and sign you out of all apps, including YouTube. The PIN lock will be removed because it is tied to your YouTube account login on that specific TV. After a factory reset, you would need to sign back into YouTube and set up the PIN lock again.
Can I set different PINs for different YouTube accounts on the same Roku?
Each YouTube account can have its own PIN lock. If multiple people sign into YouTube on the same Roku TV using different accounts, each account can set a separate PIN. However, only one account can be signed in at a time, so you would need to sign out and sign in with a different account to use a different PIN.
Does the YouTube PIN lock also restrict what content can be watched?
The PIN lock itself only controls whether the app can be opened. However, YouTube's parental controls menu often includes options to restrict content by rating (such as blocking videos marked for mature audiences). You can set both the PIN lock and content restrictions at the same time for more complete control.