Your credit card PIN is a four-digit code that proves you own the card when you use it at an ATM or in person at a store

A PIN (personal identification number) is separate from your card number. It is a private code only you should know. When you insert your card into an ATM or a chip reader at a checkout, the PIN confirms your identity to the machine or terminal. Without the correct PIN, someone else cannot withdraw cash or complete a transaction using your card, even if they have the physical card in their hand.

The PIN is not the same as your CVV (the three-digit security code on the back of your card). The CVV is printed on the card itself and is used for online purchases. Your PIN is something you create or receive, and it stays private — you never write it on the card or share it over the phone.

Key Takeaways

  • Your PIN is a four-digit code you enter at an ATM or chip reader to prove you own the card.
  • You typically set your own PIN when you first receive your card, or your bank may assign one you can change.
  • A PIN protects your card from unauthorized use if it is lost or stolen, because a thief would need both the card and the code.
  • You should never share your PIN, write it down, or use an obvious number like your birth date.

When you need to enter your PIN

You enter your PIN at an ATM (automated teller machine) whenever you withdraw cash or check your balance. You also enter it at a physical store checkout if the terminal has a chip reader and you insert your card rather than swiping it. Some stores ask for a PIN even when you tap your card or use contactless payment, depending on the transaction amount and the store's settings.

You do not enter a PIN for online purchases, phone orders, or mail orders. You also do not need a PIN if you swipe the magnetic stripe on the back of your card instead of inserting the chip — though chip readers are now standard at most U.S. retailers and are more find.

How to set or change your PIN

When your bank sends you a new credit card, they usually include instructions for setting your PIN. Most banks let you set it through their website, mobile app, or by calling their customer service number. You choose a four-digit code that is not obvious — avoid your birth date, your address, or repeating numbers like 1111.

If you forget your PIN, you can reset it through your bank's app or website, or by calling the number on the back of your card. The bank will verify your identity before allowing you to create a new one. Some banks charge a small fee for a PIN reset, though many do not.

Why your PIN matters for security

Your PIN is your main defense against fraud if your card is lost or stolen. A thief with only your card number cannot withdraw cash from an ATM or use a chip reader at a store without the PIN. This is why the PIN is kept separate from the card itself — the bank never prints it on the card or sends it with the card in the mail.

If someone uses your card without permission, contact your bank right away. Most banks limit your liability for unauthorized transactions, especially if you report the fraud quickly. Having a strong, private PIN makes it much harder for someone to use your card even if they have physical access to it.

PIN versus other card security features

Your card has several layers of security. The CVV (card verification value) is the three-digit number on the back used for online purchases. The chip embedded in your card creates a unique code for each transaction, making it harder to counterfeit than the old magnetic stripe. Your PIN is what you know — it proves you are the cardholder at an ATM or in-person checkout.

Together, these features make it difficult for someone to use your card without permission. Online fraud typically targets the card number and CVV because no PIN is needed. In-person fraud is harder because a thief would need both the physical card and your PIN.

What to do if you forget your PIN

If you cannot remember your PIN at an ATM or checkout, you have a few options. You can stop the transaction and contact your bank to reset it — this usually takes a few minutes through their app or website. You can also ask the store if they accept a different payment method, like a debit card, another credit card, or a mobile payment app.

Do not try to guess your PIN multiple times at an ATM. Most machines lock the card after three wrong attempts to prevent someone from guessing it. If this happens, you will need to contact your bank to unlock it or request a new card.

Frequently Asked Questions

Is my credit card PIN the same as my debit card PIN?

No. Each card has its own PIN. If you have both a credit card and a debit card from the same bank, you set them separately. You can use the same four-digit code for both if you want, but they are not linked — changing one does not change the other.

What happens if someone guesses my PIN?

Most ATMs and chip readers lock the card after three wrong attempts. This prevents someone from guessing randomly. If your card is locked, contact your bank to unlock it. If you suspect fraud, report it to your bank and they will investigate and may issue you a new card.

Can I use my credit card without a PIN?

Yes. You can swipe the magnetic stripe, tap your card for contactless payment, or use it online without a PIN. However, chip readers at stores now require a PIN for added security. Online and phone purchases use your card number and CVV instead.

Should I write my PIN down somewhere?

No. Your PIN should stay in your memory only. Do not write it on your card, in your wallet, or anywhere someone could find it. If you are worried about forgetting it, you can reset it through your bank's app or website anytime.

What if my bank assigned me a PIN I did not choose?

Most banks let you change an assigned PIN to one you prefer. Log into your bank's website or app, go to the card settings, and look for the option to change your PIN. If you cannot find it, call the number on the back of your card and ask customer service to help you set a new one.