i locked my iphone by accident

i locked my iphone by accident

Posted on Jul 2, 2023 2:50 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 4, 2023 8:52 AM

Hello Luismartin2015,


Thank you for reaching out to Apple Support Communities, and we'll be happy to help in any way we can. We understand you're having issues with your iPhone being locked. If you're referring to forgetting the passcode, follow the steps here to resolve the issue: If you forgot your iPhone passcode - Apple Support


"Forgot your iPhone passcode? Learn how to put your iPhone into recovery mode so you can erase it and set it up again.



If you enter the wrong passcode on your iPhone Lock Screen too many times, an alert lets you know that your iPhone is disabled. (Learn what to do if you see "[Device] unavailable" or "Security Lockout" on your iPhone or iPad.)

If you can’t remember your passcode when you try again, use a computer to put your iPhone in recovery mode. Recovery mode allows you to erase the iPhone, giving you access to set it up again.

After you erase your iPhone, you can restore your data and settings from a backup. If you didn't back up your iPhone, you can set it up as a new device and then download any data that you have in iCloud.

 

An iPhone displays the "iPhone is disabled" message after an incorrect passcode attempt. 

Step 1: Make sure that you have a computer (Mac or PC)

This process requires a Mac or PC. If you're using a PC, make sure that it has Windows 10 or later, and that iTunes is installed. You also need the cable that came with your iPhone, or another compatible cable, to connect your iPhone to the computer.

If you don't have a computer and you can't borrow one, you need to go to an Apple Retail Store or Apple Authorized Service Provider for help.


Step 2: Turn off your iPhone

  1. Unplug your iPhone from the computer if it’s connected.
  2. Turn off your iPhone using the method for your iPhone model:
  • iPhone 8, iPhone 8 Plus, iPhone X and later, including iPhone SE (2nd and 3rd generation): Press and hold both the side button and the Volume down button until the power off slider appears.
    • The side button and the Volume down button on an iPhone
  • iPhone 7, iPhone 7 Plus, iPhone 6s, and iPhone 6: Press and hold the side button until the power off slider appears.
    • The side button on an older iPhone
  • iPhone SE (1st generation), iPhone 5s, and earlier: Press and hold the top button until the power off slider appears.

    • The top button on an older iPhone
  1. Drag the slider to turn off your iPhone, then wait a minute to make sure that it turns off completely.


Step 3: Put your iPhone in recovery mode

  1. Get ready by finding the button on your iPhone that you'll need to hold in the next step:
  • iPhone 8, iPhone 8 Plus, iPhone X and later, including iPhone SE (2nd and 3rd generation) use the side button.
    • The side button on a newer iPhone
  • iPhone 7 and iPhone 7 Plus use the Volume down button.
    • The volume down button on an older iPhone
  • iPhone SE (1st generation), and iPhone 6s and earlier use the Home button.
    • The home button on an older iPhone
  1. Press and hold the correct button for your iPhone while immediately connecting your iPhone to the computer. Don't let go of the button.
  2. Keep holding the button until you see the recovery mode screen on your iPhone, then let go.
  3. The recovery mode screen on your iPhone
  4. If you see the passcode screen, you need to turn off your iPhone and start again.

If you can’t get your iPhone to show the recovery mode screen and you need help, contact Apple Support.


Step 4: Restore your iPhone

  1. Locate your iPhone in the Finder or in iTunes on the computer that it’s connected to. (Learn how to find your connected iPhone.)
  2. Choose Restore when you see the option to Restore or Update. Your computer downloads software for your iPhone and begins the restore process. If the download takes more than 15 minutes and your device exits the recovery mode screen, let the download finish, then turn off your iPhone and start again.
  3. You can restore your iPhone through Finder after you connect your iPhone to your computer.

  4. Wait for the process to finish. When the process finishes, your device will restart and show a setup screen.
  5. Disconnect your iPhone from the computer, then set up and use your iPhone


Need more help?

Learn what to do if you see an error when you update or restore your iPhone, iPad, or iPod.

If you can't complete any of these steps, if you're still prompted for a passcode, or if you need any other assistance, contact Apple Support."


If you're referring to Activation Lock on your Apple ID, follow the steps here instead: Activation Lock for iPhone, iPad, and iPod touch - Apple Support


"Find My includes Activation Lock — a feature that's designed to prevent anyone else from using your iPhone, iPad, or iPod touch, if it's ever lost or stolen. Activation Lock turns on automatically when you turn on Find My on your device.


Activation Lock helps you keep your device secure, even if it's in the wrong hands, and can improve your chances of recovering it. Even if you erase your device remotely, Activation Lock can continue to deter anyone from reactivating your device without your permission. All you need to do is keep Find My turned on, and remember your Apple ID and password. 

Here's how it works

Each time an iPhone, iPad, iPod touch, Apple Watch, or Mac computer that has an Apple T2 security chip or Apple silicon is activated or recovered, the device contacts Apple to check whether Activation Lock is turned on. 

Activation Lock turns on automatically when you set up Find My.* After it's turned on, Apple securely stores your Apple ID on its activation servers and links it to your device. Your Apple ID password or device passcode is required before anyone can turn off Find My, erase your device, or reactivate and use your device. 

Learn how Activation Lock works for devices enrolled in Mobile Device Management



If your device is lost or stolen

If you ever misplace your device — whether it’s lost or you think it might have been stolen — you should immediately use Mark As Lost in the Find My app.

Mark As Lost locks your screen with a passcode and lets you display a custom message with your phone number to help you get it back. You can also remotely erase your device if needed. Your custom message continues to display even after the device is erased.

While Activation Lock works in the background to make it more difficult for someone to use or sell your missing device, Lost Mode clearly shows anyone who finds your device that it still belongs to you and can’t be reactivated without your password.

Learn what to do if your device is lost or stolen



If you forget your Apple ID or password

If you can't find your Apple ID or reset your password, you'll lose access to your account and might be unable to use or reactivate your device. To help prevent this, visit your Apple ID account page periodically to review and update your account information.



Check for Activation Lock before you buy a device from someone else

Activation Lock screen on iPhone

Before you buy an iPhone, iPad, or iPod touch from someone other than Apple or an Apple Authorized Reseller, make sure that the device is erased and no longer linked to the previous owner’s account.

On a device with iOS or iPadOS 15 or later that is protected by Activation Lock, you see an "iPhone Locked to Owner" screen when you turn on or wake the device. Don't take ownership of any used iPhone, iPad, or iPod touch if it's protected by Activation Lock. 

If you don't see that screen, follow these steps to check if the device is ready to use: 

  1. Turn on and unlock the device. 
  2. If the passcode Lock Screen or the Home Screen appears, the device hasn't been erased. Ask the seller to follow the steps below to completely erase the device. Don't take ownership of any used iPhone, iPad, or iPod touch until it's been erased.
  3. Begin the device setup process.
  4. If you're asked for the previous owner’s Apple ID and password, the device is still linked to their account. Hand the device back to the seller and ask them to enter their password. If the previous owner isn't present, contact them as soon as possible and ask them to use a browser to remove the device from their account. Don't take ownership of any used iPhone, iPad, or iPod touch until it has been removed from the previous owner’s account.


A device is ready for you to use when you see the Hello screen."



We hope this helps.


Cheers!



1 reply
Question marked as Top-ranking reply

Jul 4, 2023 8:52 AM in response to Luismartin2015

Hello Luismartin2015,


Thank you for reaching out to Apple Support Communities, and we'll be happy to help in any way we can. We understand you're having issues with your iPhone being locked. If you're referring to forgetting the passcode, follow the steps here to resolve the issue: If you forgot your iPhone passcode - Apple Support


"Forgot your iPhone passcode? Learn how to put your iPhone into recovery mode so you can erase it and set it up again.



If you enter the wrong passcode on your iPhone Lock Screen too many times, an alert lets you know that your iPhone is disabled. (Learn what to do if you see "[Device] unavailable" or "Security Lockout" on your iPhone or iPad.)

If you can’t remember your passcode when you try again, use a computer to put your iPhone in recovery mode. Recovery mode allows you to erase the iPhone, giving you access to set it up again.

After you erase your iPhone, you can restore your data and settings from a backup. If you didn't back up your iPhone, you can set it up as a new device and then download any data that you have in iCloud.

 

An iPhone displays the "iPhone is disabled" message after an incorrect passcode attempt. 

Step 1: Make sure that you have a computer (Mac or PC)

This process requires a Mac or PC. If you're using a PC, make sure that it has Windows 10 or later, and that iTunes is installed. You also need the cable that came with your iPhone, or another compatible cable, to connect your iPhone to the computer.

If you don't have a computer and you can't borrow one, you need to go to an Apple Retail Store or Apple Authorized Service Provider for help.


Step 2: Turn off your iPhone

  1. Unplug your iPhone from the computer if it’s connected.
  2. Turn off your iPhone using the method for your iPhone model:
  • iPhone 8, iPhone 8 Plus, iPhone X and later, including iPhone SE (2nd and 3rd generation): Press and hold both the side button and the Volume down button until the power off slider appears.
    • The side button and the Volume down button on an iPhone
  • iPhone 7, iPhone 7 Plus, iPhone 6s, and iPhone 6: Press and hold the side button until the power off slider appears.
    • The side button on an older iPhone
  • iPhone SE (1st generation), iPhone 5s, and earlier: Press and hold the top button until the power off slider appears.

    • The top button on an older iPhone
  1. Drag the slider to turn off your iPhone, then wait a minute to make sure that it turns off completely.


Step 3: Put your iPhone in recovery mode

  1. Get ready by finding the button on your iPhone that you'll need to hold in the next step:
  • iPhone 8, iPhone 8 Plus, iPhone X and later, including iPhone SE (2nd and 3rd generation) use the side button.
    • The side button on a newer iPhone
  • iPhone 7 and iPhone 7 Plus use the Volume down button.
    • The volume down button on an older iPhone
  • iPhone SE (1st generation), and iPhone 6s and earlier use the Home button.
    • The home button on an older iPhone
  1. Press and hold the correct button for your iPhone while immediately connecting your iPhone to the computer. Don't let go of the button.
  2. Keep holding the button until you see the recovery mode screen on your iPhone, then let go.
  3. The recovery mode screen on your iPhone
  4. If you see the passcode screen, you need to turn off your iPhone and start again.

If you can’t get your iPhone to show the recovery mode screen and you need help, contact Apple Support.


Step 4: Restore your iPhone

  1. Locate your iPhone in the Finder or in iTunes on the computer that it’s connected to. (Learn how to find your connected iPhone.)
  2. Choose Restore when you see the option to Restore or Update. Your computer downloads software for your iPhone and begins the restore process. If the download takes more than 15 minutes and your device exits the recovery mode screen, let the download finish, then turn off your iPhone and start again.
  3. You can restore your iPhone through Finder after you connect your iPhone to your computer.

  4. Wait for the process to finish. When the process finishes, your device will restart and show a setup screen.
  5. Disconnect your iPhone from the computer, then set up and use your iPhone


Need more help?

Learn what to do if you see an error when you update or restore your iPhone, iPad, or iPod.

If you can't complete any of these steps, if you're still prompted for a passcode, or if you need any other assistance, contact Apple Support."


If you're referring to Activation Lock on your Apple ID, follow the steps here instead: Activation Lock for iPhone, iPad, and iPod touch - Apple Support


"Find My includes Activation Lock — a feature that's designed to prevent anyone else from using your iPhone, iPad, or iPod touch, if it's ever lost or stolen. Activation Lock turns on automatically when you turn on Find My on your device.


Activation Lock helps you keep your device secure, even if it's in the wrong hands, and can improve your chances of recovering it. Even if you erase your device remotely, Activation Lock can continue to deter anyone from reactivating your device without your permission. All you need to do is keep Find My turned on, and remember your Apple ID and password. 

Here's how it works

Each time an iPhone, iPad, iPod touch, Apple Watch, or Mac computer that has an Apple T2 security chip or Apple silicon is activated or recovered, the device contacts Apple to check whether Activation Lock is turned on. 

Activation Lock turns on automatically when you set up Find My.* After it's turned on, Apple securely stores your Apple ID on its activation servers and links it to your device. Your Apple ID password or device passcode is required before anyone can turn off Find My, erase your device, or reactivate and use your device. 

Learn how Activation Lock works for devices enrolled in Mobile Device Management



If your device is lost or stolen

If you ever misplace your device — whether it’s lost or you think it might have been stolen — you should immediately use Mark As Lost in the Find My app.

Mark As Lost locks your screen with a passcode and lets you display a custom message with your phone number to help you get it back. You can also remotely erase your device if needed. Your custom message continues to display even after the device is erased.

While Activation Lock works in the background to make it more difficult for someone to use or sell your missing device, Lost Mode clearly shows anyone who finds your device that it still belongs to you and can’t be reactivated without your password.

Learn what to do if your device is lost or stolen



If you forget your Apple ID or password

If you can't find your Apple ID or reset your password, you'll lose access to your account and might be unable to use or reactivate your device. To help prevent this, visit your Apple ID account page periodically to review and update your account information.



Check for Activation Lock before you buy a device from someone else

Activation Lock screen on iPhone

Before you buy an iPhone, iPad, or iPod touch from someone other than Apple or an Apple Authorized Reseller, make sure that the device is erased and no longer linked to the previous owner’s account.

On a device with iOS or iPadOS 15 or later that is protected by Activation Lock, you see an "iPhone Locked to Owner" screen when you turn on or wake the device. Don't take ownership of any used iPhone, iPad, or iPod touch if it's protected by Activation Lock. 

If you don't see that screen, follow these steps to check if the device is ready to use: 

  1. Turn on and unlock the device. 
  2. If the passcode Lock Screen or the Home Screen appears, the device hasn't been erased. Ask the seller to follow the steps below to completely erase the device. Don't take ownership of any used iPhone, iPad, or iPod touch until it's been erased.
  3. Begin the device setup process.
  4. If you're asked for the previous owner’s Apple ID and password, the device is still linked to their account. Hand the device back to the seller and ask them to enter their password. If the previous owner isn't present, contact them as soon as possible and ask them to use a browser to remove the device from their account. Don't take ownership of any used iPhone, iPad, or iPod touch until it has been removed from the previous owner’s account.


A device is ready for you to use when you see the Hello screen."



We hope this helps.


Cheers!



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

i locked my iphone by accident

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.