Skip to main content

What do I do if I'm running out of codes?

Learn how to delete expired Shopify discount codes to free up space when you reach the discount code limit.

Updated over a month ago

Shopify limits each store to a maximum of 20 million discount codes. When this limit is reached, new discount sets can’t be generated until unused codes are removed. Use the steps below to identify and delete expired discount codes from your Shopify Admin.


When you may run out of discount codes

You may reach Shopify’s discount code limit if a store frequently generates large discount sets or keeps expired codes on the Discounts page in Shopify. Once the limit is reached, discount creation is blocked until codes are deleted.

Note:

Deleting discount codes from the Bulk Discount Code Bot app only removes them from the app.

It does not remove them from your Shopify account.


How to delete expired discount codes in Shopify

Use these steps to permanently remove expired discount codes from your Shopify Admin.

  1. Open the Discounts page

  2. Select the Expired filter

    1. Optional: Add additional filters, such as Expired discounts that were created more than 2 years ago.

  3. Check or activate the box next to the Title column to select all discount sets on the current page

    1. If the number of expired discounts exceeds 50, there will be an option labeled Select 50+; click that to select all expired discounts.

  4. Click the More actions (...) button, then select Delete discounts

Note:

You can learn more about deleting Shopify discounts by clicking here


Using Discount risk audit (Grow plan only)

If the store is on the Grow plan for the Bulk Discount Code Bot app, use the Discount risk audit to identify discount sets that should be expired but are still active. This helps prevent reaching Shopify’s discount code limit in the future.

Did this answer your question?