How To Auto-Delete OTP Messages on Your iPhone

Rhett Intriago profile image
By Rhett Intriago
February 04, 2025

Messages inbox filled with six-digit verification codes from sign-ins to various sites and apps? Your iPhone can auto-delete OTPs, also known as verification codes or one-time passwords, after you’ve used them. If you frequently get two-factor authentication codes texted to you, this feature is sure to help clear up your messages.

Why You’ll Love This Tip:

  • Keep your messages from getting filled up by verification codes.
  • Declutter your inbox if you use Autofill with the Mail app.

How to Auto Delete OTP Messages on iPhone

System Requirements

This tip was written on an iPhone 16 running iOS 18. Find out how to update to iOS 18.

If you use two-factor authentication, you are probably used to having your verification codes texted to you. By now, you’ve probably also gotten used to using Autofill, which is a feature that automatically grabs your SMS verification codes and allows you to enter them automatically, with a single tap. Now, here’s how to auto-delete OTP codes on iPhone:

  1. Open the Settings app. iPhone settings app
  2. Tap General. iphone general settings
  3. Tap Autofill & Passwords. tap autofill and passwords
  4. Toggle on Delete After Use to auto delete OTP messages every time. toggle on delete after use

Now, whenever you use Autofill to enter your iPhone codes, the OTP messages, whether they be texts and emails, will automatically be deleted, keeping your inboxes organized and uncluttered. For more iPhone privacy and security advice, be sure to sign up for our free Tip of the Day newsletter.

Rhett profile pic
written by

Rhett Intriago

Rhett Intriago is a Feature Writer at iPhone Life, offering his expertise in all things iPhone, Apple Watch, and AirPods. He enjoys writing on topics related to maintaining privacy in a digital world, as well as iPhone security. He’s been a tech enthusiast all his life, with experiences ranging from jailbreaking his iPhone to building his own gaming PC.

Despite his disdain for the beach, Rhett is based in Florida. In his free time, he enjoys playing the latest games, spoiling his cats, or discovering new places with his wife, Kyla.

Learn about Rhett

Related Articles