In short
- Put the code where it can't be missed (near the top, in plain text the customer can copy) and add a link that applies it automatically.
- State every term in one line: amount, minimum spend, what's excluded, expiry date with time zone, one use or several. Unclear terms are a common reason these emails turn into support tickets.
- Give the discount a reason (welcome, birthday, apology, loyalty). A code with a reason feels like a gift; a code without one trains people to wait for the next sale.
- Use unique, single-use codes for anything personal (apologies, win-backs, VIPs) so the code doesn't end up on a coupon site.
A discount code email gives a customer a code, tells them exactly what it's worth and how to use it, and gives them a reason to use it now. The ones that work are short and specific: the code near the top, the terms in one plain line, a real deadline and a button that applies the discount for them. Jump straight to the filled-in welcome email if you just need one to copy, or pick the situation below. The 11 email templates come with a subject line, alternatives and preview text; the 12th covers SMS and pop-ups.
Promotions tend to bring the same follow-up questions: "my code doesn't work", "does it apply to sale items?", "can I use it on my last order?". Every template here answers those before they're asked.
- New customers: 1. welcome · 2. welcome reminder · 3. next order
- Existing customers: 4. win-back · 5. birthday · 6. apology · 7. VIP · 8. referral
- Promotions: 9. sale · 10. last chance · 11. free shipping · 12. SMS/pop-up
- Then: three filled-in examples · 20 subject lines · when the code doesn't work · Shopify setup
12 discount code emails (and messages) to copy#
1. Welcome code for new subscribers#
Immediately after someone signs up to your newsletter or pop-up. They're expecting it, so send it within minutes.
2. Welcome code reminder (code not used yet)#
3–5 days after email 1, only to subscribers who haven't used the code. Stop sending as soon as they order.
3. First-purchase thank-you code (next order)#
[7–14] days after the first order is delivered. Rewards the second purchase, which is often the hardest one to get.
4. Win-back code for lapsed customers#
When a customer hasn't bought in [90–180] days (adjust to your normal repurchase cycle). Use a unique, single-use code.
5. Birthday or anniversary code#
On the day, or a few days before so they can plan. Works for birthdays (if you collected them) or the anniversary of their first order.
6. Apology code after a problem#
After a late delivery, a wrong item or a service mistake, once the problem itself is fixed. The code is a gesture, not the solution.
7. VIP or loyalty code#
For your best customers (by number of orders or total spent), ideally before a sale opens to everyone.
8. Referral code (give and get)#
After a positive review or a second order, when the customer is most likely to recommend you.
9. Seasonal or sale code (Black Friday, end of season)#
At the start of a time-limited sale for your whole list. Lead with the dates; that's what people check first.
10. Last-chance reminder before a code expires#
24 hours or less before expiry, only to people who received the code and haven't used it.
11. Free shipping code#
When shipping cost is the main thing holding customers back (common in abandoned checkouts and low-value orders).
12. SMS and pop-up versions of the code (no subject line)#
When the code goes out by text message or appears in a site pop-up after sign-up. Only text customers who opted in to SMS marketing.
Nukli Chat knows your catalog and policies. Free up to 100 conversations a month.
Three filled-in examples#
Here are templates 1, 6 and 4 written out for a fictional US store, so you can judge the tone and length. The welcome email stays under 100 words; the apology runs a little longer because it has to explain what went wrong.
20 discount code subject lines#
State the value and the reason, and keep the key part in the first 40 characters or so: on a phone, longer subject lines get cut off. Use the preview text (the line after the subject in the inbox) for the expiry or the condition; most inboxes show roughly 40–90 characters of it, so put the important part first.
Welcome#
- Your 10% off code is inside, [First name]
- Welcome to [Store name]: here's 10% off
- As promised: your first-order code
- Free shipping on your first order starts now
- Here's a little welcome gift
Urgency and reminders#
- Your code ends tonight at 11:59 pm ET
- 24 hours left on your 15% off
- Last day: 25% off everything
- Don't forget: your code expires Sunday
- Final hours to use WELCOME10
Win-back and loyalty#
- It's been a while: here's 20% off
- We miss you, [First name] (and we've been busy)
- A personal code for one of our best customers
- Early access: 20% off before everyone else
- Thanks for being with us: a gift inside
Free shipping and occasions#
- Shipping is on us until Friday
- Free shipping, no minimum, this weekend only
- Happy birthday! 15% off all month
- One year since your first order: a thank-you
- Our Black Friday sale: 25% off ends Monday
What every discount code email needs#
Whatever the reason for the code, the same six pieces stop the follow-up questions:
| Element | Example | Why |
|---|---|---|
| The code, as text | WELCOME10 | Images get blocked and can't be copied. Plain text can. |
| The value | 10% off / $15 off / free shipping | Say percent or amount; never "a special discount". |
| Minimum spend and exclusions | Orders over $50, not gift cards | A common cause of "my code doesn't work". |
| Expiry with time zone | Sunday, Dec 6, 11:59 pm ET | "Ends Sunday" means different things to different customers. |
| Uses | One per customer | Avoids a dispute on the second order. |
| A link that applies it | Shop with my code → | Every step between email and checkout loses people. |
How to create the code and a link that applies it (Shopify)#
Shopify lets you set active dates, usage limits, one use per customer, a minimum purchase, which products it applies to and whether it combines with other discounts (Shopify Help Center). To turn the code into a link that applies itself:
- Create the discount. In the Shopify admin, go to Discounts, create an amount-off or free-shipping discount with a code, and set the minimum, the dates and the usage limits.
- Open it and click Promote. Click the discount's name, then Promote → Get a shareable link (in the Shopify mobile app, the option sits in the discount's menu). If your admin looks different, look for the Promote button on the discount page.
- Choose the landing page. Pick the page, product or collection the link should open, and optionally a marketing campaign for UTM tracking.
- Copy the link into your email. It ends in
/discount/YOURCODE; add?redirect=/collections/saleto send people to another page. The discount is applied automatically at checkout (Shopify Help Center, checked 19 November 2026). - Still print the code. Some customers open the email on one device and buy on another, where the link's cart isn't active.
Shareable links work only for active discounts, one discount per link, and not for discounts created by third-party apps. If you send from Klaviyo, Mailchimp or Shopify Email, paste the same link into the button; Klaviyo and similar tools can also insert a unique single-use code per recipient. On WooCommerce, create the code under Marketing → Coupons; applying it from a link usually needs a plugin.
Stop codes being shared or stacked#
- Limit uses: one per customer, and a total usage limit for personal codes.
- Restrict eligibility: Shopify can limit a code to specific customers or segments, so a leaked VIP code won't work for anyone else.
- Set combinations on purpose: decide whether the code combines with other product, order or shipping discounts instead of leaving the default.
- Consider an automatic discount: for a store-wide sale, Shopify's automatic discounts apply without a code at all, so there's nothing to leak or mistype.
Plain text or designed HTML?#
Either works if the code is real text. A plain, letter-style email suits personal codes (apology, win-back, birthday) because it reads like a person wrote it; a designed HTML email suits a sale for your whole list. In both, keep the code and the button above the first scroll on a phone.
Which discount to offer#
| Situation | What usually works | Code type |
|---|---|---|
| New subscriber | 10–15% or free shipping on the first order | Shared code, one use per customer |
| Second order | Small % with a 30-day limit | Unique code |
| Lapsed customer | A bigger % plus a reason to come back (what's new) | Unique, single use |
| Apology | Fixed amount or % sized to the problem | Unique, single use |
| Sale for everyone | One clear % across the store | Shared code with end date |
| Low order values | Free shipping or $X off above a threshold | Shared code with minimum |
These ranges are a common starting point, not a benchmark: the right depth depends on your margins. A common heuristic, often called the "rule of 100" and popularized by marketing professor Jonah Berger in his book Contagious: below $100, a percentage usually sounds bigger; above $100, a dollar amount does. Test both on your own list.
Expect the questions after you send#
Every promotion brings a wave of the same messages. Some are about the code itself (it doesn't work, does it apply to this product, can I use it on yesterday's order); answer those in the email and keep a prepared reply like the one below. The rest are the questions a sale brings in bulk: will it arrive in time, can I return a sale item, which size should I get. Nukli Chat sits on your shop's website and answers those questions about shipping, exchanges, returns and sizes according to what your website says, tracks Shopify orders, and replies in the customer's language. It doesn't check why a code failed: when a customer needs a person, the conversation goes to your team's inbox. For the emails your team still writes, our canned responses examples and customer service email templates cover the rest.
When a customer says the code doesn't work#
This one isn't a promotional email but a one-to-one reply, and after any promotion it's the message you'll write most. Check the code's settings first (minimum, exclusions, dates, usage limit), then answer with the specific reason.
The legal basics#
In the US, a promotional email falls under CAN-SPAM: the subject line must accurately reflect the content, you need a valid physical postal address and a working unsubscribe link, and opt-outs must be honored within 10 business days. Each violating email can cost up to $53,088, a figure the FTC adjusts for inflation (FTC compliance guide, checked 19 November 2026). In the EU and UK, you generally need prior consent to send marketing emails, with a narrow exception for existing customers buying similar products (the ePrivacy / PECR "soft opt-in"). Check your local rules; this is not legal advice.
Related templates: welcome email, abandoned cart email, review request email, apology email to customer thank you email and shipping delay email.
Tips#
- Write the expiry as a date, time and time zone ("Sunday, Dec 6, 11:59 pm ET"), not "this weekend".
- Use unique single-use codes for apologies, win-backs and VIPs. Shared codes often get posted on coupon sites.
- Send the reminder only to people who haven't used the code. Reminding someone who already ordered feels like you weren't paying attention.
- Name the reason in the subject line (welcome, birthday, sorry) so the customer knows why the email exists before opening it.
- Before sending, test the code yourself on a real cart with an excluded product and one below the minimum, so you know exactly what customers will see.
Mistakes to avoid#
- Hiding the terms in tiny gray text at the bottom. If a condition will stop the code from working, it belongs next to the code.
- Putting the code only in an image. Image blocking hides it and nobody can copy it.
- Fake urgency: "ends tonight" and then extending it. Customers notice, and the next deadline won't work.
- Discounting every email. Customers learn to wait for the code, and full-price sales drop.
- Sending an apology code before fixing the problem. The code should come with the solution, not instead of it.
Frequently asked questions
What is the difference between a discount code and a coupon code?
In online stores, none in practice: discount code, coupon code and promo code all mean a code the customer enters at checkout to get a reduced price or free shipping. Shopify calls them discount codes; WooCommerce calls them coupons.
What should I write in a discount code email?
The reason for the discount, the code in plain text, its value, the minimum spend and exclusions, the expiry date with time zone, how many times it can be used and a button that applies it. As a rule of thumb, aim for 50–120 words; sale emails that list delivery dates and return terms (template 9) and apologies that explain a problem (template 6) can run longer.
What is a good subject line for a discount code email?
One that states the value and the reason: "Your 10% off code is inside", "A thank-you for your first order", "Your code ends tonight at 11:59 pm ET". Keep the key words early so they survive on a phone; there are 20 more above. Don't promise more than the email gives: in the US, CAN-SPAM requires the subject line to reflect the content.
When should I send a discount code?
When there's a reason the customer will recognize: right after sign-up, a week or two after the first order arrives, on a birthday, after a problem you've fixed, or when someone hasn't bought in a few months. Avoid sending codes on a fixed schedule with no reason, which teaches customers to wait for them.
How do I keep a promo code email out of spam?
Send only to people who opted in, from a domain with SPF, DKIM and DMARC set up, with an honest subject line and a working unsubscribe link. Keep the code as text rather than one large image, and remove addresses that bounce or never open.
How long should a discount code be valid?
There's no standard. As a starting point: 7–14 days for a welcome code, 30 days for a next-order code, 2–5 days for a sale and a month for a birthday code. Send one reminder before it expires.
Should I use one shared code or unique codes?
Shared codes (WELCOME10) are fine for public offers and sales. For anything personal, such as apologies, win-backs or VIP offers, use unique single-use codes so they can't be shared or posted on coupon sites.
How do I stop discount codes being shared on coupon sites?
Use unique single-use codes for personal offers, limit each code to one use per customer, and in Shopify restrict eligibility to specific customers or segments. For public sales, an automatic discount with no code avoids the problem entirely.
How do I make a discount apply automatically from an email?
In Shopify, open the discount, click Promote and then Get a shareable link. Customers who click the link get the discount applied at checkout. Still show the code in the email for people who switch devices.
What do I say when a customer's code doesn't work?
Check the code's settings, tell them the specific reason (minimum spend, excluded product, expired, already used) and offer a way forward: what to add to reach the minimum or, if your policy allows it, a new single-use code. The reply above is ready to paste.