Modern smartphones receive constant alerts throughout the day, including private WhatsApp chats, personal emails, bank transaction alerts, and two-factor authentication (2FA) SMS codes. When your Android device is locked and resting on a desk or table, anyone nearby can glance at your screen and read the full text of these notifications.
Android includes built-in privacy protection that allows you to receive lock screen notifications while concealing their sensitive message previews until your phone is unlocked with fingerprint, face recognition, or a PIN. Here is how to hide sensitive content on the lock screen in Android.
Step-by-Step: Hiding Sensitive Lock Screen Content on Stock Android (Pixel & Motorola)
- Open the Settings app on your Android smartphone.
- Scroll down and tap on Notifications.
- Under the General or Privacy heading, look for Sensitive notifications.
- Toggle the switch beside Sensitive notifications to the Off position (labeled Show sensitive content when locked).
When disabled, incoming message notifications will still alert you with the app icon (e.g., WhatsApp or Messages) and the sender’s name, but the message body will be replaced with a placeholder saying “Sensitive content hidden” until you unlock the device.
How to Hide Sensitive Content on Samsung Galaxy Devices (One UI)
Samsung One UI organizes lock screen privacy options directly under its Lock screen menu:
- Open Settings on your Samsung Galaxy device.
- Scroll down and tap Lock screen.
- Tap on Notifications (tap the text itself, not just the toggle switch).
- Under View style, select Icons only or Details.
- If using Details, toggle on Hide content.
- If you want content revealed automatically when you look at your phone, enable Show content when unlocked with Face recognition.
Hiding Notifications for Specific Apps Only
If you want standard alerts (like weather or sports scores) fully visible on your lock screen but wish to protect private communication apps strictly:
- Open Settings > Apps (or Apps > All apps).
- Select the specific application you want to restrict (e.g., WhatsApp, Messages, or Gmail).
- Tap Notifications.
- Select Notification categories.
- Tap on a category (such as Message notifications).
- Tap Lock screen and select Hide sensitive content (or Don’t show notifications at all).
Frequently Asked Questions
Can I completely block all notifications from appearing on the lock screen?
Yes. In Settings > Notifications > Notifications on lock screen, select Don’t show any notifications. Alerts will only be visible once you unlock the phone and pull down the notification shade.
Do two-factor authentication SMS codes stay hidden?
Yes. When sensitive content is hidden, SMS preview snippets containing verification codes are completely masked until your biometric or passcode authentication succeeds.