---
title: What Is a Passcode? Phone Passcodes and Your Family
url: https://planbeforeyoudie.app/glossary/passcode
source: Plan Before You Die
---

# What is a passcode?

A passcode is the code you use to open a phone or other device. Apple recommends one to protect the data on your device, and an iPhone asks for it after a restart. It differs from an account password and gives no one permission to act for you.

Our phone check asks whether your arrangements are ready. It never asks you to enter the code. Use the device maker's official guidance and decide privately how to keep your own recovery arrangements safe.

## Why your phone asks for it

Apple recommends a device passcode to protect the data on your device. An iPhone requires its passcode after it is turned on or restarted.

## Passcode, password and permission

A passcode opens a device. An account password opens an online account. Neither gives someone permission from a bank or agency to act for you.

## Your family and your passcode

Apple recovery contacts can give you a recovery code but do not get account access. A Legacy Contact needs an access key and documentation of your death, and cannot reach passwords stored in iCloud Keychain. Set up official family access instead of sharing the code.

## Good to know

### Is a passcode the same as a password?

No. A passcode opens a device. A password opens an online account, such as your Apple Account. Neither one gives someone legal permission to act for you.

### Why does my iPhone ask for the passcode after a restart?

An iPhone requires its passcode after it is turned on or restarted, even if you usually open it with Face ID.

### Can my family get my passcode after I die?

Apple does not hand out passcodes. A Legacy Contact needs the access key and documentation of your death to request your data, and cannot reach passwords or passkeys in iCloud Keychain. [Keep your phone passcode private](https://planbeforeyoudie.app/guides/phones/keep-your-passcode-safe).

## What we checked

| Fact | Source | Checked |
|---|---|---|
| A Legacy Contact cannot access passwords or passkeys stored in your iCloud Keychain. | [Apple](https://support.apple.com/en-us/102631) | Oct 15, 2026 |
| Apple recommends a device passcode to protect the data on your device. | [Apple](https://support.apple.com/en-us/119586) | Oct 15, 2026 |
| An iPhone requires its passcode after being turned on or restarted. | [Apple](https://support.apple.com/en-us/119586) | Oct 15, 2026 |
| Apple recovery contacts can give you a recovery code but do not get account access. | [Apple](https://support.apple.com/en-us/102641) | Oct 15, 2026 |
| Apple requires the access key and documentation of your death before a Legacy Contact can request access. | [Apple](https://support.apple.com/en-us/102631) | Oct 15, 2026 |

Facts approved by the [Plan Before You Die editor](https://planbeforeyoudie.app/editorial-policy).

This definition is general information, not legal advice. [Something wrong here? Tell us.](https://planbeforeyoudie.app/contact)
