How to Automatically Delete Verification Codes in iOS 17

Jun. 14, 2023



In this hands-on guide, we will show you how to enable the auto-delete verification codes feature in iOS 17. Without any further ado, let’s get started!

Auto-Delete Verification Codes (OTP) on iOS 17 on iPhone & iPad

Auto-Delete Verification Codes (OTP) on iOS 17 on iPhone & iPad

  1. Go toSettings -> Passwords.

  2. Then, tap onPassword Options.

  3. Under Verification Codes, turn on theClean Up Automaticallytoggle.

The iOS 17 update also brings theauto-fill verification codes feature to the Mail app. It works similarly to the autofill feature in the Messages app. Therefore, when you get a one-time verification code via email, the Mail app automatically detects it and shows the option to paste it into a website or app without having to switch back & forth.

It’s worth mentioning that when you enable clean verification codes on iOS 17 or iPadOS 17, your OTPs are automatically deleted from the Messages and Mail app after you have pasted them with autofill.

Frequently Asked Questions

Go toSettings -> Passwords -> Password Optionsand turn On AutoFill Passwords and Passkeys. Now, when you receive a one-time verification code, your iPhone automatically detects it from the Message app and places it above your keyboard. You just need to tap the code to use it.

If you’ve installed the latest iOS 17 update, your iPhone can automatically remove one-time codes for you.

If your iPhone is running the latest iOS 17 version, openSettings -> Passwords -> Password Optionsand enable “Clean Up Automatically“to allow your iPhone to delete verification codes in the Messages and Mail app automatically.