This page describes how to delete Cloud SQL instances.
Note the following when you plan to delete an instance:
After you delete an instance, it might continue to appear in your project
with an "unknown" size but with a "Being deleted" status. This is normal and the
instance disappears completely after a brief period of time.
It can take up to four days for the underlying resources related to an instance
to be completely deleted, with the exception of read replicas, which are often
deleted within a few minutes.
The deleted instance name can be reused immediately to create a new instance.
Ifdeletion protectionis enabled on an instance, you must disable it before
deleting the instance.
In case of contingencies, take afinal backupto restore the deleted instance.
Required permissions
By default, only user or service accounts with theCloud SQL Admin(roles/cloudsql.admin)
orOwner(roles/owner) role have the permission to delete a
Cloud SQL instance (cloudsql.instances.delete).
You can also define anIAM custom rolefor the user or service account that includes thecloudsql.instances.deletepermission. This permission issupportedin
IAM custom roles.
Delete an instance
You can delete a Cloud SQL instance by using the Google Cloud console,gcloud CLI, or the API. If you want to retain backups
for your instance prior to deleting, seeManage retained backups.
Console
In the Google Cloud console, go to theCloud SQL Instancespage.
To open theOverviewpage of an instance, click the instance name.
ClickDelete.
In theDelete instancedialog, complete the following actions:
In the text field, enter the instance ID that appears.
If you want to take afinal backupof the instance, leave theTake a final backupcheckbox selected, expand theRetention optionsmenu, and then, in theRetain forfield, enter the number of days to retain the final backup. You can specify from 1 to 365 days.
If you want to delete the instance without taking a final backup, then clear the checkbox.
In theDescribe this backuptext area, you can provide a description of the backup.
If you take afinal backupas part of deleting an instance, then you can use this backup to recover the instance, either by creating an instance from the final backup or by restoring the final backup to an existing instance.
If you use a final backup to recover your instance, then your instance might have a different IP address from the original, deleted instance.
If you delete an instance accidentally without taking a final backup, then you can request to recover the instance by contactingCloud Customer Carewithin 4 days from the time that the instance is deleted. If the instance can be recovered, then the instance configuration, including IP addresses used before the deletion, are restored. All backups available at the time of deletion are also recovered.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,[]]