Closing your AWS account - AWS Account Management

Closing your AWS account

In this guide, we exclusively use the term closing an AWS account rather than deleting an account. Some elements of an AWS account are unique across all accounts, and using the term "delete" might mistakenly imply that some of those elements are available for future re-use. As an example, an account ID for a closed AWS account is never reused for obvious security reasons.

Only the AWS account root user can close an AWS account. AWS can't close an account on your behalf. If you have any questions about the process, contact your account representative or contact AWS Support for assistance. For more information about contacting AWS Support, see Contacting AWS Support.

Important

An AWS account ID number is never reused after its account is closed. This helps prevent the security risks that would otherwise occur. For example, consider if an account ID number was used in an AWS Identity and Access Management (IAM) permission policy and the ID suddenly referenced a different, and unexpected, AWS account.

Considerations before you close your AWS account

Before closing your AWS account, consider the following:

Your agreement with AWS

Closing your AWS account serves as notice to us that you want to cancel the AWS customer agreement or other agreement with AWS that governs your AWS account, solely with respect to this specific AWS account. If you reopen your AWS account during the post-closure period (within 90 days after you close the account), you agree that the same agreement terms govern your access to and use of the service offerings through your reopened AWS account.

AWS Management Console access

Your access to the AWS Management Console for a closed AWS account is restricted. During the post-closure period, you can still sign in to your AWS account to view your past billing information and access AWS Support. You can't access any other AWS services or start any new AWS services in the closed account.

Existing content and services still in use

After the post-closure period, AWS automatically deletes any remaining content in your AWS account, and terminates any AWS services that are still in use. Before closing your account, you should retrieve all content from the account. For instructions on how to retrieve your content, see the documentation for that service. For more information about the post-closure period, see Accessing your AWS account after you close it.

Your payment method

We charge you through your designated payment method for any usage fees incurred before you closed your AWS account. We issue you any refunds that might be due through that same payment method. If you have active subscriptions (such as a Reserved Instance that you pay for monthly), even after your account is closed, you might continue to be charged for the subscription through your designated payment method until the subscription expires or is sold according to the terms governing the subscription. These charges and refunds might occur after you close your account.

In addition, if you reopen your account, you might be charged for the cost of running AWS services (that you didn't stop before closing your account) during the post-closure period. Closing your AWS account doesn't affect payment methods that you use on Amazon.com or other Amazon websites.

On-Demand charges

During the post-closure period, billing for On-Demand charges stops. However, you're billed for any usage that has accrued up until the time you closed your account. You'll be charged for that usage at the beginning of the next month. In addition, if you purchased any subscriptions with ongoing payment obligations, you might continue to be charged for them after your account is closed.

Important

You will continue to generate costs if you don't stop or delete your resources.

Domains registered with Amazon Route 53

Domains that are registered with Route 53 are not deleted automatically. When you close your AWS account, you have three options:

If you already closed the account, you can open a case with AWS Support to get help with disabling automatic renewal or transferring your domains. For more information, see Contacting AWS Support About Domain Registration Issues. There is no charge to open a case for domain registration issues.

Charges if you reopen your AWS account

If you reopen your AWS account during the post-closure period, you might be billed for the cost of any AWS services that aren't stopped or resources that aren't deleted before you close your account.

Example

You reopen your AWS account 30 days after closure. Your AWS account had only an active t2.micro Amazon EC2 instance at closure. For this example, imagine that the price for a t2.micro Amazon EC2 instance in your AWS Region is $0.01 per hour. In this case, you might be charged for 30 days x 24 hours x $0.01 per hour = $7.20 for your AWS services.

Closing a member account

When you close an account that you created with AWS Organizations, that account isn't removed from the organization until after the post-closure period. During the post-closure period, a closed member account still counts toward your quota of accounts in the organization.

To avoid having the account count against the quota, remove member accounts from the organization before closing it. For more information, see Closing an AWS account in the AWS Organizations User Guide.

Cross-account access to the account you’re closing

After you close your AWS account, any access requests to your closed account's AWS services from other AWS accounts fail. This occurs even if you have granted the other accounts permission to access your account's AWS services. If you reopen your AWS account, other AWS accounts can again access your account's AWS services and resources if you granted the necessary permissions to the other AWS accounts.

Removing Amazon VPC peering connection

AWS doesn't delete Amazon Virtual Private Cloud (Amazon VPC) peering connections when you close one of the accounts participating in the VPC peering connection. Any traffic destined for the VPC peering connection originating from other active accounts is dropped because AWS terminates instances and deletes any security groups in the closed account. To remove the VPC peering connection, delete it from your account using the Amazon VPC console, AWS Command Line Interface (AWS CLI), or Amazon EC2 API. For more information, see Deleting a VPC peering connection

Troubleshooting errors when closing an AWS account

If you receive an error message while trying to close your AWS account, you can contact your account representative or contact AWS Support to open a billing or account support case for assistance. Common reasons why you might not be able to close your AWS account include the following:

  • Your account is the management account of an organization in AWS Organizations with active member accounts. To close the management account, you must first remove all member accounts from the organization.

  • You have unpaid invoices for your account.

  • You are not signed in to the account as the AWS account root user.

  • You are an active AWS Marketplace seller.

Closing your AWS account

You can close your AWS account using the following procedure.

AWS Management Console

To close your AWS account

Minimum permissions

To perform the following steps, you must have at least the following IAM permissions:

  • You must sign in as the AWS account root user, which requires no additional IAM permissions. You can't perform these steps as an IAM user or role.

  1. Sign in as the root user of the account that you want to close, using the email address and password that are associated with the account. If you sign in as an AWS Identity and Access Management (IAM) user or role, you can't close an account.

  2. Open the Billing and Cost Management console at https://console.aws.amazon.com/billing/home#/.

  3. On the navigation bar in the upper-right corner, choose your account name (or alias), and then choose My Account.

  4. On the Account Settings page, scroll to the end of the page to the Close Account section. Read and ensure that you understand the text next to the check boxes. After you close an AWS account, you can no longer use it to access AWS services.

  5. Select the check boxes to accept the terms, and then choose Close Account.

  6. In the confirmation box, choose Close Account.

AWS CLI & SDKs

This task isn't supported in the AWS CLI or by an API operation from one of the AWS SDKs. You can perform this task only by using the AWS Management Console.

Accessing your AWS account after you close it

After you close an AWS account, you can no longer use it to access AWS services. However, for the 90 days after you close your account (known as the Post-Closure Period), you can view the past billing information for your AWS accountand access AWS Support.

During the Post-Closure Period, AWS may retain any content that you didn't delete and any AWS services that you didn't stop before you closed your AWS account. You can access any remaining content or AWS services only by reopening your account during the Post-Closure Period.

You can reopen your AWS account by contacting AWS Support. If you choose to reopen your account, you can access the content that you didn't delete and AWS services that you didn't stop before closing your account, but you might be charged for the cost of running those AWS services during the Post-Closure Period. You can estimate the cost of running AWS services by using the AWS Pricing Calculator in the AWS Pricing Calculator User Guide.

After the Post-Closure Period

After the Post-Closure Period, AWS permanently closes your AWS account, and you can no longer reopen it. Any content that you didn't delete is permanently deleted, and any AWS services that you didn't stop are stopped. Service attributes can be retained as long as needed for billing and administration purposes.

You can't create a new AWS account using the same alias or email address that was registered to your AWS account at the time of its closure.