This guide walks you through the two common ways to unlock an iPhone XS or XR: carrier unlocking (for use with another network) and bypassing the lock screen passcode (for your own phone you’ve forgotten). Carrier unlocking is the most common need, and we’ll cover that first, then the passcode recovery steps. Before you begin, check your phone’s carrier status and have your IMEI number handy.
What You’ll Need
- Your iPhone XS or XR with the SIM card tray removed (for IMEI lookup).
- The phone’s passcode (if you’re unlocking the carrier, you’ll need to enter it during the process).
- A computer or another phone to contact your carrier or use their website.
- Your carrier account details (phone number, account PIN, or billing info) – usually required to request an unlock.
- If you’re bypassing the passcode: a computer with the latest version of iTunes (Windows) or Finder (Mac).
Step-by-Step
Part 1: Carrier Unlock (For Using a Different Network)
- Find your IMEI number. Go to Settings > General > About and scroll down to find the IMEI. Alternatively, dial *#06# on the keypad to display it instantly. Write it down.
- Check if your phone is already unlocked. Insert a SIM card from a different carrier than the one your phone is locked to. If it shows “No SIM” or “Invalid SIM,” it’s still locked. If it connects and shows the carrier name, it’s already unlocked.
- Contact your current carrier. You’ll need to request an unlock from the carrier that sold you the phone. This is almost always done through their website, app, or customer service line. Have your IMEI and account details ready.
- Meet the carrier’s requirements. Most carriers require that the phone is not reported lost or stolen, the account is in good standing, and the phone was purchased outright or your contract/installment plan is fulfilled. Some carriers have a minimum active time (e.g., 60 days) before they’ll unlock.
- Submit the unlock request. Follow your carrier’s specific process. You’ll typically enter your IMEI and phone number. They may send a confirmation text or email.
- Wait for confirmation. The carrier will notify you when the unlock is complete. This can take anywhere from a few minutes to a few business days, depending on the carrier.
- Complete the unlock. Once you get the confirmation, back up your iPhone, then erase all content and settings (Settings > General > Transfer or Reset iPhone > Erase All Content and Settings). This is often required to finalize the carrier unlock.
- Set up your phone. After the erase, insert a SIM from the new carrier and follow the setup prompts. Your iPhone should now work with the new network.
Part 2: Bypassing the Lock Screen Passcode (If You Forgot It)
Important: This method erases all data on the phone. Only use it if you’ve forgotten your passcode and have no other way to get in.
- Back up your iPhone (if possible). If you’ve ever synced with a computer, you may have a backup. If not, skip this step – the data will be lost.
- Connect your iPhone to a computer. Use a USB cable and open iTunes (Windows) or Finder (Mac). If your phone is in a recovery loop, you may need to force restart it first (see Troubleshooting).
- Put your iPhone in Recovery Mode. The exact steps vary by model:
- iPhone XS/XR: Press and quickly release the Volume Up button, then the Volume Down button. Then press and hold the Side button until the recovery mode screen appears (a computer icon and a cable).
- Restore your iPhone. When your computer detects your iPhone in recovery mode, a pop-up will appear. Choose Restore. This will download the latest iOS and reinstall it, removing the passcode.
- Wait for the restore to finish. The process can take 10-20 minutes. Do not disconnect the phone during this time.
- Set up your iPhone. After the restore, your iPhone will restart and show the “Hello” screen. You can set it up as new, or restore from a backup.
Common Mistakes
- Not meeting carrier requirements: Trying to unlock a phone that’s still under a contract or has unpaid bills will fail. Ensure you’ve fulfilled your agreement.
- Using the wrong IMEI: Double-check that you’re entering the correct IMEI. A single digit error will cause the unlock to fail.
- Skipping the erase after carrier unlock: Many carriers require a factory reset to complete the unlock. If you skip it, the phone may still appear locked.
- Forcing a restart during recovery mode: If you hold the Side button too long, the phone will exit recovery mode and you’ll have to start over.
- Attempting a passcode bypass without a backup: You will lose all photos, messages, and apps. Always back up if you can.
Tips
- Check your carrier’s unlock policy online. Most carriers have a dedicated page explaining their requirements and how to request an unlock.
- Keep your IMEI in a safe place. You’ll need it for any future unlock requests or to check warranty status.
- Use a computer you trust for the passcode bypass. The restore process will erase the phone, so make sure you’re on a secure network and computer.
- After a carrier unlock, test with a different SIM. This confirms the unlock worked before you rely on it.
- If you bought a used phone, ask the seller if it’s unlocked. This can save you a lot of time.
Troubleshooting
- The carrier says my phone is not eligible for unlock. This usually means you haven’t met the requirements (e.g., still under contract). Contact them to find out the exact reason and what you can do.
- I entered my IMEI but the carrier’s website says “invalid.” Double-check the IMEI. If it’s correct, you might have a carrier that doesn’t use the standard IMEI check – contact customer service directly.
- My iPhone won’t enter recovery mode. Make sure you’re pressing the buttons in the right order and timing. If it still doesn’t work, try a different USB cable or port.
- The restore fails with an error. This can happen if the computer can’t download the iOS software. Try using a different computer, or check your internet connection. Also, make sure you have the latest version of iTunes/Finder.
- After the restore, my phone asks for the previous owner’s Apple ID. This is Activation Lock. If you’re the original owner, you can enter your Apple ID and password. If you bought it used, you’ll need the original owner to remove the device from their account.
Frequently Asked Questions
How long does a carrier unlock take?
It varies by carrier. Some unlock instantly after you submit the request, while others take up to 48 hours or a few business days. Check with your carrier for their typical timeline.
Will unlocking my iPhone void the warranty?
No, carrier unlocking does not void your Apple warranty. It’s a software change that Apple supports.
Can I unlock my iPhone for free?
Yes, if you meet your carrier’s requirements, the unlock is free. Avoid third-party paid unlocking services, as they are often scams or may not work.
What is the difference between a carrier unlock and a passcode bypass?
A carrier unlock allows your phone to work with other networks. A passcode bypass (via restore) erases the phone and removes the lock screen, but it does not change the carrier lock status. You may need both if you forgot your passcode and want to use a new carrier.
Will I lose my data when I unlock my carrier?
Yes, the carrier unlock process typically requires a factory reset. Back up your iPhone before starting to avoid losing photos, contacts, and other data.
Can I unlock an iPhone that is reported lost or stolen?
No. Carriers will not unlock a phone that’s reported lost or stolen. Additionally, the phone may be blacklisted, meaning it won’t work on any carrier even if it’s unlocked.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to View Wi-Fi Password on iPhone
- How to Stream on Twitch from PC
- GTM vs Facebook Pixel: What’s the Difference?
- Windows 10 Won’t Boot? Fix It in 30 Minutes
- Ubuntu 26.04 LTS Requirements & Hardware Checks
- iPhone Stuck on Spinning Wheel? Fixes That Work