How to Turn Off the Passcode on an iPhone (Including the iPhone 6)

To turn off the passcode on an iPhone, open Settings, tap Face ID & Passcode (or Touch ID & Passcode on an iPhone with a Home button), enter your current passcode, tap Turn Passcode Off, and confirm. After that, your iPhone opens with a swipe and no code.

These steps work on iOS 27 and iOS 26 and older iPhones such as the iPhone 6. The settings screen is called Face ID & Passcode, Touch ID & Passcode, or Passcode depending on your model, as Apple’s passcode article explains.

You need your current passcode; if you’ve forgotten it, see the section on forgotten passcodes.

Before You Turn It Off

Read this first, because the change affects more than the Lock Screen:

  • Your data loses a layer of protection. Setting a passcode automatically turns on Data Protection, the encryption that ties your files to the passcode. Without a passcode, anyone holding the phone can open your messages, photos, email, and apps.
  • Face ID or Touch ID stops working. Both need a passcode as a backup, so they can no longer unlock the phone or approve purchases.
  • Apple Pay stops working. Apple Pay cards become unusable when the passcode is inactive. Plan to add your cards to Wallet again later.
  • Stolen Device Protection can’t stay on. This feature requires a passcode and Face ID or Touch ID.

If other people can pick up your phone, consider one of the alternatives further down instead.

Turn Off the Passcode

  1. Open the Settings app.
  2. Scroll down and tap Face ID & Passcode. On an iPhone 6 or any iPhone with a Home button, tap Touch ID & Passcode.
  3. Enter your current passcode. iOS always asks for it before it shows these settings.
  4. Scroll down and tap Turn Passcode Off.
Face ID & Passcode settings on iPhone with the Turn Passcode Off option
Turn Passcode Off sits just above Change Passcode.
  1. Read the warning and tap Turn Off. The message explains what stops working without a passcode, such as Apple Pay and Face ID or Touch ID.
  2. If asked, enter your Apple Account password and tap Turn Off again.
  3. Enter your passcode one last time if the iPhone asks for it.

The button now reads Turn Passcode On. To check, lock the iPhone and wake it again. You should get past the Lock Screen with a swipe up or a press of the Home button, with no keypad.

Alternatives If You Want Fewer Passcode Prompts

If your goal is to type the code less often, you can keep the passcode and still unlock quickly:

  • Use Face ID or Touch ID. Set up Face ID on your iPhone or Touch ID so the phone unlocks with a glance or a finger. You’ll still type the code now and then, such as after a restart.
  • Make the screen stay on longer. The Auto-Lock setting in Settings > Display & Brightness > Auto-Lock controls how long the screen waits before locking.
  • Change Require Passcode. On the passcode settings screen, Require Passcode sets how soon the code is needed after the screen locks. You can only change it when Face ID, Touch ID, and Apple Pay are not in use.
  • Allow some features while locked. Under Allow Access When Locked on the same screen, you can let items such as Control Center, Notification Center, Siri, and Wallet work without unlocking. The steps for getting to the flashlight from the Lock Screen use this setting.

If Turn Passcode Off Is Gray or Missing

  • Stolen Device Protection is on. It needs a passcode, so turn it off first at Settings > Face ID & Passcode > Stolen Device Protection. Apple’s Stolen Device Protection page explains that away from familiar places such as home or work, security changes need Face ID or Touch ID, a one-hour Security Delay, and then Face ID or Touch ID again. At home, the change goes through right away.
  • Screen Time blocks passcode changes. Someone may have set a Screen Time restriction that stops passcode changes. On iOS 26 and earlier, look in Settings > Screen Time > Content & Privacy Restrictions for Passcode Changes and set it to Allow. Apple redesigned Screen Time in iOS 27, so the restriction may sit under a different heading there. If a parent manages your Screen Time, they need to make the change.
  • A work or school profile requires a passcode. A managed iPhone can require a passcode through a configuration profile. Check Settings > General > VPN & Device Management. Only your organization’s IT team can remove that requirement.

Turn the Passcode Back On or Change It

  1. Open Settings and tap Face ID & Passcode or Touch ID & Passcode.
  2. Tap Turn Passcode On, or tap Change Passcode if you already have one and enter the old code.
  3. Enter a six-digit passcode. To use a different type, tap Passcode Options and choose Custom Alphanumeric Code, Custom Numeric Code, or 4-Digit Numeric Code.
Passcode Options menu on iPhone with three passcode types
Passcode Options lets you pick a longer or shorter code.
  1. Enter the new passcode again to confirm.

Once the passcode is back, turn Face ID or Touch ID on again on the same screen, add your Apple Pay cards back in Wallet, and turn Stolen Device Protection back on if you used it. A custom alphanumeric code, which can include letters and symbols, is the hardest to guess. A four-digit code is the easiest to type but also the weakest.

If you change your passcode on iOS 17 or later and then forget the new one, Apple’s Passcode Reset feature lets you use the previous code for 72 hours. If you’re confident about the new code, tap Expire Previous Passcode Now on the passcode settings screen to end that window early.

While you’re there, note the Erase Data switch at the bottom. When it’s on, the iPhone erases itself after 10 failed passcode attempts. When it’s off, the iPhone has to be restored with a computer after 10 failed attempts.

If You Forgot Your Passcode

Turn Passcode Off can’t help here, because it asks for the code you’ve forgotten. Use Apple’s options in this order.

You changed it in the last 72 hours (iOS 17 or later). Enter a wrong code until the iPhone Unavailable screen appears, tap Forgot Passcode?, then tap Enter Previous Passcode. Enter the old code and create a new one. This keeps all your data. The option appears only when the iPhone is online, signed in to your Apple Account, and has Find My turned on.

You don’t remember any recent code. Every other option erases the iPhone, so you’ll restore your data from a backup afterward.

  • Erase it from the Lock Screen (iOS 15.2 or later). This needs Find My to have been on, a Wi-Fi or cellular connection, and your Apple Account password. Tap Forgot Passcode? (or Erase iPhone on iOS 15.2 and 16), tap Start iPhone Reset, enter your Apple Account password, then erase the iPhone. Apple’s reset without a computer page lists the full requirements, including what happens to an eSIM.
  • Restore it with a computer. Use this when the on-device option doesn’t appear, or on an iPhone 6, which can’t run iOS 15.2. Follow the numbered steps below.

Restore an iPhone in Recovery Mode

You need a Mac or Windows PC, a cable that charges your iPhone, an internet connection, and up to an hour. This erases the iPhone.

  1. Turn off the iPhone. On a Face ID iPhone, hold the side button and volume down button until the slider appears, then drag it. On an iPhone with a Home button, hold the side or top button and drag the slider.
  2. Plug the cable into your Mac or Windows PC.
  3. Hold the correct button while you connect the other end to the iPhone: the side button on Face ID models, the iPhone 8, and the iPhone SE (2nd and 3rd generation); volume down on the iPhone 7; or the Home button on the iPhone 6s, iPhone 6, iPhone SE (1st generation), and earlier.
  4. Keep holding past the Apple logo until a computer-and-cable image appears.
  5. On a Mac, open Finder and select the iPhone under Locations. On Windows, open the Apple Devices app, select the iPhone, and go to General.
  6. Choose Restore. The computer downloads iOS and erases the phone.
  7. If the download takes longer than 15 minutes and the iPhone leaves recovery mode, let the download finish, then repeat steps 1 to 4.
  8. When the Hello screen appears, disconnect the iPhone, set it up, restore a backup, and create a new passcode.

Apple’s computer restore guide covers each model’s buttons. If the buttons don’t respond or the recovery screen never appears, the iPhone may need service. After setup, Activation Lock asks for the Apple Account that was signed in to the phone, so have that password ready. For a full reset of a phone you can still open, follow the steps to factory reset an iPhone.

iPhone Passcode Questions

Can I turn off the passcode on an iPhone 6?

Yes. Go to Settings > Touch ID & Passcode, enter your code, and tap Turn Passcode Off. The iPhone 6 can’t update past iOS 12, but this path is the same there.

Can I keep Face ID but turn off the passcode?

No. Face ID and Touch ID both need a passcode. Turning the passcode off turns them off too.

Why does my iPhone still ask for the passcode when I use Face ID?

Apple requires the passcode in certain cases, including after a restart, when the iPhone hasn’t been unlocked for more than 48 hours, after five failed Face ID attempts, and before a software update. Those are security checks, not a fault. Once the passcode is off, the prompts stop.

Does turning off the passcode delete anything?

No. Your apps, photos, and settings stay where they are. Apple Pay cards stop working and Face ID or Touch ID turns off, and you set those up again after you turn the passcode back on.

How do I turn off the passcode on an iPad?

The steps are almost the same. Follow the steps for turning off the passcode on an iPad.

Your Apple Watch passcode is separate from your iPhone passcode. To change that one, turn off the passcode on Apple Watch.