AirDrop Code on iPhone: Easy Steps to Share With Non-Contacts
An AirDrop code is the short code you may be asked to enter when you send a file to someone who is not in your contacts. Apple says that if both iPhones use iOS 26.2 or later, the sender is prompted to enter a code that the receiver gets from their own screen.
Below you will find the exact order of taps for both phones, what happens to the other person afterwards, and what to check if the prompt never appears. If you also want to keep your iPhone in good shape, see our guide to checking iPhone battery health.
- 1Sender: AirDropOpen the item, tap Share, then AirDrop
- 2Receiver: open to everyoneControl Center > AirDrop > Everyone for 10 Minutes
- 3Sender: tap the personSelect their name under People
- 4Receiver: Get AirDrop CodeTell the code to the sender
- 5Sender: enter the codeThe person is added for 30 days
How an AirDrop code works, start to finish
What is an AirDrop code and when do you need one?
Normally AirDrop works when the other person is in your contacts. For anyone else, the receiver has to open AirDrop to everyone first. On iOS 26.2 or later on both devices, Apple adds a step: the receiver taps Get AirDrop Code and reads the code to the sender. In practice, the AirDrop code confirms that you are sending to the person standing next to you and not to a stranger nearby.
Before you start: what both iPhones need
How to use an AirDrop code step by step
These steps follow Apple’s instructions for sharing with someone who is not in your contacts. Use the Files app or any other app; the sender flow is the same.
- Sender: open the app you want to share from, select the file or photos, tap Share, then tap AirDrop.
- Receiver: open Control Center, touch and hold the connectivity controls, tap AirDrop, then tap Everyone for 10 Minutes.
- Sender: tap the receiver’s name under People. If both devices use iOS 26.2 or later, an AirDrop code prompt appears.
- Receiver: tap Get AirDrop Code and tell the code to the sender.
- Sender: enter the AirDrop code. The transfer then goes through, and the receiver accepts it as usual.
If you are sending between two of your own devices, sign in to the same Apple Account on both so items are accepted and saved automatically, as Apple notes in its iPhone User Guide.
What happens after you enter the AirDrop code
Apple documents three things that change once the AirDrop code is accepted, shown in the table below.
| What | What Apple says |
|---|---|
| The other person is remembered | They are added to the Other Known List in your contacts for 30 days. |
| You change your mind | You can mark the person as unknown in the Contacts app before the 30 days are up. |
| Everyone for 10 Minutes ends | After 10 minutes the setting reverts to Contacts Only if you are signed in to your Apple Account, or to Receiving Off if you are not. |
| Children’s devices | Communication Safety can warn a child, blur sensitive content and offer resources if they receive or try to send it via AirDrop. |
AirDrop code not showing up? Try these checks
- Check the iOS version. Apple only says both devices on iOS 26.2 or later are prompted for an AirDrop code. If one phone is older, you may not see the prompt.
- Turn Personal Hotspot off. Apple lists this as a requirement for AirDrop to work.
- Check Wi-Fi and Bluetooth. Both must be on for both people.
- Check your VPN. Apple says some VPN setups can interfere with continuity features, so make sure yours does not block local network connections.
- Reopen Everyone for 10 Minutes. It switches off after 10 minutes, so ask the receiver to turn it on again.
Sending lots of photos instead? A shared link can be easier than a long AirDrop. Our iCloud storage guide explains what to do when your space runs out.
AirDrop code quick answers
Does every AirDrop need an AirDrop code?
No. Apple describes the code for sharing with someone not in your contacts when both devices use iOS 26.2 or later. Sharing with a contact does not need one.
How long does the AirDrop code stay valid?
Apple does not publish a code expiry time. What it does state is that the person is added to the Other Known List for 30 days and that Everyone for 10 Minutes turns off after 10 minutes.
Can I remove someone after using an AirDrop code?
Yes. Apple says you can mark the person as unknown in the Contacts app before the 30 days end.
Can two iPhones just touch to share?
Apple says that if both devices are on iOS 17 or later, you can try holding them together to share via AirDrop.
More fixes: browse all our iPhone troubleshooting guides.
Sources and method
This guide follows Apple’s How to use AirDrop on iPhone and iPad page (published October 5, 2026) and the iPhone User Guide. We checked both on November 8, 2026. Apple may change AirDrop behavior in later iOS updates, and its pages do not state every reason a prompt can fail, so the troubleshooting list above is limited to what Apple documents. This article was written with AI assistance and checked against those Apple pages.
2 Comments