# Delete your account

Deleting your account erases it from Niv's servers and signs you out on every device. The Markdown files on your devices stay.

## Delete it

1. Go to **Settings › Account**. Under **Danger zone**, choose **Delete account…**.
2. Read what goes and what stays. Type your email, then choose **Email me a code**.
3. Enter the six-digit code from the email and choose **Delete account**. Nothing is deleted until you do.

## If a Space needs you first

If you're the only owner of a Space other people use, Niv asks you to delete that Space, or make someone else its owner, before your account can go. See [Members and roles](/p/docs/members-and-roles).

## What goes, and what stays

- **Erased:** Spaces where only you are; your profile, settings, devices and encryption keys.
- **Spaces you leave:** your notes and comments there stay, shown as "Deleted account".
- **Stays:** the Markdown files on this device.
- **Niv Pro** bought on the computer ends at once: with a full refund of your first payment within 14 days of it, and with no refund after that. A subscription from the App Store or Google Play keeps renewing until you cancel it there. See [Niv Pro](/p/docs/niv-pro).

Niv keeps its access records (when you used Niv, from which IP address, and with which app version) for 6 months, as Brazilian law requires. Then they're erased.

This can't be undone.

## Without the app

Write to hey@niv.md from the address you sign in with. The details, and how to delete only some of your data, are at [niv.md/delete-account](https://niv.md/delete-account).

## Only one Space

To delete a Space but keep your account, see [Spaces](/p/docs/spaces).

---

Published with [Niv](https://niv.md/) in the Space Docs.
