> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uplifter.app/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I delete a discount code?

> Delete an unused code, and what to do when a code has already been applied to an order.

<Note>
  **Must know**

  * Deletion is blocked once the code has been applied to any order — even a checkout that was never paid. This protects your records and reporting.
  * For a code that's been used, **Deactivate** it (or let it expire) instead of deleting.
  * Codes that have never been applied to an order can be deleted outright.
</Note>

Deleting removes a discount permanently. You do it from the discount's detail page.

<Steps>
  <Step title="Open the discount">
    Go to **Settings > Financial Setup > Discounts** and click the code you want to remove.
  </Step>

  <Step title="Click Delete">
    Click **Delete**, then confirm in the dialog. If the code has never been used, it's removed from the list.
  </Step>
</Steps>

If the code has already been applied to an order — even a checkout that was never paid — deletion is refused so the record stays attributable on those invoices. In that case you have two clean alternatives:

* **Deactivate** it so it can't be used on new orders while its history stays intact.
* Let its **Valid to** date pass so it expires on its own.

Either way the code stops working going forward without erasing what it saved families in the past.

**Related:** [How do I activate, pause, or reactivate a discount?](/club/discounts/activate-pause-reactivate-a-discount) · [What do the discount statuses mean?](/club/discounts/discount-statuses-explained) · [How do I track a code's usage and total savings?](/club/discounts/track-code-usage-and-savings)
