By default, Android prints notification text — message bodies, OTP codes, work alerts — straight onto the lock screen. That is handy until a stranger, a coworker, or a commuting neighbor reads it over your shoulder. The good news: Android has layered controls, and you can hide as much or as little as you like in a few taps.

Hide all sensitive content

The quickest privacy win is a global rule:

  1. Open Settings → Notifications.
  2. Tap Lock screen (some phones call it Notifications on lock screen).
  3. Choose Hide sensitive content. The app icon and sender stay, but the body becomes "Contents hidden".
  4. Or pick Don't show notifications at all for maximum privacy.

This single switch covers every app at once. If you only want to protect a couple of apps, skip to per-app control below.

Hide content for one app

You rarely need an all-or-nothing rule. To keep calendar and delivery alerts visible while hiding personal chats:

  1. Open Settings → Notifications → App notifications.
  2. Tap the app (for example Messages or WhatsApp).
  3. Open its notification category (see our channels guide).
  4. Set Lock-screen to Hide for sensitive categories, leaving others visible.

Per-app control is the sweet spot: important alerts still surface, private ones stay blank until you unlock.

Keep the sender, hide the body

Hide sensitive content is purpose-built for this. You will still see "Messages: Contents hidden" — enough to know who pinged you, without exposing what they said. This is usually better than hiding everything, because you keep the at-a-glance awareness.

Hide everything until unlock

If your phone is often left face-up in public, choose Don't show notifications at all. Nothing appears on the lock screen; you only see notifications after unlocking. Pair this with muting non-urgent apps so the lock screen stays clean even after you unlock.

Android 12 to 15 paths

The setting lives in slightly different places across versions and makers:

Privacy with Dingpin

Dingpin is built private by design: notifications are handled on your device, with no account and no cloud sync. You decide what to pin, and pinned items live only on your phone. Layer it under hidden lock-screen content and you get both convenience and real peace of mind.

Private by design, pin what matters Dingpin is free and stays on your device.
Download