Ecom Store Pro

Why is my Shopify discount code not working?

Published ·
At a glance
Short answer
One Shopify help page ties "Unable to find a valid discount matching the code entered" to a deactivated code; expiry and unmet conditions block too.
Not active or doesn't exist
"Enter a valid discount code", per Shopify's discount codes FAQ; the line above covers a deactivated code
Code already used, but no order
An unfinished checkout is still holding the code
Start and end times
Follow the time zone selected in your Shopify admin
Codes per order
Up to 5 product or order codes and 1 shipping code
Draft order invoices and links
Customers can't enter a code at checkout by default

What does the error message at checkout mean?

It usually starts with a customer email saying your code doesn't work, often with the checkout message pasted in. Shopify's help pages tie each message to a cause:

  • "Unable to find a valid discount matching the code entered" — a code from a deactivated discount.
  • "Enter a valid discount code" — the code doesn't exist or isn't currently active.
  • The code's name plus "discount code isn't valid for the items in your cart" — the code doesn't apply to the products in the cart.
  • "has already been used" after the code's name — this customer can't reuse it.
  • "Some discount codes couldn't be used together. We applied the best combination" (discount codes FAQ) or "Discount couldn't be used with your existing discounts" (combinations page) — codes that can't be combined.

Two pairs overlap: the first two cover an inactive code, the two in the last bullet cover uncombinable codes. Different help pages print them, and we don't pick a winner.

Match the line to the check: the two "valid discount" messages send you to the code's status, just below; "has already been used" to its usage limit in the same section; "isn't valid for the items" and the two combination lines to the cart's conditions further down.

Is the code active, in date and under its usage limit?

You can temporarily deactivate an unexpired discount, and you can reactivate any discount that's expired. Shareable discount links and QR codes work only for active discounts.

An expiring code ends on the End date at the End time you set, and start and end times follow the time zone selected in your Shopify admin. The discount help pages we read on October 10, 2026 name no separate message for an expired or scheduled code.

Usage caps sit in Maximum discount uses on the Create discount page. A customer who can't reuse a code sees that it "has already been used".

Before you rename or reactivate a used-up code

Search your orders for that customer. If no matching order exists, an unfinished checkout is still holding the code. Deactivating, reactivating or renaming a code doesn't reset its usage history.

Search Orders for that customerShopify admin › Orders

Does the cart qualify for the discount?

If the code is live, compare its conditions with the cart, starting with the products it applies to:

Several codes on one order meet a separate cap: 5 product or order discount codes and 1 shipping discount code on the same order. Where discounts on the same items can't be combined, Shopify applies the best one for the customer, and product and order discounts take priority over shipping discounts. An active automatic discount can also conflict with the code (see which discounts combine).

Combining product with order discounts, or order with order, needs Checkout Extensibility without checkout.liquid customizations; several product discounts on one line item need the Shopify Plus plan.

Does this checkout accept discount codes?

No code field at all? You need at least one active code available to customers, Shop Pay customers must log in before the field displays, and a third-party app that affects pricing or checkout might hide it.

Draft orders work differently. By default, codes can't be applied at checkout for draft order invoices or links, and shipping and Buy X get Y codes aren't supported. A code that becomes invalid on an open draft order blocks you and your customer from completing it (see codes on draft orders).

In Shopify POS, fixed value and percentage codes apply only when all items in the cart meet the code's requirements. Codes can't be applied to exchanges; on POS Pro, product discount codes can't go on an item with a custom line item discount. On POS Lite, Buy X get Y discounts work only in your online store checkout.

Finally, codes can't be applied on the post-purchase page. Shopify also advises avoiding special characters in code names so they're added correctly to the checkout URL. Letter case is covered in whether codes are case sensitive.

About This Article

This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Marketing & SEO
Are Shopify discount codes case sensitive?

No: Shopify's developer docs say discount codes are case-insensitive, so SAVE10 and save10 are treated as the same code.

October 10, 2026

Orders & customers
Can B2B customers use local pickup or local delivery on Shopify?

Partly: pickup in store works at B2B checkout once Support activates it; for local delivery, Shopify documents draft orders and shipping profiles.

Updated October 8, 2026

Marketing & SEO
Can you limit a Shopify discount code to one country?

Yes — on Basic+ with the new Markets version, set the discount's eligibility to a single-country market.

September 24, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.