What a virtual credit card number is and how it works
A virtual credit card number is a temporary card number generated by your credit card issuer or a third-party service. It connects to your real account but gives you a different number to use for online purchases. When you enter the virtual number at checkout, the charge goes to your actual card, but the merchant never sees your real card number.
The number typically works for a single transaction or a set time period — usually 24 hours to one year, depending on the service. Once it expires or you close it, that virtual number stops working. If a merchant's website is breached or a scammer intercepts your transaction, they get the temporary number, not the one tied to your bank account and all your other cards.
Most major card issuers now offer this as a free feature through their mobile app or website. Some third-party services like Privacy, Blur, and Masked Card also generate virtual numbers for cards you already own, though they may charge a subscription fee.
Key Takeaways
- Virtual numbers are temporary card numbers that connect to your real account but protect your actual card number from being exposed online.
- You generate a virtual number through your card issuer's app, your card issuer's website, or a third-party service, then use it at checkout like any other card number.
- Virtual numbers expire after a single use or a set time period, so a stolen number becomes useless once that window closes.
- Most card issuers offer virtual numbers for free, but third-party services typically charge a monthly or annual subscription.
- Virtual numbers work for online purchases and some in-app payments, but not for in-person transactions or recurring subscriptions you plan to keep.
How to generate a virtual number from your card issuer
The steps vary by bank, but the process is similar across most issuers. Open your card issuer's mobile app or log into your online account. Look for a section labeled "Virtual Card," "Card Controls," "Digital Wallet," or "Shopping Tools" — the exact name depends on your bank.
Click the option to generate a new virtual number. You will usually see fields to set the merchant name (optional but helpful for tracking), a spending limit for that number, and an expiration date. Some issuers let you set the limit to the exact purchase amount; others offer preset ranges like $50, $100, or $500. Set the expiration to match how long you plan to use that number — a single day for a one-time purchase, or several months if you are subscribing to a service.
Once you generate the number, your app will display a full card number, expiration date, and CVV, just like a physical card. Copy these details and enter them at checkout. The transaction will appear on your regular statement under your real card, but the merchant will only see the virtual number.
If you lose track of which virtual number you used where, most issuers let you view your active virtual cards in the app and see which merchant each one is linked to. You can also close a virtual number early if you no longer need it.
Using third-party virtual card services
If your card issuer does not offer virtual numbers, or you want more control over how many you can create, third-party services provide an alternative. Privacy, Blur, and Masked Card are the most common options. These services work with most major credit cards and generate virtual numbers on your behalf.
To set up a third-party service, you download the app or browser extension, connect your credit card, and then generate virtual numbers through their interface. The process is similar to using your issuer's tool: you set a spending limit, choose an expiration date, and optionally name the merchant. The virtual number is then displayed and ready to use at checkout.
Third-party services typically charge between $5 and $15 per month, though some offer a free tier with limited features. The paid versions usually let you create unlimited virtual numbers, set custom spending limits, and pause or close numbers on demand. Free tiers may limit you to a few numbers per month or restrict which merchants you can use them with.
One trade-off: third-party services see your card number and transaction details, so you are trusting another company with that information. Read their privacy policy before signing up. Your card issuer's virtual card tool, by contrast, keeps everything within your bank's system.
When to use a virtual number and when not to
Virtual numbers are most useful for one-time purchases from merchants you do not know well or sites with weaker security. If you are buying from a small online retailer for the first time, a virtual number limits your exposure if their payment system is compromised. They are also practical for subscription services you want to try without committing your main card number.
Do not use a virtual number for recurring subscriptions you plan to keep long-term. If the virtual number expires before your subscription renews, the payment will fail and your service will be interrupted. You would have to update the merchant with a new virtual number each time, which defeats the convenience. For ongoing subscriptions, use your real card number or set the virtual number to expire well after your subscription period ends.
Virtual numbers also do not work for in-person purchases — you cannot use them at a physical store or gas pump because the merchant needs to read your physical card or verify it in real time. They work for online checkout, some mobile apps, and phone orders where you read the number aloud, but not for contactless or chip-reader transactions.
Some merchants reject virtual numbers if their fraud detection system flags them as suspicious. This is rare but can happen. If a virtual number is declined, try using your real card number instead, or contact the merchant to ask if they accept virtual cards.
How virtual numbers protect you from fraud and data breaches
The main protection is isolation. If a merchant's database is breached and hackers steal card numbers, they get the virtual number you used for that one purchase, not your real card number. That virtual number is either already expired or set to expire soon, so it cannot be used again. The hackers would have to move fast and know the exact spending limit you set, which makes the number nearly worthless to them.
This is different from the fraud protection your card issuer already offers. Your card issuer will refund unauthorized charges, but you still have to notice them, report them, and wait for the investigation. A virtual number prevents the unauthorized charge from happening in the first place because the stolen number does not work after its expiration date.
Virtual numbers also reduce the number of merchants who have your real card number on file. Every company that stores your card number is a potential target for hackers. The fewer merchants with your actual number, the smaller your attack surface.
Tracking and managing your virtual numbers
Most card issuer apps let you view all active virtual numbers in one place. You can see which merchant each number is linked to, the spending limit, the expiration date, and how much has been charged so far. This makes it easy to track which virtual number you used for which purchase.
If you generate a virtual number and then change your mind about a purchase, close the number in your app before the merchant charges it. This prevents the transaction from going through. If you have already been charged, you can close the number to prevent future charges, though you will still need to contact the merchant to cancel the subscription or service.
For third-party services, the app or browser extension usually shows the same information: active numbers, merchants, limits, and expiration dates. Some services send notifications when a virtual number is used, which helps you catch unauthorized charges quickly.
Keep your virtual card numbers organized by naming them clearly in your app. Instead of "Virtual Card 1," use "Amazon — expires Jan 2025" or "Netflix trial." This makes it much easier to find the right number if you need to update a subscription or troubleshoot a failed payment.
Frequently Asked Questions
Can I use a virtual number for a subscription I want to keep?
You can, but only if you set the expiration date well after your subscription period ends. If the virtual number expires before your next billing date, the payment will fail and your service will stop. For long-term subscriptions, it is simpler to use your real card number or generate a virtual number that lasts at least a year.
What happens if a merchant charges my virtual number after it expires?
The charge will be declined because the number no longer works. The merchant will receive a message that the card is invalid. If this happens with a subscription, contact the merchant to update your payment method with a new virtual number or your real card.
Do virtual numbers show up on my credit report?
No. Virtual numbers are tied to your real card account, so all charges appear on your regular statement and credit report under your actual card. The virtual number itself is never reported to credit bureaus — only the underlying account is.
Can I use a virtual number at a gas pump or ATM?
No. Virtual numbers only work for online purchases, phone orders, and some mobile apps. Gas pumps and ATMs require a physical card or a card number that can be verified in real time, which virtual numbers cannot do.
Is there a fee to use virtual numbers from my card issuer?
Most card issuers offer virtual numbers for free as part of your account. Third-party services typically charge a monthly subscription, usually between $5 and $15, though some offer a free tier with limited features.