How to Make a Shopify Discount Code for First Orders Only
Who this is for
Growth and retention teams running welcome offers that should only go to new customers.
Shopify has no single 'first order only' checkbox, but you can get close by combining two settings: limit Customer eligibility to a segment of customers with no previous orders, and turn on 'Limit to one use per customer'. Then accept that a determined customer can still use a new email address — for most welcome offers that leakage is small and cheaper than the friction of stricter controls. If you need tighter control, issue unique single-use codes from your email signup flow instead of one public code.
When to use this
- You run a '10% off your first order' popup or welcome email.
- Existing customers are using the welcome code.
- Your welcome code appeared on coupon sites.
- You're deciding between a public code and unique per-subscriber codes.
Step-by-step workflow
- 1
Create a 'no orders yet' customer segment
In Customers → Segments, build or use a segment for customers who haven't placed an order (number of orders is 0).
- 2
Limit the discount to that segment
Under Customer eligibility, choose specific customer segments and select it.
- 3
Turn on one use per customer
This blocks a second redemption by the same customer even after they leave the segment.
- 4
Prefer unique codes from signup
If your email platform can generate unique Shopify codes per subscriber, use them with a total limit of 1 so public sharing doesn't work.
- 5
Test as new, existing, and guest customers
Check out with a brand-new email, an email that has previous orders, and as a guest, and confirm the result each time.
Frequently asked questions
Can Shopify restrict a discount to first-time customers?
Yes, by limiting customer eligibility to a segment of customers with zero orders and enabling one use per customer.
Can customers bypass a first-order discount?
Sometimes, by using a new email address. Unique single-use codes issued at signup reduce this.
Should a welcome discount stack with sale prices?
Decide deliberately. Many stores block welcome codes on already-discounted items to protect margin; use product scope and combination settings to enforce it.
Related resources and tools
- One-time use discount codes in Shopify
- Exclude products from a Shopify discount
- Why is my Shopify discount code not working?
- Shopify Automatic Discount vs Discount Code: Which to Use
- How to Schedule a Discount in Shopify
- How to Deactivate or Delete a Discount Code in Shopify
- How to See How Many Times a Shopify Discount Code Was Used
- How to Set Up Tiered (Volume) Discounts in Shopify
- How to Put a Product on Sale in Shopify