# gel database drop

> Warning: This command is deprecated in Gel. Use [gel branch drop](https://docs.geldata.com/reference/using/cli/gel_branch/gel_branch_drop.md#ref-cli-gel-branch-drop) instead.

Drop a [database](https://docs.geldata.com/reference/datamodel/branches.md#ref-datamodel-databases).

```cli-synopsis
gel database drop [<options>] <name>
```

> Note: EdgeDB 5.0 introduced [branches](https://docs.geldata.com/reference/datamodel/branches.md#ref-datamodel-branches) to replace databases. This command works on instances running versions prior to EdgeDB 5.0. If you are running a newer version of Gel, you will instead use [gel branch drop](https://docs.geldata.com/reference/using/cli/gel_branch/gel_branch_drop.md#ref-cli-gel-branch-drop).

## Description

`gel database drop` is a terminal command equivalent to [`drop database`](https://docs.geldata.com/reference/datamodel/branches.md#statement::drop-database).

## Options

The `database drop` command runs in the Gel instance it is connected to. For specifying the connection target see [connection options](https://docs.geldata.com/reference/using/cli/gel_connopts.md#ref-cli-gel-connopts).

`<name>`:
The name of the database to drop.



`--non-interactive`:
Drop the database without asking for confirmation.



