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

# Delete Unattached Azure Managed Disk

> Delete Azure managed disks that are not attached to any virtual machine.

A managed disk is billed for its size whether or not it is attached to a virtual machine. Disks are often left behind when a VM is deleted. Azure Advisor flags unattached disks, and nOps shows those that are still on your bill, with the disk's full monthly cost as the saving.

| | |
| - | - |
| **Cloud** | Microsoft Azure |
| **Category** | Storage |
| **Service** | Managed Disks |
| **Action** | Delete |
| **Effort** | Low |
| **Restart needed** | No |
| **Can be rolled back** | No |
| **Analysis window** | Last 7 days |
| **Source** | Azure Advisor |

## Why it matters

Unattached disks do nothing but cost money, and premium SSD disks left behind after a VM is deleted can be expensive.

## How nOps finds it

This recommendation comes from Azure Advisor, which nOps imports daily. nOps keeps only disks billed on at least 6 of the last 7 days. Advisor gives no saving for unattached disks, so the saving shown is what the disk actually cost.

## Before you start

Confirm the disk is not needed, for example as a backup of a deleted VM or for a VM that will be recreated.

## How to implement

1. In the Azure portal, open **Disks** and filter the **Disk state** column to **Unattached**.
2. Check the disk's tags and owner to make sure it is not needed.
3. If the data might be needed later, take a snapshot first (snapshots cost much less than the disk).
4. Delete the disk.

## Risks and considerations

* Deleting a disk is permanent. Take a snapshot first if there is any chance the data is needed.
* Some tools detach disks temporarily; make sure the disk is not about to be reattached.

## Related

* [Delete Disks of Stopped Azure VMs](https://help.nops.io/inform/supported-recommendations/delete-disks-of-stopped-azure-vms)
* [Delete Azure Snapshots Older than 90 Days](https://help.nops.io/inform/supported-recommendations/delete-azure-snapshots-older-than-90-days)
* [Supported recommendations](https://help.nops.io/inform/supported-recommendations.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.