Is it possible to change the admin user in self-hosted n8n after setup?

I would like to know if it’s possible to change the admin user credentials (email, password) in a self-hosted n8n instance after it has already been configured, or if the only way is to reinstall/reset everything from scratch?

Information on your n8n setup

  • n8n version: latest (self-hosted)
  • Database (default: SQLite): Default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm (installed via Node.js on Ubuntu Server
  • Operating system: Ubuntu 22.04

Hi @Joelton_Rocha

You can reset user management using the n8n CLI. This returns user management to its pre-setup state. It removes all user accounts.

Use this if you forget your password, and don’t have SMTP set up to do password resets by email.

n8n user-management:reset
1 Like

Hi @mohamed3nan,

Thank you!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.