iOS 17: How to Auto-Delete Verification Codes in Messages and Mail - MacRumorsOpen MenuShow RoundupsShow Forums menuVisit ForumsOpen Sidebar
Skip to Content

iOS 17: How to Auto-Delete Verification Codes in Messages and Mail

by

Apple in iOS 17 introduced a new feature for Mail and Messages that can automatically delete one-time verification codes after you have used them. Here's how it works on iPhone and iPad.

ios 17 mail verification codes autofill
These days, many websites and services use one-time passcodes sent via SMS or over email for verification purposes, but these one-time codes can soon clog up your Mail inbox and Messages app.

Thankfully in ‌iOS 17‌, there's a new option to have those messages auto-delete after the code is autofilled and used to authenticate a login. Apple should ask you if you want to enable this when you use the autofill feature after upgrading to ‌iOS 17‌, but you can toggle it on manually by following these steps.

  1. Open Settings on your iPhone or ‌iPad‌.
  2. Scroll down and tap Passwords (you'll be prompted to use Face ID to authenticate the next screen).
  3. Tap Password Options.
  4. Under "Verification Codes," toggle on the switch next to Clean Up Automatically so that it is in the green ON position.

settings

That's all you need to do. Next time autofill uses a received verification code, the associated SMS message or email with be automatically deleted, helping you keep your inboxes clear of unnecessary cruft.

For more information on everything new in iOS 17, be sure to check out our ultimate guide.

Popular Stories

Apple Card iPhone 16 Pro Feature

Apple Card Promo to Offer Free AirPods Pro 3

Friday May 15, 2026 8:59 am PDT by
Starting as early as next week, customers who sign up for an Apple Card at Apple's retail stores in the U.S. will receive $249 cash back when they purchase AirPods Pro 3, according to Bloomberg's Mark Gurman. The promotion has yet to be officially announced by Apple, so exact terms and conditions are not available at this time. AirPods Pro 3 are priced at $249 in the U.S., so customers who...
Apple WWDC25 iOS 26 CarPlay Light mode 250609

Six Popular iPhone Apps Now Available on CarPlay

Thursday May 14, 2026 9:10 am PDT by
Apple's CarPlay system for accessing iPhone apps on a vehicle's dashboard screen has received six popular apps in recent weeks: ChatGPT, Perplexity, Grok, Google Meet, WhatsApp, and the indie artist streaming platform Audiomack. Make sure you have the latest version of each app and they will automatically appear on CarPlay. ChatGPT Starting with iOS 26.4, CarPlay supports voice-based...
ipad mini 7 blue

OLED iPad Mini: Release Date, Pricing, and What to Expect

Thursday May 14, 2026 5:08 am PDT by
According to the latest rumors, Apple is close to launching its next-generation iPad mini. So what should we expect from the successor to the iPad mini 7 that Apple released over a year ago? Read on to find out. Processor and Performance Apple is working on a next-generation version of the iPad mini (codename J510/J511) that features the A19 Pro chip, according to information found in code...