How to Turn On Auto-Delete for OTP Messages After 24 Hours on Android

Both Google Messages and Samsung Messages let you automatically delete OTP messages after 24 hours on Android. In Google Messages, go to Settings → Message organization → Auto-delete OTPs after 24 hours and toggle it on. In Samsung Messages (v16.0.01.22+),…

bpeditordesk
Written By : bpeditordesk
Updated Now: May 23, 2026 11:55 AM

Both Google Messages and Samsung Messages let you automatically delete OTP messages after 24 hours on Android. In Google Messages, go to Settings → Message organization → Auto-delete OTPs after 24 hours and toggle it on. In Samsung Messages (v16.0.01.22+), tap the three-dot menu → More Settings → Auto delete OTP messages. Once enabled, old OTPs clear out on their own — no manual cleanup needed.

Key Takeaways

  • Google Messages deletes OTP messages permanently after 24 hours — there’s no recovery window once they’re gone
  • Samsung Messages (v16.0.01.22+) moves OTPs to Trash after 24 hours, then permanently deletes them after 30 days — giving you a recovery buffer
  • OTP auto-delete works on Android 8 and above
  • The feature was first spotted in a Google Messages APK teardown and later rolled out widely, starting in India in 2021
  • Samsung’s rollout of this feature in early 2025 coincided with the brand restoring full RCS support in Samsung Messages
  • If the toggle doesn’t appear, update your messaging app — older versions don’t carry this option
  • Third-party SMS apps generally don’t support OTP auto-delete; you’d need to switch to Google Messages or Samsung Messages
  • Enabling the feature is safe — OTPs expire within minutes anyway, so deleting them after 24 hours loses nothing useful

Why OTP Messages Pile Up (And Why It’s a Problem)

Every time someone logs into a bank account, confirms an order, or verifies a phone number, a one-time password lands in their SMS inbox. These codes are valid for maybe 10 minutes — sometimes less. After that, they’re dead weight.

Most people never delete them. Over months, an inbox can fill up with hundreds of these codes from banks, food delivery apps, e-commerce platforms, and government portals. It’s clutter, and it’s also a mild privacy risk — anyone who picks up an unlocked phone can scroll through a history of which services someone uses.

That’s exactly why knowing how to turn on auto-delete for OTP messages after 24 hours on Android matters. It’s a small setting with a real impact on inbox hygiene and privacy.

What Counts as an OTP Message?

How Android Identifies OTP Texts

An OTP (one-time password) is a temporary numeric or alphanumeric code sent via SMS to verify identity. These codes typically appear in messages like “Your OTP is 482910. Valid for 10 minutes.”

Android’s messaging apps — particularly Google Messages — use on-device machine learning to detect these patterns. The app looks for short numeric codes paired with phrases like “OTP,” “verification code,” “one-time password,” or similar language. It doesn’t send message content to any server to do this; the detection happens locally on the device.

What gets flagged as OTP:

  • Bank login codes
  • App verification codes
  • E-commerce order confirmation codes
  • Government portal verification texts
  • Two-factor authentication (2FA) SMS codes

What doesn’t get flagged:

  • Regular promotional messages
  • Transactional messages without a code
  • Conversational texts from contacts

How to Turn On Auto-Delete for OTP Messages After 24 Hours on Android (Google Messages)

Google Messages is the default SMS app on most non-Samsung Android phones. The OTP auto-delete feature has been available since 2021, and as of 2026, it’s stable and widely supported.

Step-by-Step: Google Messages OTP Auto-Delete

  1. Open Google Messages on your Android phone
  2. Tap your profile picture (top right corner)
  3. Select Messages settings
  4. Tap Message organization
  5. Toggle on Auto-delete OTPs after 24 hours

That’s it. Once enabled, any OTP message already in your inbox that’s older than 24 hours gets deleted immediately. Going forward, new OTP messages delete automatically once they cross the 24-hour mark.

⚠️ Important: Google Messages does NOT move OTPs to a Trash folder first. Once deleted, they’re gone. If you think you’ll ever need to reference an old code (unlikely, but possible), screenshot it before the 24-hour window closes.

Common mistake: Some users enable the toggle and expect it to work on all messages. It only targets messages the app identifies as OTPs. Regular texts stay untouched.

How to Turn On Auto-Delete for OTP Messages After 24 Hours on Android (Samsung Messages)

Samsung Messages added OTP auto-delete in version 16.0.01.22, which rolled out in early 2025 alongside restored RCS support [10]. The process is slightly different from Google Messages, and the deletion behavior has an extra safety net.

Step-by-Step: Samsung Messages OTP Auto-Delete

  1. Open Samsung Messages
  2. Tap the three-dot menu (top right)
  3. Select Settings
  4. Tap More settings
  5. Toggle on Auto delete OTP messages

Samsung’s version works in two stages: OTPs move to the Trash folder after 24 hours, then get permanently deleted after 30 days. This gives users a month-long recovery window if they accidentally need an old code.

Samsung vs. Google Messages: OTP Auto-Delete Comparison

Feature Google Messages Samsung Messages
Auto-delete trigger 24 hours 24 hours
Goes to Trash first? No Yes
Permanent deletion Immediately at 24h 30 days after Trash
Recovery possible? No Yes (within 30 days)
RCS support Yes Yes (restored 2025)
Minimum app version Varies v16.0.01.22+

What Happens to OTP Messages Already in Your Inbox?

This is one of the most common questions — and the answer depends on which app you’re using.

Google Messages: When you first enable the toggle, it scans your existing inbox. Any OTP message already older than 24 hours gets deleted right away. Newer OTPs wait out their remaining time before deletion.

Samsung Messages: Existing OTPs move to Trash after 24 hours from when the feature is enabled, not from when the message was originally received.

One Reddit thread flagged a concern worth knowing: Google Messages’ auto-delete might occasionally catch messages that aren’t traditional OTPs — like certain promotional codes or account alerts that use similar phrasing. It’s rare, but worth keeping in mind if you’re in a region with high SMS marketing volume.

Troubleshooting: When the Toggle Isn’t There or Doesn’t Work

The Setting Is Missing

  • Update the app. Older versions of Google Messages or Samsung Messages don’t have this feature. Check the Play Store or Galaxy Store for updates.
  • Check your default SMS app. The toggle only works in the app set as your default. If you’re looking in a third-party app, it won’t be there.
  • Regional availability. The feature launched first in India and has since expanded globally. If you’re on an older build in a less common region, it may not have reached you yet.

The Toggle Is On but OTPs Aren’t Deleting

Google’s own support threads show this is a known point of confusion. A few reasons it might not work:

  • The app isn’t recognizing certain messages as OTPs (detection isn’t perfect)
  • The phone’s battery optimization settings are blocking background app activity
  • The app needs a restart after enabling the toggle

Fix: Go to Settings → Apps → Google Messages → Battery → Unrestricted. This lets the app run background tasks without interruption.

Is It Safe to Auto-Delete OTP Messages?

Short answer: yes, completely safe for almost every use case.

OTPs are designed to expire fast — usually within 5 to 15 minutes of being sent. By the time 24 hours pass, the code is cryptographically worthless. Keeping it around doesn’t add security; it just adds clutter.

AndroidCentral describes enabling this feature as “a no-brainer,” noting that since most OTPs expire within an hour or less, auto-deleting them after 24 hours is a sensible middle ground between convenience and privacy.

The only edge case where someone might want to keep an OTP message: if the message contains other useful information alongside the code — like a customer service number or a reference ID. In that case, save the relevant detail elsewhere before the 24-hour window ends.

Does This Work on All Android Phones?

Not universally. Here’s a quick breakdown:

  • Pixel phones (Google Messages default): Yes, fully supported
  • Samsung Galaxy phones: Supported via Samsung Messages v16.0.01.22+ or Google Messages if set as default
  • OnePlus, Xiaomi, Realme, Oppo: Supported if Google Messages is installed and set as default
  • Phones running Android 8 or below: Not supported
  • Third-party SMS apps (Textra, Pulse, etc.): Not supported — feature is app-specific

If your phone uses a manufacturer-built SMS app that isn’t Samsung Messages, you’ll likely need to switch to Google Messages to get OTP auto-delete.

Final Thoughts

Knowing how to turn on auto-delete for OTP messages after 24 hours on Android takes about 30 seconds. The payoff is an inbox that doesn’t slowly fill with expired codes from every app, bank, and service used over the past year.

For Google Messages users, the setting is under Messages settings → Message organization. For Samsung Messages users on Galaxy devices, it’s in More settings from the three-dot menu. Both work well — Samsung’s version just adds a Trash buffer for anyone who wants a safety net.

Enable it once, forget about it. That’s the kind of feature worth turning on.

FAQs about How to Turn On Auto-Delete for OTP Messages After 24 Hours on Android

Q: Will auto-deleting OTPs affect my regular text messages?
No. The feature only targets messages the app identifies as OTPs — short-code verification texts. Conversations with contacts and other SMS messages are not affected.

Q: Can I recover a deleted OTP in Google Messages?
No. Google Messages permanently deletes OTPs after 24 hours with no Trash stage. Samsung Messages does move them to Trash first, giving a 30-day recovery window.

Q: Does this feature work with WhatsApp or other chat apps?
No. OTP auto-delete in Google Messages and Samsung Messages applies only to SMS/RCS messages, not messages from WhatsApp, Telegram, or other internet-based messaging apps.

Q: What if I need the OTP code again after 24 hours?
You’d need to request a new OTP from the service. Since codes expire within minutes anyway, the original message would already be useless — you’d have to request a new one regardless.

Q: Does enabling OTP auto-delete affect message categorization in Google Messages?
No. Message organization features like spam filtering and category sorting work independently from OTP auto-delete. Enabling one doesn’t change how the other functions.

Q: Is OTP auto-delete available on Android Go edition phones?
It depends on whether Google Messages is installed and updated. Android Go devices sometimes run lighter app versions, so the feature may not be present. Check for app updates first.

Q: Why does my Samsung phone not show the OTP auto-delete option in Samsung Messages?
The feature requires Samsung Messages version 16.0.01.22 or newer. Open the Galaxy Store, search for Samsung Messages, and update the app. If the option still doesn’t appear after updating, try restarting the phone.

Q: Can I set a different time limit — like 12 hours instead of 24?
No. Neither Google Messages nor Samsung Messages currently offers a custom time window. The 24-hour limit is fixed.

Q: Does OTP auto-delete work when the phone is offline?
The deletion is handled locally on the device, so it doesn’t require an internet connection to delete messages. However, the app needs to run in the background, so battery optimization settings can interfere.

Q: Will this feature delete promotional messages that contain discount codes?
Occasionally, yes — if the promotional message uses language similar to an OTP (like “Your code is 4829”). This is a known edge case. If you receive promotional codes you want to keep, save them elsewhere.