You can lock individual conversations or your entire Messages app using Face ID, Touch ID, or a custom code

iPhone gives you two ways to password-protect your messages. You can lock the entire Messages app so that anyone picking up your phone needs to authenticate before they can open it at all. Or you can lock specific conversations one at a time, which is useful if you want most of your messages visible but certain threads private — say, conversations with a therapist, a financial advisor, or a partner.

Both methods use the same authentication: your Face ID, Touch ID, or a custom numeric code you create. The choice between them depends on how much privacy you want and how often you switch between conversations.

Key Takeaways

  • Locking the entire Messages app requires Face ID, Touch ID, or a passcode, and applies to everyone who opens the app — you will need to authenticate every time you want to read any message.
  • Locking individual conversations lets you keep most messages visible while protecting specific threads, and you authenticate only when you open a locked conversation.
  • To lock the Messages app, go to Settings > Apps > Messages > App Lock and toggle it on, then choose your authentication method.
  • To lock a single conversation, open Messages, swipe left on the conversation, tap the lock icon, and choose your authentication method.
  • If you forget a custom code you created for a locked conversation, you will need to delete and recreate the lock using your Face ID or Touch ID instead.

Locking the entire Messages app with Face ID or Touch ID

This method protects all your messages at once. Anyone who opens the Messages app will see a lock screen and must authenticate before they can see any conversations or read any content.

Open Settings on your iPhone. Scroll down and tap Apps, then tap Messages. Look for the App Lock section and toggle it on. You will be asked to choose your authentication method: Face ID, Touch ID, or a custom numeric code. Select the one you use most often — Face ID and Touch ID are faster and do not require you to remember anything.

Once App Lock is on, the Messages app will lock automatically when you switch away from it. The next time you tap the Messages icon, you will see a lock screen. Authenticate using your chosen method, and the app will open normally. You will need to authenticate again each time you close and reopen the app, even if only a few seconds have passed.

Locking individual conversations without locking the whole app

If you want to keep most messages visible but protect a few specific conversations, you can lock them one at a time. This is useful when you share your phone with family members or hand it to someone briefly.

Open the Messages app and find the conversation you want to lock. Press and hold on the conversation thread until a menu appears. Tap Hide or Lock depending on your iOS version — newer versions show a lock icon directly. If you see a lock icon, tap it. You will be prompted to choose your authentication method: Face ID, Touch ID, or a custom code.

Once locked, that conversation will move to a separate Locked Messages section at the top of your Messages list. When you tap on it, you will see the authentication screen. After you authenticate, the conversation opens normally. You can read and send messages as usual, and the lock will engage again when you close the conversation.

Creating a custom code instead of using Face ID or Touch ID

If you prefer not to use biometric authentication, you can create a custom numeric code for locked conversations or the Messages app. This code is separate from your iPhone passcode — it is used only for Messages.

When you are prompted to choose an authentication method (either for App Lock or for a single conversation), select Custom Code. You will be asked to enter a four-digit or six-digit number. Choose something you can remember but that is not obvious — avoid birthdays, phone numbers, or repeating digits like 1111.

Write the code down somewhere safe if you think you might forget it. If you do forget a custom code for a locked conversation, you will need to delete the lock and recreate it using Face ID or Touch ID instead. There is no recovery process for a forgotten custom code.

What happens when a conversation is locked

A locked conversation does not appear in your message preview or notification. If someone texts you in a locked conversation, you will not see the message content in your lock screen or notification center — you will only see that you received a message from that person. This prevents anyone glancing at your phone from reading the actual text.

When you open the Messages app, locked conversations appear in their own section at the top, separate from your regular inbox. They are clearly marked with a lock icon. You can still search for messages within a locked conversation, but you will need to authenticate first.

Unlocking a conversation or turning off App Lock

If you want to stop protecting a specific conversation, open Messages and find the locked conversation in the Locked Messages section. Press and hold on it, then tap Unlock. The conversation will move back to your regular inbox and will no longer require authentication.

To turn off App Lock entirely, go to Settings > Apps > Messages > App Lock and toggle it off. You will need to authenticate one final time to confirm the change. After that, the Messages app will open without any lock screen.

Why message locking matters for your privacy

Message locking is one layer of privacy protection. It prevents someone who has physical access to your phone from reading your messages without your permission. It does not protect your messages from being intercepted over the network, from being backed up to iCloud, or from being accessed by Apple itself if compelled by law.

If you are concerned about messages being intercepted in transit, consider using an encrypted messaging app like Signal or WhatsApp instead of or alongside regular SMS and iMessage. If you are concerned about your backup being accessed, you can encrypt your iCloud backup by going to Settings > [Your Name] > iCloud > iCloud Backup and toggling on End-to-End Encrypted Backup.

Frequently Asked Questions

What is the difference between locking the Messages app and locking individual conversations?

Locking the Messages app requires authentication every time you open it, and protects all your conversations at once. Locking individual conversations keeps most messages visible but protects specific threads, and you authenticate only when you open a locked conversation. Choose app-level locking if you want maximum privacy; choose conversation-level locking if you want to protect only a few sensitive threads.

Can I use a different code for different locked conversations?

No. All locked conversations and the Messages app use the same authentication method and code. If you set up Face ID for one locked conversation, all other locked conversations will also use Face ID. You cannot mix authentication methods or use different codes for different conversations.

What happens if I forget my custom code for a locked conversation?

You cannot recover a forgotten custom code. You will need to delete the lock by unlocking the conversation (which requires knowing the code), then lock it again using Face ID or Touch ID instead. If you cannot unlock it, you may need to restore your iPhone from a backup or contact Apple Support.

Will locked messages still show up in search results?

Locked messages will not appear in search results unless you authenticate first. Once you open a locked conversation and authenticate, you can search within that conversation normally. But the locked messages themselves will not show up in a general search across all your messages.

Does locking messages prevent them from being backed up to iCloud?

No. Locked messages are still included in your iCloud backup. Locking only prevents someone with physical access to your phone from reading them without authentication. If you want to prevent your backups from being accessed, enable End-to-End Encrypted Backup in your iCloud settings.