Delete an HDInsight cluster using your browser, PowerShell, or the Azure Classic CLI

HDInsight cluster billing starts once a cluster is created and stops when the cluster is deleted. Billing is pro-rated per minute, so you should always delete your cluster when it is no longer in use. In this document, you learn how to delete a cluster using the Azure portal, Azure PowerShell, and the Azure Classic CLI.


Deleting an HDInsight cluster does not delete the Azure Storage accounts or Data Lake Storage associated with the cluster. You can reuse data stored in those services in the future.

Azure portal

  1. Log in to the Azure portal and select your HDInsight cluster. If your HDInsight cluster is not pinned to the dashboard, you can search for it by name using the search field.

    portal search

  2. From the cluster settings, select the Delete icon. When prompted, select Yes to delete the cluster.

    delete icon

Azure PowerShell

From a PowerShell prompt, use the following command to delete the cluster:

Remove-AzureRmHDInsightCluster -ClusterName CLUSTERNAME

Replace CLUSTERNAME with the name of your HDInsight cluster.

Azure Classic CLI


This article contains content which requires the Azure classic CLI. The current release of the Azure CLI does not have support for the features outlined in this article, so the classic CLI is required.

The classic CLI can be installed side-by-side with the modern Azure CLI, but we recommend using the Azure CLI for all new scripts and deployments where feature support is available. To install the classic CLI, see Install the Azure classic CLI and to install the current CLI, see Install Azure CLI.

From a prompt, use the following to delete the cluster:

azure hdinsight cluster delete CLUSTERNAME

Replace CLUSTERNAME with the name of your HDInsight cluster.