# Delete warehouse locations

<p class="callout danger">This action requires the **"delete warehouse locations"** permission.</p>

A **warehouse location can** only **be deleted,** if there are **no stock transactions (receipts, transfers...),** linked to it, otherwise, the deletion will fail and the **"System error"** message will be shown.

![output.gif](https://how-to-erp.dewesoft.com/uploads/images/gallery/2025-07/P7Toutput.gif)

<p class="callout info">**Instead of deleting,** a warehouse location's **status** can be **set** as **"Obsolete".** This removes a warehouse location from active use, preserving it only for stock transaction history.</p>

[![output.gif](https://how-to-erp.dewesoft.com/uploads/images/gallery/2025-07/TYGoutput.gif)](https://how-to-erp.dewesoft.com/uploads/images/gallery/2025-07/TYGoutput.gif)