Stripe test card numbers are the dummy card values Stripe publishes so developers can run successful charges, declines, 3-D Secure challenges, and refunds in a sandbox without ever touching a real card. This reference guide covers the numbers you will reach for most often, explains what each one simulates, and shows how to pair them with any future expiry date and any three-digit CVC. It is written for developers, QA testers, and reviewers who are building or auditing a Stripe integration.
What are Stripe test card numbers?
They are fixed card numbers that only resolve inside Stripe test mode. Each number is mapped to a specific outcome, so you can reproduce an edge case on demand instead of waiting for it to happen in production.
Where Can I Find Stripe Test Card Numbers?
- Standard Visa success card: 4242 4242 4242 4242, the quickest way to confirm checkout works end to end.
- Generic decline: 4000 0000 0000 0002, returns a card_declined error.
- Insufficient funds: 4000 0000 0000 9995.
- Lost or stolen card simulation: 4000 0000 0000 9987.
- Authentication required: 4000 0025 0000 3155, triggers a 3-D Secure flow.
- Expired card: 4000 0000 0000 0069.
- Incorrect CVC: 4000 0000 0000 0127.
On the specification side, every number behaves like a normal card object in the API: it accepts any future expiry date, any three-digit CVC, and any postal code unless the specific test case requires otherwise. You pair them with your test-mode publishable and secret keys, and they appear in the Dashboard alongside test charges, customers, and refunds. No funds move, no network authorization reaches a real issuer, and the records are isolated from your live account.
Synonym Stripe Fake Card Number Generator: A Comprehensive Guide
Do test card numbers work in live mode?
No. Test numbers are rejected outside test mode, and entering them against a live endpoint will not produce a successful charge. They exist purely for integration testing, and using them to probe a live system is prohibited by Stripe's terms.
Longtail Stripe Test Card Numbers for Development
How is this guide delivered, and what if it isn't right for you?
Access is delivered digitally right after checkout, so there is nothing to ship and no waiting on a courier. If the reference does not load correctly or you were charged twice, contact support within 30 days and we will restore access or issue a refund.