Allow Users to Delete Their Drupal Accounts

Allow Users to Delete Their Drupal Accounts

It’s good practice to allow users to leave your site completely.

That means users should be able to delete their account entirely, together with all the data associated with it.

In Drupal, you can allow users to delete their accounts. Here’s how the feature works:

  • Go to People > Permissions.
  • Under “User”, check the boxes next to the “Cancel own user account” and “Select method for canceling own account” permissions:

Note that if you are logged in with the main User 1 account, you will not be able to delete your account. You will need to create a test account.

Here’s how get the to the “Cancel account” button:

  • Go to the “My Account” page.
  • Click the “Edit” tab:
  • Scroll to the bottom and find the “Cancel account” button.
  • When you click the button, you’ll find 4 more choices that allow the user to decide what happens to any content they have created on your site:


  • Steve Burge

    Steve is the founder of OSTraining. Originally from the UK, he now lives in Sarasota in the USA. Steve's work straddles the line between teaching and web development.

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
David Corbacho
David Corbacho
8 years ago

Funny fact: This feature was filled as the issue number 8, by the user 8 of [url=][/url]

It was fixed by sun during Drupal 7 development, not long time ago… what ? 6 years ago already! Time flies. :O

8 years ago
Reply to  David Corbacho

Thanks David. What an interesting coincidence.
That conversation goes all the way back to 2001! [url=][/url]

8 years ago
Reply to  steve

Not Works.
I followed your tutorial but the the button “Cancel account” not appears to the user

Would love your thoughts, please comment.x