How to Choose and Set a Secure PIN Code for Your Devices

Personal identification numbers (PINs) are important for securing your devices and online accounts. An easy-to-guess PIN makes it simpler for someone to access your device or account if they get hold of it. A strong, unique PIN keeps your information safe.

Follow these tips to set a secure four- to six-digit PIN for your smartphone, tablet, laptop, or any device that uses a PIN code for access:

What Makes a PIN Secure?

  • Length – Longer PINs are more secure. Use a six-digit PIN if possible. Four digits should be the minimum.
  • Randomness – Avoid predictable number sequences like birthdays or address numbers. The more random, the better.
  • Uniqueness – Don’t reuse the same PIN across multiple accounts or devices.
  • Secrecy – Never share your PIN with anyone, including friends and family.

How to Choose a Secure PIN

Avoid obvious numbers

Many people use birthdays, anniversaries, phone numbers, or address numbers. These are easy to guess and should be avoided.

Don’t use repeating or sequential numbers

PINs like 3333 or 1234 are easy for thieves to crack. Always use a random sequence.

Mix up number types

Use a sequence that includes a variety of number types – odd, even, low digits (0-3) and high digits (6-9). This creates more permutations.

Choose a PIN you can remember

Selecting random PINs can make them impossible to remember over time. Pick a sequence that has meaning only to you.

Write it down temporarily

If you choose an entirely random PIN, write it down and store it securely until you have memorized the code. Then destroy the written record.

How to Set a Strong PIN on Devices

Smartphones

On iPhone, go to Settings > Face ID & Passcode. On Android, go to Settings > Security > Screen lock. Select PIN and enter your new code twice.

Laptops

In Windows, go to Settings > Accounts > Sign-in options to add a PIN. On Mac, go to System Preferences > Security & Privacy > General and enable “Require password” and “Allow PIN entry.”

Tablets

On an iPad, go to Settings > Touch ID & Passcode. On Android tablets, go to Settings > Security > Screen lock. Enable PIN unlock and enter your new PIN.

Accounts

For online accounts like email, banking, or social media, update your password recovery options with security questions or contact info. Then enable 2-factor authentication using your mobile phone.

WiFi Routers

Log into your router admin console and update the password. Choose WPA2 encryption and a 20+ character password for maximum security.

PIN Security Tips

  • Never use the same PIN across multiple accounts or devices. Separate PINs limits exposure.
  • Update PINs every 90 days as a best practice. Setting calendar reminders can help remember.
  • Avoid entering PINs in view of security cameras or shoulder surfers. Cover your hand when entering codes.
  • If your device offers both fingerprint and PIN, enable both for 2-factor authentication.
  • If your PIN is entered incorrectly too many times, your device may erase its data. Set the maximum attempts appropriately.
  • If you write down your PIN, store it somewhere very secure, like a locked safe. Destroy the written PIN once memorized.
  • If you forget your smartphone PIN, you may need to perform a factory reset, which will erase all of its data.