What a PIN is and why you might change it

A PIN (personal identification number) is a numeric password you use to unlock your device or account instead of typing a longer password. On Windows computers, it's often a 4-digit code you enter at the login screen. On iPhones and Android phones, it's typically 4 to 6 digits. On some accounts — like your bank or email — you might have a PIN as a secondary security layer.

You might change your PIN because you've forgotten it, someone else knows it, you want something easier to remember, or your organisation requires regular updates. The steps differ depending on what device or account you're changing it on, so this guide covers the most common scenarios.

Key Takeaways

  • On Windows 10 and 11, go to Settings > Accounts > Sign-in options > PIN to change or reset your PIN using your password.
  • On iPhone, go to Settings > Face ID & Passcode (or Touch ID & Passcode) and enter your current passcode to set a new one.
  • On Android, the path varies by manufacturer, but usually Settings > Security > Screen lock or Biometrics & security will let you change your PIN.
  • If you've forgotten your PIN entirely, you'll need to verify your identity using a password, recovery email, or phone number before you can set a new one.
  • For bank or email account PINs, log into your account online and look for Security Settings or Account Settings to change it.

Changing your PIN on Windows 10 and Windows 11

Open Settings by pressing the Windows key and typing "Settings", then click the Settings app. Go to Accounts in the left sidebar, then select Sign-in options. You'll see a section called PIN with a button that says "Change" if you already have one set, or "Add" if you don't.

Click the button and Windows will ask you to enter your current password to confirm your identity. Type it in and click Next. Then enter your new PIN twice — once to set it, once to confirm it. Windows will show you a confirmation message when it's saved. Your new PIN takes effect the next time you sign in.

If you've forgotten your PIN but remember your password, use the same path and click "Change" — Windows will ask for your password first, which resets your access. If you've forgotten both your password and your PIN, you'll need to use a recovery email or phone number linked to your Microsoft account to regain access.

Changing your passcode on iPhone

Open the Settings app and scroll down to find Face ID & Passcode (on newer iPhones with face recognition) or Touch ID & Passcode (on older models). Tap it and enter your current passcode when prompted.

Scroll down and tap Change Passcode. iPhone will ask you to enter your current passcode one more time, then your new passcode twice. You can choose between a 4-digit code, a 6-digit code (the default), or a custom alphanumeric passcode by tapping Passcode Options before you enter your new code.

If you've forgotten your passcode, you cannot change it — you'll need to erase your iPhone and set it up again using your Apple ID. This is intentional: Apple locks you out completely to prevent someone else from changing your passcode without your permission. Back up your data regularly to avoid losing it if this happens.

Changing your PIN on Android devices

The exact path depends on your phone's manufacturer (Samsung, Google Pixel, OnePlus, etc.), but the general route is Settings > Security or Biometrics & security > Screen lock or Lock type. Some phones call it Lock screen and security instead.

Tap the current lock method (usually PIN) and enter your current PIN when prompted. Then select Change PIN or Update PIN. Enter your new PIN twice and tap Confirm or Done. The change takes effect immediately.

If you've forgotten your PIN, the recovery method depends on your phone. Most Android phones let you use your Google account to unlock the device, though you may need to erase it first. Samsung phones sometimes offer a Samsung account recovery option. Check your phone's support page or contact the manufacturer for the exact steps, as they vary widely.

Changing a PIN on your email or bank account

Log into your account through the official website or app. Look for a Security, Account Settings, or Privacy & Security section — the exact name varies. Some banks and email providers put it under Two-Factor Authentication or Security Keys if the PIN is used as a backup login method.

Once you find the PIN section, you'll usually see an option to Change PIN or Update PIN. Click it and enter your current PIN, then your new PIN twice. The system will confirm the change and you're done.

If you've forgotten the PIN, look for a Forgot PIN link on the same page. You'll verify your identity using your password, a recovery email, or a phone number, and then set a new PIN. Never share your PIN with anyone, including customer service representatives — legitimate organisations will never ask for it.

What to do if you're locked out

If you've forgotten your PIN and can't remember the password or recovery information linked to your account, you have limited options. For Windows, use another admin account on the computer to reset your password through Settings. For iPhone, you must erase and set up the device again. For Android, try your Google account recovery or contact the manufacturer.

For bank and email accounts, contact customer service directly — they can verify your identity through other means (like security questions or a video call) and help you regain access. This process usually takes 24 to 48 hours. Keep your recovery email and phone number up to date so you don't get stuck if you forget your PIN.

Frequently Asked Questions

Can I use letters or special characters in my PIN?

On most devices, a PIN is numbers only — that's the point of calling it a PIN rather than a password. The exception is iPhone, which lets you choose an alphanumeric passcode if you want letters and symbols. Bank and email PINs are almost always numbers only.

How often should I change my PIN?

For your device (Windows, iPhone, Android), change it if you suspect someone knows it or if your organisation requires it. For bank and email PINs, many institutions recommend changing them every 90 days, though this varies. Check your bank or email provider's security guidelines.

What's the difference between a PIN and a password?

A PIN is usually shorter (4 to 6 digits) and numbers only, while a password is longer and can include letters and symbols. PINs are faster to type on a numeric keypad or phone screen, but passwords are harder to guess because they have more possible combinations.

Will changing my PIN log me out of other devices?

On Windows and most phones, changing your PIN only affects that device — you stay logged in on others. On iPhone, changing your passcode doesn't log you out anywhere. For email and bank accounts, changing the PIN usually doesn't log you out of existing sessions, but check your account settings to be sure.

What if I set a PIN I can't remember?

Write it down in a secure place — a password manager like Bitwarden or 1Password is better than a sticky note. If you forget it immediately, change it again using the steps above. You'll need your current PIN or your password to make the change, so act quickly before you lose track of it.