What a virtual credit card is and how it works
A virtual credit card is a temporary card number that your credit card issuer generates for you to use online. It connects to your actual credit card account, but the shopper never sees your real card number. When you make a purchase, the transaction posts to your regular card and your regular bill — the virtual number is just a shield between your actual account and the merchant.
The process is straightforward. You log into your card issuer's app or website, request a virtual card number, and receive a 16-digit number along with an expiration date and security code. You enter these details at checkout just as you would with a physical card. The merchant processes the payment, but they only ever see the temporary number. Your actual card number stays private.
Virtual cards are not the same as digital wallets like Apple Pay or Google Pay. Those services tokenize your real card number and encrypt it. Virtual cards generate an entirely separate number that has no connection to your actual card details — it is a one-way shield that works even on websites that do not support digital wallets.
Key Takeaways
- Virtual card numbers are temporary, single-use or limited-use numbers generated by your card issuer that hide your real card number from merchants.
- They reduce the risk of fraud because a stolen virtual number cannot be used to access your actual account or make charges beyond what you authorized.
- Not all credit card issuers offer virtual cards — check your card issuer's app or website to see if the feature is available to you.
- Virtual cards work best for one-time purchases, subscriptions you plan to cancel, and retailers you do not fully trust.
How virtual cards reduce fraud risk
The main reason to use a virtual card is to limit the damage if your card number is stolen. When you use a virtual number for a purchase, a data breach at that merchant exposes only that temporary number, not your real card details. The thief cannot use it anywhere else, and they cannot use it to access your account.
Virtual cards also let you set spending limits. Some issuers let you cap how much a single virtual number can charge, or restrict it to a specific merchant. If you generate a virtual card for a $50 purchase and set the limit to $50, a thief who steals that number cannot charge $500 to it. The transaction will straightforward decline.
You can also set an expiration date. Many issuers let you choose whether a virtual number expires after one use, after a set period of time, or on a date you pick. Once it expires, it becomes useless — even if someone has the number, they cannot use it. This is especially useful for subscriptions: generate a virtual card for a free trial, set it to expire when the trial ends, and you will not be charged if the company tries to renew without your permission.
Which card issuers offer virtual cards
Virtual card availability varies by issuer. Citi, Bank of America, Capital One, and Discover all offer virtual card numbers to their cardholders. American Express offers a similar feature called ShopSafe. Chase offers virtual card numbers through some of its cards, though not all. Smaller issuers and store-branded cards are less likely to have the feature.
The easiest way to learn about your card issuer offers virtual cards is to open your card's mobile app or log into your online account. Look for a menu option labeled "Virtual Card," "Card Controls," "Temporary Card Number," or "ShopSafe." If you do not see it, contact your card issuer's customer service to ask whether the feature is available on your specific card.
Virtual card features differ by issuer. Some let you generate unlimited numbers; others cap how many you can create per month. Some let you set spending limits and expiration dates; others do not. Some work with recurring charges like subscriptions; others block them. Read your issuer's documentation to understand what your card offers.
When to use a virtual card number
Use a virtual card for any online purchase where you are concerned about the merchant's security or where you do not plan to shop again. This includes one-time purchases from unfamiliar retailers, international merchants with lower security standards, and sites that have had public data breaches in the past.
Virtual cards are also useful for free trials and subscriptions you plan to cancel. Generate a virtual number for the trial, set it to expire on the day the trial ends, and you will not accidentally get charged when the company tries to renew. This removes the friction of having to remember to cancel before you are billed.
You can also use virtual cards to test whether a merchant will charge you correctly. If you are unsure whether a site will overcharge or bill you multiple times, use a virtual card with a low spending limit. If something goes wrong, the damage is contained.
Virtual cards are less useful for purchases from major, well-known retailers with strong security records, or for merchants where you plan to shop repeatedly and may need to update your payment method. In those cases, the extra step of generating a new number each time becomes inconvenient without much added benefit.
How to generate and use a virtual card
The steps vary slightly by issuer, but the general process is the same. Open your card issuer's mobile app or website and log in. Navigate to the card controls or virtual card section. Select "Generate New Card" or a similar option. You will see a temporary card number, expiration date, and security code appear on your screen.
Some issuers let you customize the virtual card before generating it. You might be able to set a spending limit, choose an expiration date, or restrict the number to a specific merchant. If these options are available, use them — they add another layer of protection.
Copy the virtual card number and enter it at checkout just as you would a regular card number. The transaction will process normally. The merchant will see the virtual number and process it like any other card, but your real card number stays hidden. After the purchase, you can delete the virtual card from your app, or let it expire on its own.
Limits and things to know about virtual cards
Virtual cards do not protect you from all fraud. If you use a virtual card to buy from a scammer who never ships the item, the virtual card does not help — you still have to dispute the charge with your card issuer. Virtual cards only protect you from data breaches at merchants, not from merchant fraud or your own mistakes.
Some merchants block virtual card numbers. Certain subscription services, airlines, and hotels have systems that detect virtual numbers and decline them because they worry about fraud. If a virtual card is declined, you will have to use your real card number instead. This is rare with major retailers but more common with smaller or international merchants.
Virtual cards do not change your credit reporting or your liability for fraud. Charges made with a virtual card still appear on your regular credit card bill. If someone uses a virtual card number fraudulently, you have the same dispute rights as you would with your real card number — typically zero liability for unauthorized charges under federal law.
Virtual cards are a convenience feature, not a replacement for good security habits. They work best as part of a larger strategy that includes using strong passwords, checking your statements regularly, and being cautious about where you shop online.
Virtual cards versus other security tools
Virtual cards are one option among several for protecting yourself online. Digital wallets like Apple Pay and Google Pay encrypt your card number and are widely accepted, but they only work on certain devices and websites. One-time passcodes sent to your phone add a second layer of verification but do not hide your card number. Purchase protection and fraud monitoring are built into most credit cards and alert you to suspicious activity, but they work after the fact rather than preventing exposure.
Virtual cards are most useful when combined with these other tools. Use a digital wallet when available, enable purchase alerts on your card, and use virtual numbers for the purchases where you want an extra layer of privacy. Together, these tools reduce your exposure without making online shopping unnecessarily complicated.
Frequently Asked Questions
Can I use a virtual card number more than once?
It depends on your card issuer. Some virtual numbers are single-use only and expire after one transaction. Others can be used multiple times until you delete them or they reach their expiration date. Check your issuer's app to see whether you can reuse a virtual number or if you need to generate a new one for each purchase.
What happens if I lose the virtual card number before I use it?
You can straightforward generate a new one. Virtual card numbers are not stored in your wallet or on your device — they exist only in your card issuer's system. If you forget the number, log back into your app and request a new one. The old number will become inactive.
Do virtual cards work with subscription services?
Some do and some do not. Many subscription services accept virtual card numbers without issue. However, some — particularly smaller services or those outside the United States — may decline virtual numbers because their systems flag them as high-risk. If a virtual card is declined for a subscription, you will need to use your real card number instead.
Will using a virtual card hurt my credit score?
No. Virtual card numbers are tied to your actual credit card account, so charges made with them appear on your regular bill and are reported to credit bureaus the same way. Using a virtual card does not change your credit utilization, payment history, or any other factor that affects your score.
Can I set a virtual card to expire on a specific date?
Many issuers let you choose an expiration date when you generate a virtual card. This is especially useful for free trials — you can set the card to expire the day the trial ends, which prevents accidental charges if the company tries to renew. Check your issuer's app to see if this option is available on your card.