Free help › iPhone

A loved one's iPhone is locked after they died: what Apple will and won't do

By Gareth Llewellyn, author of Their Digital Life · Last checked November 2026

If you don't know the code, Apple can't unlock the phone for you. But many of their photos and messages may also be in their iCloud account, and Apple has official ways for families to ask for those. Here is what works, in order.

The short version
  • Don't guess the code, and don't reset or erase the phone.
  • If they named you as a Legacy Contact, you can ask Apple for their iCloud data with an access key and the death certificate.
  • Without a Legacy Contact, Apple has a paperwork route. Ask for their data before you let Apple close anything.
  • What's stored only on a locked phone is usually not possible to get back.

The honest answer first

Apple says it "can't help remove the passcode lock without erasing the device." Erasing deletes everything stored on the phone. So the code is the only way into the phone itself.

That sounds final, but it often isn't. Many iPhones save photos, messages and backups to iCloud, Apple's online storage. Apple's processes for families are about that iCloud copy.

Before you do anything: don't guess

It's natural to try their birthday. Please don't. Each wrong try after the third makes the phone wait longer. Apple says that after 10 wrong tries the iPhone is locked and has to be connected to a computer, which in practice means erasing it. If they turned on a setting called Erase Data, the phone erases itself after 10 wrong tries instead. You can't tell from the outside whether it's on.

Please don't hold the phone up to their face or press their finger on it either. And don't tap "Forgot Passcode?", don't "restore" it on a computer, and don't use Erase in Find My. Each of these can wipe the phone.

If their phone is unlocked right now, plug it in and stop the screen from locking. Our free guide to the first 48 hours shows you how.

1. Look for a written code

Check notebooks, the address book and with close family. If you find a code, show it to the executor before anyone uses it. Then enter it once only. If it doesn't work, stop.

2. Check for other copies of the photos

Photos may already be on a family member's phone through a shared album, on an old computer, or in their iCloud account. Save shared-album photos into your own library now, because a shared album may disappear if their account is closed.

3. If you're their Legacy Contact

A Legacy Contact is someone the person chose, while they were alive, to get their iCloud data after they die. Each Legacy Contact has an access key: a long code with a large square barcode. Apple says the person might have printed it, saved it with their estate papers, or sent it to the person they chose. If you accepted it, your own iPhone keeps a copy (look under Settings, your name, Sign-In & Security, Legacy Contact). You'll need the access key and the death certificate.

Possible with paperwork

To ask on a computer:

  1. Go to digital-legacy.apple.com.
  2. Click Request access.
  3. Sign in with your own Apple Account.
  4. Enter the access key and upload the death certificate.
  5. Follow the steps on screen.

Or on your own iPhone, open Settings, tap your name, tap Sign-In & Security, tap Legacy Contact, tap their name, then tap Request Access.

Apple says the data includes iCloud Photos, Notes, Mail, Contacts, Calendars, Messages in iCloud, call history, iCloud Drive files, Health data, Voice Memos and "anything included in an iCloud Backup". It doesn't include passwords, payment details, subscriptions, or films, music and books they bought.

Once Apple approves, it also says "Activation Lock is removed from devices that use your loved one's original Apple Account", so the phone can be erased and reused.

Deadline: three years. Apple says Legacy Contact access lasts "three years from when Apple approves the first Legacy Contact account request." After that, "the account is permanently deleted." Download everything you want well before then. If there's more than one Legacy Contact, any of them can delete the account, so agree as a family first.

4. If there's no Legacy Contact: the paperwork route

You can still ask Apple for help. What Apple asks for depends on where the person lived.

  • Australia: Apple says "alternative documentation and process instead of a court order are accepted," but it doesn't say what that documentation is. Start at getsupport.apple.com, or call Apple Support on 1300 321 456, and say that the account holder has died. Have the death certificate, the will, the grant of probate or letters of administration if you have them, your ID, and proof of your relationship ready.
  • The US: Apple says you can request access "with a court order." The order needs specific wording, so an estate attorney is usually needed. Apple lists 1-800-275-2273 for Apple Support.

Possible with paperwork for some iCloud data and help with Activation Lock. Usually not possible for anything stored only on the locked phone.

Before you send Apple the death certificate. Apple's iCloud terms say that once Apple gets a copy of a death certificate, the account "may be terminated and all Content within your Account deleted." So say clearly what you want first, such as a copy of their photos, and ask Apple to confirm in writing that nothing will be closed or deleted until you have it.

Two more clocks to know about

  • Backups. Apple's iCloud terms say that if a device hasn't backed up for 180 days, Apple may delete its backups. Start your request within 6 months of the death.
  • Data Apple can't hand over. Some iCloud data is end-to-end encrypted, which means only the person's own devices hold the key. Apple says it "can't help you recover this data." If they turned on Advanced Data Protection, this includes their iCloud Photos, iCloud Drive, Notes and backups. An unlocked device, or a Legacy Contact key, may be the only way in.

Beware of "unlock" services

There is no Apple-approved way to get past an iPhone's code. Any service that promises to unlock a dead person's iPhone for a fee is a scam risk. Use Apple's official processes.

Sources

Each was read on Apple's own site. Last verified: November 2026.

This is general information, not legal advice. Company processes change; if what you see is different, trust the company's page and check our updates.