Limiting Discount Codes to One Use Per Customer
Published · Last reviewed
To limit a discount code to one use per customer in Shopify, navigate to the Discounts section in your admin and create or edit a discount. Under the Usage limits settings, select 'Limit uses to once per customer.' This restriction ties the redemption to the specific customer account email at checkout. Note that this check is performed against the logged-in user; guests checking out with an unlinked email may bypass it unless combined with other rules.
Configuring Single-Use Restrictions
Shopify provides a native toggle for limiting discount usage that is straightforward to configure. This setting is most effective when applied to percentage-based or fixed amount discounts intended for new customers or specific promotional campaigns.
The configuration happens within the discount creation flow. You must ensure you are using a 'Automatic' or 'Code' discount type, as gift cards have their own separate redemption logic. The key is locating the correct usage limit field during setup.
Implementation Checklist
Follow these steps to correctly apply the one-use restriction.
- Action
- Navigate to Discounts > Create discount in your Shopify admin
- Why it protects you
- Accesses the central interface where promotion rules are defined and validated
- Verification
- The discount creation form loads with fields for type, value, and usage limits
- Action
- Select the specific discount code or automatic method
- Why it protects you
- Ensures you are editing the correct promotion asset rather than creating a duplicate
- Verification
- The discount details page displays the existing code or configuration options
- Action
- Scroll to the Usage limits section and check 'Limit uses to once per customer'
- Why it protects you
- Activates the backend logic that tracks redemption history against customer accounts
- Verification
- The checkbox is selected and remains checked when saving the discount
- Action
- Save the discount and verify the active status
- Why it protects you
- Commits the changes to the live store environment for customer visibility
- Verification
- The discount appears in the 'Active' tab of your Discounts list with no error messages
- Action
- Test checkout with a logged-in customer account using the code
- Why it protects you
- Confirms the restriction works as intended before promoting the code publicly
- Verification
- The discount applies on first use and fails or disappears on subsequent attempts from the same account
Understanding Customer Account Tracking
It is critical to understand that the 'once per customer' limit relies on the customer account email. If a guest checks out without creating an account or logging in, Shopify cannot definitively link that transaction to a specific user identity for future checks.
Therefore, this setting is most reliable when your store requires accounts at checkout or encourages guests to create one. For maximum security against abuse, combine this limit with other restrictions such as minimum purchase amounts or product-specific exclusions.
How it works
When a customer enters a discount code at checkout, Shopify's backend queries the usage table associated with that specific discount ID. It cross-references the email address of the current customer account against the list of emails that have already redeemed this code.
If the email exists in the redemption history for that discount, the system rejects the code or removes it from the available options. This check is immediate and happens before the payment is processed, ensuring no margin loss occurs.
Worked example
A store owner creates a 'WELCOME10' code for new subscribers. They enable the 'Limit uses to once per customer' setting. A subscriber named Alice redeems it on her first order. When she attempts to use it again for a second purchase, the checkout page will either show an error or hide the code entirely because her email is already flagged in the discount's usage log.
If Alice checks out as a guest using a different email address, the system treats that as a new customer. The restriction only applies per unique account email, not per device or browser cookie.
Frequently asked questions
Does the one-use limit apply to gift cards?
No, discount code usage limits do not apply to gift cards. Gift cards have their own balance and redemption logic that is separate from promotional discount codes.
Can I combine a single-use discount with other discounts?
Shopify allows combining one automatic discount with one manual code if configured in your settings. The 'once per customer' limit applies to each specific code independently, so a customer could theoretically use two different codes if they have not used either before.
What happens if a guest checks out without an account?
The restriction may not be enforced for that specific transaction because there is no persistent account email to track. The limit only reliably prevents reuse when the customer is logged into an account.
How do I view how many times a discount has been used?
You can view usage statistics by navigating to Discounts in your admin, clicking on the specific discount, and viewing the 'Usage' tab. This shows the total number of redemptions but does not list individual customer emails.
Can I set a global limit for all discounts at once?
No, Shopify requires you to configure usage limits individually for each discount code or automatic promotion. There is no global setting that applies this restriction to all future discounts automatically.
Get the daily briefing
One short, calm email each morning: today's Shopify risks, one checkout-protection action, and one conversion win. No hype. Unsubscribe anytime.
Related guides
- Abandoned cart recovery — win back checkouts you already lost
- Vet a Shopify app — judge quality and permissions before installing
- App bloat audit — find and remove apps that slow your store