An illustration highlighting unattached managed disks in Azure causing unnecessary cloud storage charges on an invoice.

Deleting an Azure virtual machine does not always remove its storage. By default, Azure leaves attached disks behind to prevent accidental data loss. Consequently, unattached managed disks sit quietly in your subscription and generate storage charges over every complete day of your billing window. Because these orphaned block storage volumes connect to nothing, they deliver zero value while adding gross cost to your monthly bill. However, you should never delete a detached disk blindly. Instead, verify whether a workload still needs the volume, take a snapshot if the data matters, and then delete the disk.

Key takeaways

  • Azure bills most managed disks by their provisioned capacity tier even when they are detached from a virtual machine.
  • Follow a strict 3-step cleanup process: confirm the disk is not awaiting reattachment, snapshot needed data, and delete the volume.
  • Snapshots bill only for the used data size rather than the full provisioned disk size.

Why unattached managed disks keep billing

When you look at Azure Cost Management, block storage charges appear regardless of virtual machine attachment. Azure Managed Disks—including Standard HDD, Standard SSD, and Premium SSD—bill primarily for provisioned capacity. Furthermore, as outlined in the Azure Premium SSD v2 documentation, newer tiers bill hourly for provisioned capacity, IOPS, and throughput above the free baseline.

Therefore, an idle disk accumulates gross cost over every complete day it remains in your resource group. Azure reserves that underlying storage hardware for your account whether a compute instance uses it or not.

Most unattached managed disks appear after routine infrastructure changes. When an engineer deletes a virtual machine, Azure preserves the OS and data disks unless the user explicitly checks the box to delete them with the VM. Similarly, automated deployment pipelines that tear down test environments often leave orphaned storage volumes behind. If your team does not audit these leftover resources, the daily charges simply roll into the next invoice.

Disks awaiting reattachment versus forgotten disks

Before you modify or remove any storage resource, you must confirm the disk is not awaiting reattachment. Native billing data in Azure Cost Management shows that a disk accrued charges over complete days, and provider metrics show that its state is unattached. However, billing data cannot prove why a disk is detached or whether an engineer still needs the files inside it.

In fact, several legitimate operational workflows create detached volumes temporarily. For example, an administrator might detach a data disk to move it to a new virtual machine during a maintenance window. In addition, disaster recovery drills, Kubernetes persistent volume failovers, and blue-green infrastructure upgrades regularly leave disks unattached for hours or days.

Consequently, your team must investigate ownership, workload dependencies, and recovery needs before taking action. Check the resource tags in the Azure portal to identify the owner or cost center. If the tags are missing, review the Azure Activity Log to see who detached the disk or deleted the parent VM. Finally, check the LastOwnershipUpdateTime property, which records the exact timestamp when the disk state last changed. Any volume with missing tags, recent detachment timestamps, or links to active deployment templates requires further investigation with the engineering team.

Find unattached disks in a subscription

You can locate disconnected block storage across your subscription using native Azure tools. Microsoft details these methods in its guide to find and delete unattached Azure managed disks. First, open the Azure portal and select the Disks blade. Here, you can look at the Disk state column or check if the Owner VM column is blank to spot unattached managed disks.

For larger environments, checking the portal manually takes too much time. Instead, you can query your subscription using the Azure CLI or Azure PowerShell. When a managed disk attaches to a virtual machine, its ManagedBy property stores the resource ID of that VM. When the disk detaches, the ManagedBy property becomes null.

Therefore, you can run a read-only CLI command to list every unattached volume:

az disk list --query '[?managedBy==`null`].[name,resourceGroup,diskSizeGb,timeCreated]' -o table

Notice that this query only lists the disks. Always review the output and verify the owner and dependencies of each volume before you run any deletion script.

Snapshot the data that matters

Once you confirm that a disk is not awaiting reattachment, your next step is to determine its recovery requirements. If the volume only held temporary operating system files from a terminated test VM, you likely do not need a backup. However, if the disk contains application logs, database files, or historical records that might matter later, take a snapshot before deleting the disk.

According to Microsoft’s guide to create a snapshot of an Azure managed disk, a snapshot is a full, read-only point-in-time copy of a volume. Snapshots exist independently of the source disk and allow you to recreate a new managed disk later if someone asks for the data. Moreover, snapshots are billed based on the used data size rather than the provisioned capacity. For instance, if you snapshot a 64 GiB managed disk that only holds 10 GiB of actual data, Azure bills the snapshot only for the 10 GiB of occupied space.

Creating a point-in-time snapshot

To create a backup, navigate to the target disk in the Azure portal and click Create snapshot. Next, choose a resource group and give the snapshot a clear name that includes the original VM name and the date. Select Standard storage for the snapshot type unless your recovery plan requires premium storage speed, and apply an expiration tag so your team knows when the backup can eventually be retired. Wait until Azure confirms the snapshot deployment is complete before moving to the final step.

Delete the disk and check the next invoice

After you verify ownership and secure any necessary snapshots, you are ready to delete the disk. Keep in mind that deleting a managed disk is permanent; you cannot recover the volume once Azure removes it unless you created a snapshot first.

In the Azure portal, open the individual disk’s blade, verify one last time that the disk state shows as unattached, and click Delete. Alternatively, you can remove the specific resource via the Azure CLI using its resource group and name:

az disk delete --resource-group MyResourceGroup --name MyOrphanedDisk --yes

Next, verify the cleanup in Azure Cost Management after a couple of days. Filter your daily cost view by the Storage meter category and the specific resource group. You should see the daily gross cost for that volume stop accumulating after the deletion date, while a smaller charge for the snapshot appears if you created one.

How Binadox helps identify unattached Azure managed disks

Tracking detached block storage manually across dozens of subscriptions often falls behind other operational tasks. Binadox is a cloud cost visibility and optimization tool that flags when an Azure managed disk is attached to nothing.

Specifically, Binadox detects when a managed disk sits unattached while the bill charges it gross cost over the monitoring window’s complete days. Alongside this finding, Binadox provides a clear recommendation: snapshot the disk if its data matters, then delete it. It outlines the exact three-step workflow covered in this guide—confirming the disk is not awaiting reattachment, snapshotting it if needed, and deleting it—so your team can review the billing evidence and clean up unused volumes safely.

Conclusion

Paying for block storage that connects to nothing is an easy way to inflate your Azure bill. Unattached managed disks quietly rack up daily charges simply because a virtual machine deletion left them behind. By checking Azure Cost Management and querying for volumes with no parent VM, you can bring these hidden costs into the open. Still, cost cleanup should never outrun operational safety. Always talk to the resource owner to confirm the volume is not awaiting reattachment, take a snapshot when the data has lasting value, and only then hit delete. Your storage architecture will stay much cleaner, and your cloud budget will stop funding empty drives.

To stop paying for forgotten storage and automate your cloud cost governance, you can start your free Binadox trial or book a demo with our engineering team today.