AWS lets you close your account, but the process has timing rules and leaves behind some data you should know about
To close an AWS account, you sign into the AWS Management Console, go to Account Settings, and select the option to close the account. AWS will ask you to confirm your choice and may require you to delete or transfer certain resources first — like databases, storage buckets, or running instances — because they want to make sure you are not accidentally deleting something you need. The actual closure takes a few minutes, but some charges and records stick around afterward.
Before you start, understand what closing means: your account stops incurring new charges, but AWS keeps billing records for tax and legal reasons, and some data (like CloudTrail logs if you set them up) may remain in your account for a period even after closure. If you think you might need AWS again later, you can also just stop using it and let the account sit inactive instead.
Key Takeaways
- You must delete or stop all running resources — instances, databases, storage buckets, load balancers — before AWS will let you close the account.
- AWS keeps your billing history and account records for seven years after closure for tax and legal compliance, even though you cannot access the account.
- If you have a linked consolidated billing account (multiple AWS accounts under one parent), you cannot close the parent account until all linked accounts are closed first.
- Closing is permanent and immediate for your account access, but some services like CloudTrail may retain logs for 90 days after closure depending on your settings.
- If you only want to stop charges without losing the account, you can delete resources and let the account sit inactive instead of closing it.
What you need to do before closing
AWS will not let you close an account that still has active resources. Before you start the closure process, you need to go through each service you used and delete or stop what is running. This includes EC2 instances (the virtual servers), RDS databases, S3 buckets (storage), Elastic Load Balancers, and anything else that costs money or holds data.
The fastest way to see what you have is to open the AWS Management Console and look at the Billing Dashboard under "Cost Explorer" or "Bills". This shows you which services charged you money in the past month. Then go to each service and delete the resources. For S3 buckets, you have to empty them (delete all files inside) before you can delete the bucket itself — AWS will not let you delete a bucket that still contains data. For RDS databases, you can choose whether to take a final snapshot before deletion, which is useful if you might need the data later.
If you have IAM users (other people with access to your account), you should delete them or transfer their permissions to a different account first. You also cannot close the account while you are logged in as an IAM user — you have to use the root account (the email address you signed up with).
The actual steps to close your account
Once everything is deleted, sign into the AWS Management Console using your root account email and password. Click on your account name in the top right corner and select "Account" from the dropdown menu. Scroll down to find "Close AWS Account" near the bottom of the page.
AWS will show you a confirmation screen that lists any remaining charges or resources. Read this carefully — if it shows resources you thought you deleted, go back and delete them. Once you confirm, AWS will ask you to type a confirmation phrase (usually something like "close" or your account number) to make sure you really mean it. After you confirm, the account closes immediately and you lose access to the console.
You will receive a confirmation email at the address associated with your root account. Keep this email for your records, because it includes the closure date and your final bill amount.
What happens to your data and billing after closure
Your account access stops right away, but AWS does not delete everything immediately. Billing records stay in AWS systems for seven years — this is a legal requirement for tax purposes. You cannot view these records through the console after closure, but AWS keeps them and can provide them if you request them or if there is a legal dispute.
Some services retain data longer than others. If you set up CloudTrail (which logs API calls for security), those logs may stay in your account for up to 90 days after closure, depending on your retention settings. If you have S3 buckets with versioning enabled, old versions of files may also linger briefly. If you need to preserve any of this data, download or export it before you close the account.
Any charges that were pending when you closed the account will still appear on your final bill. AWS will charge your payment method on file one last time for any outstanding balance. If you have a credit balance (money you prepaid), AWS may refund it, but this can take 30 to 60 days and depends on your payment method and region.
Consolidated billing accounts and linked accounts
If you use AWS Organizations or consolidated billing, where you have one parent account that manages multiple child accounts, the closure process is different. You cannot close the parent account until all child accounts are closed first. Each child account must be closed individually, and then you can close the parent.
If you are a child account trying to close, you may need permission from the parent account owner. Check with whoever manages your organization before you start the closure process, because some organizations have policies that prevent account closure without approval.
Why you might want to keep the account inactive instead
Closing is permanent and cannot be undone. If there is any chance you might use AWS again — even in a year or two — consider just deleting all your resources and leaving the account open instead. An inactive account with no resources costs nothing, and you can always start using it again by creating new resources.
This also keeps your account history and any custom configurations you set up. If you close and then need AWS again later, you would have to create a brand new account from scratch, and you would lose access to any old billing records or settings you saved.
Frequently Asked Questions
Can I reopen my account after I close it?
No. Account closure is permanent. You cannot reopen a closed account. If you need AWS again, you have to create a new account with a different email address. This is why many people choose to delete resources and leave the account inactive instead.
What if I close my account but still have charges on my credit card?
AWS will charge your payment method one final time for any outstanding balance after closure. If you see unexpected charges weeks later, contact AWS Support through the Billing section — they can review your account history even after closure and may issue a refund if there was an error.
Do I have to delete my S3 buckets, or can I just leave them?
You must delete them. AWS will not let you close an account that still has S3 buckets, even if they are empty. You have to empty the bucket first (delete all files), then delete the bucket itself. This is a safety measure to prevent accidental data loss.
What happens to my AWS support plan when I close?
Your support plan ends immediately when the account closes. If you have an active support contract (like AWS Business or Enterprise Support), you will not be charged for future months, but you lose access to support right away. You will receive a final bill for any partial month of support used.
Can someone else take over my AWS account instead of closing it?
Not directly. AWS accounts are tied to the email address and payment method of the account owner. To transfer ownership, you would need to contact AWS Support and go through their account transfer process, which is complex and not always possible depending on your account type and region. It is usually easier to close the account and have the new owner create their own.