A repair technician who knows your passcode can open everything that you can: your photos, messages and email, and in most cases your saved passwords. Without the passcode, they see only your Lock Screen. Apple and its Authorized Service Providers never ask for your passcode, and most hardware repairs do not need it. If an independent shop asks for it, offer to test the repair together when you collect the phone. If you must give it, give a temporary passcode and expire it when you get the phone back.
A repair usually means that your iPhone stays with a stranger for a few hours or a few days. Many independent shops ask for the passcode on the booking form. They want to check the screen, Face ID, the cameras and the speakers after the work, and those checks are easier on an unlocked phone. The request is normal, and most technicians use the passcode only for those checks. But the passcode gives the technician the same access that you have, and not every technician stops at the checks. In a 2021 study at the University of Guelph, researchers took devices to 16 repair providers. Technicians looked through personal data, including photos, in 6 of the 16 repairs, and copied data from the device in 2 of them.
This guide explains what your passcode opens, how to prepare your iPhone, what to do when a shop insists on the passcode or the screen is too broken to use, and what to check when you collect the phone.
Your passcode opens almost everything on the iPhone
Your iPhone encrypts its storage, and your passcode is part of the key. Without the passcode or your face, the iPhone shows nothing past the Lock Screen. So a technician who does not have the passcode has very little to look at: the time, your widgets, and the notification previews that you allow on the Lock Screen.
The locks inside the iPhone give less protection than they seem to. Most of them ask for Face ID first, and accept the passcode when Face ID fails or is not available. With your passcode, a person can open:
- the Hidden and Recently Deleted albums in Photos;
- apps that you locked with Require Face ID;
- the Passwords app, with your saved passwords and passkeys;
- locked notes, if they use your device passcode and not a separate notes password.
Stolen Device Protection changes this for some of these items. When it is on and the iPhone is away from familiar places, such as your home and your work, saved passwords, saved cards and locked apps open only with Face ID or Touch ID. The passcode does not open them. A repair shop is not a familiar place, so with Stolen Device Protection on, a technician with your passcode cannot open those items. Apple does not include the Hidden album or locked notes in this protection. To turn it on, open Settings, tap Face ID & Passcode, then turn on Stolen Device Protection.
What to do if someone knows your iPhone passcode explains these locks in more detail.
Apple does not ask for your passcode, and an independent shop can usually work without it
Apple's service page says: "Never give your Apple Account password, device passcode, or account security details to anyone else. Neither Apple nor Apple Authorized Service Providers will ask for this information." If a technician needs the iPhone unlocked for software support, Apple asks you to enter the passcode yourself and to stay with the device while the technician uses it.
An independent shop asks for the passcode for a practical reason. It wants to test the repair before it gives the phone back, and you are not there. You can offer another way. A new screen, battery or charging port can be fitted while the phone is locked. Ask the technician to do the repair without the passcode, and to test it with you when you collect the phone. If a shop refuses, give it a temporary passcode that stops working after the repair.
Prepare the iPhone with Apple's steps before you hand it over
Apple lists these steps for a service appointment, and they apply to an independent shop too. Some of them protect your data, because a repair can erase the iPhone or replace it with another device. The others make sure that no one can use your cards or your account while the phone is away.
- Back up the iPhone to iCloud or to a computer.
- Check that iCloud has finished its sync. Open Settings, tap your name, then tap iCloud. The icon next to Saved to iCloud is green when the sync is complete.
- If you use Apple Cash, turn it off. Open Settings, tap Wallet & Apple Pay, then turn off Apple Cash.
- Remove your cards and passes from Wallet. Select each card, tap More, tap Card Details, then tap Remove Card.
- Open Settings, tap General, then tap About, and look at Parts and Service History. If a part shows Finish Repair, finish that earlier repair first.
- Prepare Find My. On iOS 27 or later, open the Find My app, select the iPhone, tap More, tap Repair or Trade In, then tap Enable. On iOS 26 or earlier, open Settings, tap your name, tap Find My, then turn off Find My iPhone.
The Find My step changed in iOS 27. Before, you had to turn Find My off, so you could not locate the iPhone while it was away. Ready for Repair or Trade In keeps Find My on during an eligible repair. It turns off by itself when the technician marks the repair as complete. Apple or the service provider tells you if your repair is eligible.
If a shop must have the passcode, give a temporary one and expire it after
Some repairs need an unlocked phone, for example when the technician must test a part that works only after the iPhone is unlocked. In that case, give the shop a passcode that is useful for the repair and useless after it.
- Before you go, change your passcode to a temporary one. Open Settings, tap Face ID & Passcode, then tap Change Passcode. Do not use a passcode that you use for anything else.
- Turn on Stolen Device Protection, if it is not on. This keeps your saved passwords, saved cards and locked apps closed to the passcode at the shop.
- Move your most private files to a place that the passcode does not open. The Hidden album is not such a place. Locked notes with their own notes password are, and so is a vault app that does not use the device passcode.
- Sign out of the apps that hold the most about you, for example email, if you can easily sign in again afterwards.
- When you get the phone back, change the passcode again. Then open Settings, tap Face ID & Passcode, and tap Expire Previous Passcode Now.
The last step matters because of Passcode Reset. After a change, iOS keeps your previous passcode active for 72 hours, so that you can reset the new one if you forget it. Until you expire it, the temporary passcode that the shop knows can still unlock the iPhone.
With Stolen Device Protection on, a passcode change away from a familiar place needs Face ID, a one-hour wait, and Face ID again. Change the passcode at home, before you go to the shop.
If the screen is broken, do what you can from another device
A phone with a dead screen cannot be prepared in the usual way. Apple's advice is to do as many of the steps as you can. Two of them work from another device:
- To prepare Find My, sign in to iCloud.com/find, select the iPhone, then select Repair or Trade In, or Remove This Device.
- To remove your cards from Apple Pay, sign in to your Apple Account page and select the iPhone in the list of devices.
If iCloud Backup was on, your last backup is from before the damage. The data on a phone that no one can unlock is also safe from the technician, because they cannot unlock it either. If a shop asks for the passcode of a phone with a broken screen, it wants it for the test after the repair. Ask the technician to do that test with you at the counter.
When you collect the iPhone, check the parts and take back control
- Open Settings, tap General, then tap About, and look at Parts and Service History. It shows which parts were replaced, and whether each one is a genuine Apple part.
- If the repair erased the iPhone, restore it from your backup.
- On iOS 26 or earlier, turn Find My on again.
- If you gave a passcode, change it, then tap Expire Previous Passcode Now.
- Add your cards to Wallet again, and sign in again to the apps that you signed out of.
A passcode does not open DotSafe vaults, but an erase can remove them
DotSafe vaults do not open with the device passcode. The key of each vault comes from its own pattern, and DotSafe stores no list of vaults. A technician who knows your passcode can open DotSafe, but cannot open a vault or see how many vaults there are.
DotSafe keeps its vaults out of iCloud Backup and computer backups, so a restore from a backup does not bring them back. If the repair erases or replaces your iPhone:
- With Pro and sync on, your vaults are in your iCloud. Check that each vault shows Up to date in Settings, This vault, iCloud, before the repair. Afterwards, draw each pattern to get each vault back.
- On Free, vaults are only on the iPhone, so they are lost. To keep them, upgrade to Pro and turn on sync before the repair.
Questions
Does an Apple Store need my iPhone passcode for a repair?
No. Apple says that neither Apple nor Apple Authorized Service Providers will ask for your passcode. For some software support, a technician can ask you to enter it yourself, and Apple tells you to stay with the device while the technician uses it.
Why does a repair shop ask for my passcode?
To test the repair before it gives the phone back: the screen, Face ID, the cameras and the speakers. You can ask the technician to do the test with you when you collect the phone. If you must give the passcode, change it to a temporary one first, and expire it afterwards.
Can a repair shop see my hidden photos?
Yes, if the technician has your passcode. The Hidden album opens with Face ID, Touch ID or the passcode, and Apple does not include it in Stolen Device Protection. Without the passcode, the technician cannot unlock the iPhone, so they cannot see your photos.
Should I erase my iPhone before a repair?
Apple's steps for a service appointment do not include an erase. If you erase the iPhone yourself, none of your data is on it while the shop has it, but you must restore everything afterwards. In all cases, back up first, because the repair itself can erase the iPhone.
Do I have to turn off Find My before a repair?
On iOS 26 or earlier, yes. Apple might not be able to service the device if Find My is on. On iOS 27 or later, turn on Ready for Repair or Trade In in the Find My app instead, so that Find My stays on.
Sources
We checked these pages on 10 November 2026.
- Apple: Prepare your iPhone or iPad for a service appointment
- Apple: How to use Ready for Repair or Trade In
- Apple: Expire an old passcode sooner when you change passcodes
- Apple: About Stolen Device Protection for iPhone
- Apple: Use locked apps with Stolen Device Protection
- Apple: Hide photos with the Hidden album
- Ceci, Stegman and Khan, University of Guelph: No Privacy in the Electronics Repair Industry (2022)









