Cancel your Azure subscription

You can cancel your Azure subscription in the Azure portal if you no longer need the subscription.

Before you cancel your subscription:

  • Back up your data. For example, if you're storing data in Azure storage or SQL, download a copy. If you have a virtual machine, save an image of it locally.
  • Shut down your services. Go to the resources page in the management portal, and Stop any running virtual machines, applications, or other services.
  • Consider migrating your data. See Move resources to new resource group or subscription.
  • Delete all resources and all resource groups. Deleting them is required before you can cancel a subscription. Each resource group must be deleted individually. During resource group deletion, you must confirm deletion by typing the resource group name.
  • If you have any custom roles that reference this subscription in AssignableScopes, you should update those custom roles to remove the subscription. If you try to update a custom role after you cancel a subscription, you might get an error. For more information, see Troubleshoot problems with custom roles and Custom roles for Azure resources.

If you cancel a paid Azure Support plan, you are billed for the rest of the subscription term. For more information, see Azure support plans.

Cancel subscription in the Azure portal

  1. Select your subscription from the Subscriptions page in the Azure portal.
  2. Select the subscription that you want to cancel.
  3. Select Overview, and then select Cancel subscription. Screenshot that shows the Cancel button
  4. Follow prompts and finish cancellation.

Who can cancel a subscription?

The table below describes the permission required to cancel a subscription.

Subscription type Who can cancel
Subscriptions created when you sign up for Azure through the Azure website. For example, when you sign up for an Azure Free Account, account with pay-as-you-go rates or as a Visual studio subscriber. Account administrator, owners, and contributors for the subscription
Microsoft Enterprise Agreement and Enterprise Dev/Test Account owner, owners, and contributors for the subscription
Azure plan and Azure plan for DevTest Owners and contributors for the subscription

What happens after I cancel my subscription?

After you cancel, billing is stopped immediately. However, it can take up to 10 minutes for the cancellation to show in the portal. If you cancel in the middle of a billing period, we send the final invoice on your typical invoice date after the period ends.

After you cancel, your services are disabled. That means your virtual machines are de-allocated, temporary IP addresses are freed, and storage is read-only.

We wait 90 days before permanently deleting your data in case you need to access it or you change your mind. We don't charge you for retaining the data. To learn more, see Microsoft Trust Center - How we manage your data.

Reactivate subscription

If you cancel your subscription with Pay-As-You-Go rates accidentally, you can reactivate it in the Accounts Center.

If your subscription is not a subscription with Pay-As-You-Go rates, contact support within 90 days of cancellation to reactivate your subscription.

Need help? Contact us.

If you have questions or need help, create a support request.