# How can I prevent users from deleting their accounts?

**URL:** https://meta.discourse.org/t/how-can-i-prevent-users-from-deleting-their-accounts/50644
**Category:** Support
**Created:** [25 בספטמבר,‏ 2016,‏ 7:19pm UTC](https://meta.discourse.org/t/how-can-i-prevent-users-from-deleting-their-accounts/50644 "2016-09-25T19:19:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bek/32/61660_2.png) [@bek](https://meta.discourse.org/u/bek)
#### Post date: [25 בספטמבר,‏ 2016,‏ 7:19pm UTC](https://meta.discourse.org/t/how-can-i-prevent-users-from-deleting-their-accounts/50644/1 "2016-09-25T19:19:40Z")

</div>

Hey.

I noticed that community users (at least in my community) can delete their accounts. I want to prevent them from doing this. But I can’t find proper setting in administration panel. In meta.discourse I couldn’t see that “remove my account” button, so how do you disable it may I ask?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [25 בספטמבר,‏ 2016,‏ 7:21pm UTC](https://meta.discourse.org/t/how-can-i-prevent-users-from-deleting-their-accounts/50644/2 "2016-09-25T19:21:07Z")

</div>

(Self) deleting is only available when your account is 3 days or less old, and you have 1 or less post.

---

<div class="post-metadata">

### Author: ![\_alejandro](https://avatars.discourse-cdn.com/v4/letter/_/958977/32.png) [@\_alejandro](https://meta.discourse.org/u/_alejandro)
#### Post date: [12 באוקטובר,‏ 2019,‏ 4:14am UTC](https://meta.discourse.org/t/how-can-i-prevent-users-from-deleting-their-accounts/50644/3 "2019-10-12T04:14:48Z")

</div>

Can an admin change this settings?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [12 באוקטובר,‏ 2019,‏ 6:40am UTC](https://meta.discourse.org/t/how-can-i-prevent-users-from-deleting-their-accounts/50644/4 "2019-10-12T06:40:47Z")

</div>

You can change the site setting `purge unactivated users grace period days` to prevent the automatic delete, to prevent the self delete you can hide with CSS the Delete button on the user profile page.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [8 ביוני,‏ 2024,‏ 12:37pm UTC](https://meta.discourse.org/t/how-can-i-prevent-users-from-deleting-their-accounts/50644/5 "2024-06-08T12:37:09Z")

</div>

This topic was automatically closed after 2812 days. New replies are no longer allowed.
