The AirPlay Passcode is the 4-digit security code that appears on your Apple TV or Smart TVs that have in-built AirPlay support. You need to enter the passcode on your iPhone or iPad to mirror the iOS or app screen on your TV. Sometimes, the AirPlay code displayed on the TV doesn’t work, and you will face issues like code not accepted, clears the code, etc. If the AirPlay code is not working, you will find difficulties in mirroring the content to your Apple TV or Smart TV. So, we have enlisted the possible fixes to overcome the AirPlay passcode not working issue below.
AirPlay Code Not Working: Common Issues
Let me break down the possible issues which you will face while entering the AirPlay code.
- The AirPlay code is incorrect.
- AirPlay passcode not accepted.
- Unable to AirPlay with the correct Passcode
- AirPlay code not showing
5 Ways to Fix AirPlay Code Not Working
If you are one of the users who faced the above-mentioned issues, then refer to all the possible solutions to fix it.
Enter the AirPlay Code Correctly
This is one of the common issues that most users will face while establishing an AirPlay connection between an Apple TV / Smart TV and an iOS device. Since the AirPlay code is case-sensitive, you might have entered the code in capital letters in spite of small letters or vice versa. So, it is always recommended to check whether you have entered the Passcode correctly.
Reset Paired Devices
If you can’t enter the AirPlay code or if the AirPlay screen prompts you to type the password again, even after entering the right password, then refer to the below-given troubleshooting method.
#1. Navigate to the AirPlay & Homekit Settings and select the Require code.

#2. Now Click Reset Paired Devices under the RESET section.
#3. That’s it. Now all the previously connected devices will be reset.
#4. Again connect your iPhone to LG Smart TV and check if the passcode problem is resolved.
Update the iOS and Apple TV
Are you facing a situation where the AirPlay code not showing on your Apple TV? Then it might be because of some technical glitch. However, you can resolve the issue by updating the iOS and tvOS software to its latest version.
If you are using an outdated Apple TV and struggling with AirPlay Code not showing up or AirPlay code keeps popping up issues, refer to the steps below to update the Apple TV.
- Go to Settings → System → Software Updates and hit Update Software.
- Check for updates, and if the update is available, click Download and Install.
After updating the Apple TV, enable the AirPlay mode and verify whether the problem is resolved or not.
Similarly, if you try to AirPlay your older version iOS devices on Apple TV, you will get an “Operation could not be completed” error.

To fix this AirPlay not working problem, update your iOS device to the latest version and check whether the issue is resolved.
Restart the iOS and Apple TV / Smart TV
One of the best troubleshooting methods is Restart. Simply reboot the iOS device and Apple TV or device with AirPlay2 support. After restarting both devices, try mirroring the iOS screen on Apple TV / Smart TV and check whether the AirPlay code problem is resolved or not.
Change Require Code Settings
If none of the above methods work in fixing the AirPlay code issue, the last alternative way to mirror the iPhone or iPad screen on your TV is by changing the Require Code settings from First Time Only to Use Password Instead.
Here for demonstration purposes, we have included the steps for AirPlay iPhone on LG Smart TV.
#1. Press the Home button on the LG TV magic remote and select the Home Dashboard icon.
#2. Now, scroll to the right and hit the AirPlay option and navigate to AirPlay & Homekit Settings.
#3. Select the Require Code and then select Use Password Instead.

#4. Set the password to your wish and confirm it.
#5. Connect your iPhone and LG Smart TV under the same Wi-Fi connection
#6. Now hit the screen mirroring icon on your iPhone and enter the password on the AirPlay Code box on your iPhone.
#7. Check whether the AirPlay connection is established or not.
Frequently Asked Questions
If the Sony TV AirPlay code is not working, restart the Sony TV and iOS device. Then, try mirroring the iOS screen on Sony TV again.
You will face this problem due to minor bugs on the Samsung TV. To fix it, update the Samsung Smart TV to the latest firmware. Then, AirPlay to Samsung TV again and check whether the code is showing on the TV or not.
On your Apple TV, navigate to Settings → AirPlay and HomeKit → turn On the AirPlay. Now, select the Screen Mirroring icon on your iOS device and tap Apple TV to get the AirPlay code on your TV.
If the AirPlay code is not showing up on your Apple TV, you need to check whether you have enabled the required code for the first time only.