The fastest route depends on what device you own and whether you set up recovery options

If you forgot your password, the method to regain access differs sharply between Windows, Mac, iPhone, and Android — and whether you prepared for this moment by setting up a recovery email or phone number. The quickest paths use built-in recovery tools that Microsoft, Apple, and Google provide specifically for this situation. If you did not set those up, you will need physical access to the device and may need to prove ownership to the manufacturer.

The core principle is the same across all devices: the manufacturer wants to let you back in, but they also want to make sure you are actually the owner. That balance shapes every recovery method. A password you set yourself is easier to recover from than a password someone else set, because you have proof of ownership that a thief would not.

Key Takeaways

  • Windows and Mac both offer password reset options through recovery emails or phone numbers you set up beforehand, and both can reset your password in minutes if you have access to those accounts.
  • iPhone and iPad require either your Apple ID password, a trusted device you previously signed in on, or contact with Apple Support with proof of purchase.
  • Android devices can be reset through your Google account if you remember the email and password, or through Samsung's Find Mobile or similar manufacturer tools if you own that brand.
  • If you cannot use any recovery method, you may need to factory reset the device, which erases all data on it — this is a last resort, not a first step.
  • Proof of purchase (receipt, credit card statement, or order confirmation) speeds up manufacturer support and may be required if you cannot verify ownership another way.

Windows: Using your recovery email or phone number

On the Windows login screen, click "I forgot my password" below the password field. Windows will ask you to enter your Microsoft account email address, then send a code to the recovery email or phone number you registered with your account. If you have access to that email inbox or phone, you can retrieve the code, enter it on the device, and create a new password when ready.

This method works on Windows 10 and Windows 11 and takes about five minutes if your recovery email is one you still use. If your recovery email is an old account you no longer access, you will need to use a different method. If you do not remember your Microsoft account password either, go to account.microsoft.com, click "Sign in", then "Can't access your account" and follow the recovery steps there — you may be able to verify your identity through a phone number or backup email instead.

If you did not set up a recovery email or phone when you created your Windows account, or if you are using a local account (not a Microsoft account), you will need to use the password reset disk you created beforehand, or reset the device to factory settings.

Mac: Using your Apple ID or recovery key

On the Mac login screen, enter your password incorrectly three times. A "Reset Password" button will appear. Click it, then select whether you want to reset using your Apple ID password or a recovery key. If you choose Apple ID, enter your Apple ID email and password, then create a new Mac password. This takes a few minutes and does not erase any data.

If you set up a recovery key when you enabled FileVault encryption on your Mac, you can use that instead of your Apple ID password. A recovery key is a long string of characters Apple gives you during setup — if you saved it somewhere safe, you can enter it here and skip needing your Apple ID.

If you do not have access to your Apple ID password or recovery key, you will need to use macOS Recovery mode. Restart your Mac and hold Command + R while it boots to enter Recovery mode, then use the "Reset Password" utility from the Utilities menu. This requires you to answer security questions you set up when you created your Apple ID, or to verify your identity through a trusted device or phone number.

iPhone and iPad: Recovery through Apple ID or trusted device

If you forgot your device passcode, you cannot reset it directly on the phone. Instead, you will use iCloud.com or a trusted device to regain access. Go to iCloud.com on another device, sign in with your Apple ID, and select "Find My iPhone" (or iPad). Locate your device in the list, select it, and choose "Erase iPhone" or "Erase iPad". This erases all data on the device and removes the passcode, so you can set it up again from scratch.

If you do not have access to another device or iCloud.com, you can use a trusted device — any iPhone, iPad, or Mac you previously signed into with the same Apple ID. Open Settings, go to General > Transfer or Reset, and select "Reset" or "Erase All Content and Settings". You will be asked to confirm your Apple ID password; once you do, the device erases and the passcode is removed.

If you do not have a trusted device and cannot access iCloud.com, you will need to contact Apple Support with proof of purchase. Apple can verify your identity through the original receipt, credit card statement, or order confirmation from when you bought the device, then help you regain access. This process takes longer — usually one to three business days — but does not require you to erase the device.

Android: Using your Google account or manufacturer recovery

Most Android devices let you reset your password through your Google account. After several incorrect password attempts, a "Forgot password?" link appears on the lock screen. Tap it, then enter your Google account email address. Google will send a verification code to your recovery email or phone number. Enter the code, then create a new device password.

If you do not see a "Forgot password?" option, or if your device is a Samsung, check for the manufacturer's own recovery tool. Samsung devices use "Find Mobile" — go to findmobile.samsung.com on another device, sign in with your Samsung account, select your device, and choose "Unlock". Other manufacturers like Google Pixel, OnePlus, and Motorola have similar tools on their support websites.

If you cannot use your Google account or manufacturer tool, you can perform a factory reset. This erases all data on the device. To do this without knowing the password, you typically need to boot into Recovery mode — the steps vary by manufacturer, but usually involve holding the Power button and Volume Down button together while the device starts. Once in Recovery mode, select "Wipe data / factory reset". The device will restart without a password, and you can set it up as new.

Factory reset: The last resort when recovery methods do not work

A factory reset erases everything on your device — all photos, messages, apps, and files — and returns it to the state it was in when it left the factory. Do this only if you have tried all recovery methods above and none of them work. You will need to set up the device from scratch afterward, and you will not be able to recover the erased data unless you have a backup stored elsewhere.

The steps to factory reset vary by device. On Windows, restart the computer and press F11 or F12 during startup to enter recovery mode, then select "Reset this PC" and choose "Remove everything". On Mac, restart and hold Command + R, then select "Reinstall macOS" from Utilities. On iPhone or iPad, use Find My iPhone to erase the device as described above. On Android, boot into Recovery mode (usually Power + Volume Down) and select "Wipe data / factory reset".

After the reset completes, the device will restart without a password. You can then sign in with your Google account (Android), Apple ID (iPhone/iPad), or Microsoft account (Windows) to restore your data from a backup if one exists.

Proof of ownership and contacting manufacturer support

If none of the methods above work — for example, if you do not remember your Google or Apple ID password, and you did not set up recovery options — you will need to contact the device manufacturer directly. Have your proof of purchase ready: the original receipt, a credit card or bank statement showing the purchase, or an order confirmation email from the retailer or manufacturer.

Microsoft Support, Apple Support, Google Support, and Samsung Support can all verify your identity through proof of purchase and help you regain access. The process typically takes one to five business days. You will need to provide the device serial number (usually on the back of the device or in Settings) and answer security questions about your account.

Keep proof of purchase in a safe place — a digital copy in your email or cloud storage is enough. This document is the fastest way to prove you own the device if you ever need manufacturer support.

Frequently Asked Questions

Will resetting my password erase my files and photos?

No — resetting your password through recovery email, Apple ID, or Google account keeps all your data intact. Only a factory reset erases everything. If you use a recovery method, your files stay on the device.

What if I do not remember my recovery email password either?

Go to the email provider's website (Gmail.com, Outlook.com, Yahoo.com) on another device and use their account recovery process. You can usually verify your identity through a phone number or backup email. Once you regain access to your email, you can use it to reset your device password.

Can I reset a device password without the original email or phone number?

Not easily. If you did not set up recovery options and do not remember your account password, you will need to contact the device manufacturer with proof of purchase. This is slower but still possible — manufacturers can verify ownership through receipts or order confirmations.

How long does it take to regain access through manufacturer support?

If you have proof of purchase, one to five business days. Without proof of purchase, it may take longer because the manufacturer needs to verify your identity through other means. Having your receipt or order confirmation ready speeds up the process significantly.

Is there a way to reset my password without losing any data?

Yes — use your recovery email, Apple ID, Google account, or Samsung account. All of these methods let you create a new password without erasing the device. Only a factory reset causes data loss.