Start with “Forgot password” on your instance’s sign-in page, using the email registered there. Password-reset emails require SMTP to be configured in n8n.
If SMTP isn’t configured, your server administrator can configure it and then retry the email reset. Keep the existing database, data folder and encryption key. Before changing the deployment, take a consistent backup of the database and .n8n folder, including any custom encryption key.
The CLI also provides n8n user-management:reset, but this resets user management and removes user accounts. It isn’t a password-only reset, so don’t use it expecting all account settings to remain unchanged.
Which n8n version are you running, how is it installed, and do you have access to the server console? Those details are needed for the exact recovery commands.
n8n’s self-hosted support policy excludes password resets. Your server administrator or hosting provider can help with access to the server.