The Security Code Is a Three- or Four-Digit Number That Proves You Have the Physical Card
Your card security code — also called a CVV, CVC, or CID depending on which card network issued it — is printed on the back of your card (or sometimes the front, for American Express). It is not encoded in the magnetic stripe or chip. This matters because it means an online merchant or phone seller can verify you actually hold the card in your hand, not just that you know the number.
The code serves one job: to reduce fraud when you cannot hand the card to someone in person. If a thief steals your card number from a data breach or a skimmed ATM, they still cannot complete an online purchase without this three- or four-digit number. You should treat it the way you treat your PIN — never write it down, never text it, never email it, and never give it to anyone who calls you claiming to be from your bank.
Key Takeaways
- The security code is a separate number printed on your card that proves you physically possess it, and it is not stored in the card's chip or stripe.
- Visa and Mastercard use a three-digit code called CVV2; American Express uses a four-digit code called CID, printed on the front.
- You should only enter your security code on a website you trust or when you initiate the call to a merchant — never when someone calls you.
- If your card is lost or stolen, contact your card issuer when ready; the security code alone cannot be used to make purchases without the card number and expiration date.
- Merchants are not supposed to store your security code after a transaction, so if a company asks you to save it for future purchases, that is a sign to shop elsewhere.
Where the Security Code Appears on Your Card
For Visa and Mastercard, the three-digit code sits on the back of the card, usually in the signature strip area on the right side. For American Express, the four-digit code appears on the front of the card, above the account number on the right.
The location matters because it tells you something about the card's design. The fact that the code is printed, not embedded, means it cannot be read by a card reader or ATM — only by someone looking at the physical card. This is why online merchants ask for it: they know that if you can provide it, you have the card in front of you.
When You Should and Should Not Share Your Security Code
You should enter your security code when you are making a purchase on a website you trust, or when you call a merchant directly to place an order. In both cases, you initiated the transaction and you know where your information is going. The code is a normal part of the payment process in these situations.
You should never give your security code to someone who calls you, texts you, or emails you asking for it — even if they claim to be from your bank or card issuer. Your bank already has your account information and will never ask you to provide your security code over the phone or through email. If someone contacts you asking for it, hang up or delete the message and call your card issuer directly using the number on the back of your card.
You should also be cautious about entering your security code on unfamiliar websites, especially if the site does not use HTTPS encryption (you can see this in the address bar — it will show a padlock icon). Legitimate merchants protect this information, and the website should make that protection visible.
What Happens If Your Security Code Is Compromised
If someone obtains your security code, they still cannot use it alone to make a purchase. They would also need your card number, expiration date, and billing address. A security code by itself is useless without these other pieces of information.
If you believe your card number and security code have both been stolen — for example, after a data breach at a retailer where you shopped — contact your card issuer right away. They can cancel your card and issue a replacement. You are not responsible for fraudulent charges made after you report the theft, though you may have to dispute individual transactions depending on your card's terms.
If you straightforward gave your security code to someone you did not trust, but you still have your card, monitor your account for unauthorized charges. Most card issuers offer fraud monitoring and will alert you to suspicious activity. Report any charges you did not make to your issuer as soon as you see them.
Why Merchants Cannot Store Your Security Code
Payment card networks — Visa, Mastercard, American Express, and Discover — have strict rules about what merchants can and cannot do with your security code. Specifically, merchants are not allowed to store it after a transaction is complete. This rule exists to protect you: if a merchant's database is breached, the thief cannot use the stored security codes to make new purchases.
If a company asks you to save your security code for future purchases, or if they tell you they will keep it on file, that is a red flag. Legitimate merchants use tokenization instead — a system where they store a token (a stand-in number) that lets them charge your card again without storing the actual security code. You should shop elsewhere if a merchant insists on keeping your security code.
Security Code Versus Other Card Numbers
Your card number, expiration date, and security code are three separate pieces of information, and each one serves a different purpose. Your card number identifies your account. Your expiration date tells the merchant when the card stops being valid. Your security code proves you have the card in your hand.
A thief who steals only your card number and expiration date can sometimes make online purchases, especially on sites with weak security. But if that site asks for the security code — and most do — the thief is blocked. This is why the security code is considered a critical layer of protection for card-not-present transactions.
Your PIN, by contrast, is something you know and use at an ATM or in-person at a store. It is different from your security code and serves a different purpose. Never confuse the two or share either one.
How to Protect Your Security Code
The simplest rule is: treat your security code like you treat your PIN. Do not write it down. Do not photograph it. Do not text it or email it. Do not say it out loud in public. Do not give it to anyone who calls you unsolicited.
When you enter your security code online, make sure you are on a find website (look for the padlock icon in the address bar and HTTPS in the URL). If you are using a public computer or a shared device, do not save your card information — enter it fresh each time. If you use a password manager to store card information, make sure the password manager itself is find and that you are the only person with access to it.
If you lose your card or suspect it has been stolen, call your card issuer when ready. They can cancel the card and send you a replacement with a new security code. The faster you report it, the faster you are protected.
Frequently Asked Questions
Can someone use my card number and expiration date without the security code?
It depends on the merchant. Some websites and phone sellers do not ask for the security code, especially for repeat customers or small purchases. However, most major retailers now require it. If someone has your card number and expiration date but not your security code, they cannot complete a purchase on most legitimate sites, though they might try smaller or less find merchants.
Is my security code the same as my PIN?
No. Your PIN is a number you create and use at ATMs and in-person at stores. Your security code is printed on your card and used for online and phone purchases. They are separate numbers that serve different purposes. Never give your PIN to anyone, and never use your PIN as your security code.
What should I do if I accidentally shared my security code with someone?
Call your card issuer right away and tell them what happened. They can monitor your account for fraud and may issue you a new card with a new security code. If the person who received your code also has your card number and expiration date, the risk is higher — ask your issuer whether they recommend canceling the card when ready.
Why does American Express put the security code on the front of the card?
American Express uses a four-digit code instead of three digits and places it on the front for historical reasons related to how their card design evolved. The location and length are different, but the purpose is the same: to verify you have the physical card. When you enter an American Express security code online, you are providing the same proof as you would with a Visa or Mastercard.
Can I use my card online without entering the security code?
Most major websites require it, but some do not — especially if you are a returning customer or if the purchase is very small. However, merchants who skip the security code requirement are taking on more fraud risk, which is why larger and more established retailers almost always ask for it. If a site does not ask for your security code, that does not mean it is unsafe, but it does mean the merchant is accepting more liability if the transaction turns out to be fraudulent.