Lock & protect
Your own pattern
Last updated
A lock that is not your iPhone passcode.
Draw a pattern on a 5 × 5 grid, or type a passphrase. You choose one when you create the vault, and you can switch to the other one later in Settings. Your iPhone passcode never opens the vault, and the app never stores your pattern or passphrase.
Explore this featureHow it works
The rules of a valid pattern
A pattern is a line that you draw with one finger through the dots of a 5 × 5 grid. When you set your pattern, the app shows its rules:
- One line, without lifting your finger.
- At least 8 dots. A straight line across the grid has only 5 dots, so it is too short.
- At least 3 changes of direction.
- No letters (L, Z, N, S) and no squares.
While you draw, a ring shows around your finger, and you feel a small tick for each dot. When you set a new pattern, a small copy of your drawing and the number of dots show above the grid. The unlock screen does not show this copy, so a person next to you does not see a second picture of your pattern.
The order of the dots matters. The same dots in another order make a different pattern. We recommend 12 to 15 dots, because each extra dot makes the pattern harder to guess.
A passphrase needs 12 characters
A passphrase is typed text of at least 12 characters. Our advice is 4 or more random words. If you do not want to choose the words yourself, the app can make a 5-word passphrase for you.
The strength meter rejects common choices
While you draw or type, a strength meter rates your choice. The app says no to the patterns that many people draw:
- the letters L, Z, S and N
- squares around the edge of the grid
For a passphrase, it rejects very common passwords.
Pattern or passphrase: which one to choose
A long passphrase is stronger than a pattern. A pattern is faster to enter, and it feels familiar. If you open the vault many times a day, a pattern of 12 to 15 dots is a fair trade. If your lock must hold up against a person who has your iPhone, or if the vault holds a scan of your passport or medical records, choose a passphrase.
You do not have to decide for good. In Settings, tap Change pattern or passphrase to switch to the other one.
Your pattern is one of 2 parts
Your pattern or passphrase does not open the vault alone. The app also needs the Secret Key, a random code that your iPhone makes when you create the vault and keeps on this iPhone. If you turn on Face ID, Face ID opens the vault on this iPhone.
A copy of your vault files, for example the iCloud backup, does not contain the Secret Key. To open such a copy, someone needs the Secret Key and your pattern or passphrase. AES-256 encryption shows how the two parts work together.
The app never stores your pattern or passphrase, not even in a scrambled form. So we cannot reset it, and there is no email reset. Write it by hand on your Restore Kit. For a pattern, the kit has a grid of empty circles: you write 1 in the first dot, 2 in the second, and so on.
Where this lock stops
Someone who has your iPhone only needs to guess your pattern or passphrase, because the iPhone holds the Secret Key. iOS makes it hard, but not impossible, to copy the key out of the Keychain (the protected storage of iOS). From the 5th wrong try in a row, the app makes them wait: 1 minute, then 2, 4, 8, 16, 32 and at most 60 minutes. The app never deletes the vault after wrong tries, so guessing is slowed, not stopped. A long passphrase is the best answer. More on this in the stolen iPhone page.
Three more limits:
- A kit with your pattern or passphrase written on it opens your vault for anyone who also has a copy of your files. Keep the kit like a passport.
- The lock does not protect against someone who has your unlocked iPhone in their hands, or against malware on the iPhone.
- If you forget your pattern or passphrase and did not write it on the kit, you cannot open the vault. We cannot open it for you.
Good to know
- Face ID or Touch ID is optional and off by default. With it on, the app still asks for your pattern or passphrase if you have not used it for 3 days.
- If someone adds a face or a fingerprint to the iPhone, Face ID turns off in the app.
- For a passphrase, the app allows only the system keyboard, not keyboards from other apps.
- A vault made with an older version of the app keeps its 6 × 6 grid. A new pattern always uses the 5 × 5 grid.
Common questions
Does my iPhone passcode open the vault?
No. Your iPhone passcode never opens the vault. You choose a pattern or a passphrase of your own.
What happens after wrong tries?
The first 4 wrong tries in a row have no waiting time. From the 5th wrong try, the app makes you wait: 1 minute, then 2, 4, 8, 16, 32 and at most 60 minutes. The app never deletes the vault after wrong tries.
Can I use a pattern and a passphrase together?
No. You choose one of them. You can switch to the other one later in Settings.
Related articles
See all featuresiPhone open. Photos locked.
Lock your photos & videos.
Scan with your iPhone camera to download
