Steps
How we tested, and what is real
On 30 October 2026 we ran throwaway n8n 2.43.7 instances in Docker (the official
n8nio/n8n:2.43.7image, SQLite, no SMTP configured), set up an owner account, and then tried every way back in: the Forgot my password request, too many wrong logins, theuser-management:resetandmfa:disablecommands, and setting up a new owner afterwards. Every message below is copied from those runs.Quick answer: which situation are you in?
What you see Cause Fix Email sending must be set up in order to request a password reset emailForgot password needs SMTP, and a default self-hosted n8n has none. Set up SMTP, or reset the owner from the command line (below). Wrong username or password. Do you have caps lock on?Wrong email or password. Check the email you used at owner setup; then reset. Too many requests, please try again later.Login rate limit: 5 attempts, then HTTP 429. Wait 60 seconds. Even the right password is refused during that minute. Lost your 2FA phone or codes MFA is on for the account. n8n mfa:disable --email=you@example.comNobody knows the owner login Owner account lost. n8n user-management:reset, then set up a new owner."Email sending must be set up in order to request a password reset email"
Clicking Forgot my password on an instance without SMTP returned HTTP 500 with exactly this message. It was the same answer for an email that exists and one that does not, so the screen does not tell you whether you typed the right address. n8n can only send a reset link when its email settings are configured:
N8N_EMAIL_MODE=smtpplusN8N_SMTP_HOST,N8N_SMTP_PORT,N8N_SMTP_USER,N8N_SMTP_PASSandN8N_SMTP_SENDER, then restart. If you are locked out now and have no SMTP, use the command line reset below instead. SMTP errors themselves are covered in n8n Send Email and SMTP errors."Too many requests, please try again later." on the login page
The login endpoint answered with
X-RateLimit-Limit: 5. The 6th wrong attempt in a row got HTTP 429Too many requests, please try again later.withRetry-After: 60. During that minute the correct password was refused too, which makes people think their password is wrong when it is not. Stop, wait a full minute, then try once, carefully.Reset the owner account from the command line
n8n user-management:resetprintedSuccessfully reset the database to default user state.It worked while n8n was still running. Run it where n8n runs:
Replace the first# Docker docker exec -it n8n n8n user-management:reset # docker compose (service called n8n) docker compose exec n8n n8n user-management:reset # npm install n8n user-management:resetn8nin the Docker command with your container name (docker psshows it). In queue mode run it on the main instance, not a worker. Back up~/.n8n(or/home/node/.n8nin Docker, and your Postgres database if you use one) before you run it.What the reset keeps and what it removes
Right after the reset, the old session cookie got
401 Unauthorized, the old email and password were refused, and the settings the editor loads saidshowSetupOnFirstLoad: true, so opening n8n showed the owner setup form again (also after a restart). We then set up a new owner with a different email, and the workflow we had built before the reset was still there, listed for the new owner. So the reset removes users and logins, not your workflows. We did not test whether saved credentials keep working after the reset, so check them on a copy first if they matter. Trying owner setup again without a reset returns HTTP 400Instance owner already setup, and passwords must meetPassword must be 8 to 64 characters long.Lost two-factor authentication (MFA)
n8n mfa:disable --email=you@example.comprintedSuccessfully disabled MFA for user with email: you@example.com. A typo in the email givesUser with email: x does not exist. This keeps the account, its password and everything it owns, so try it before a full reset. In Docker run it withdocker exec -it n8n n8n mfa:disable --email=....
All test results
Real runs on n8n 2.43.7 in Docker, 30 October 2026.
| Test | Result |
|---|---|
| Forgot password, no SMTP, existing email | 500 Email sending must be set up in order to request a password reset email |
| Forgot password, no SMTP, unknown email | Same 500 message (no hint which emails exist) |
| Wrong password | 401 Wrong username or password. Do you have caps lock on? |
| 6th login attempt within a minute | 429 Too many requests, please try again later. Retry-After 60 |
| Right password during the 429 window | Also 429 |
| n8n user-management:reset (n8n running) | Successfully reset the database to default user state. |
| Old session and old password after reset | 401, owner setup form shown again |
| New owner after reset | Old workflow still listed |
| Owner setup again without reset | 400 Instance owner already setup |
| n8n mfa:disable --email=... | Successfully disabled MFA for user with email: ... |
Checklist
- Got
Too many requests? Wait 60 seconds before trying again. - Lost 2FA only?
n8n mfa:disable --email=..., no reset needed. - Lost the owner login? Back up
~/.n8n, runn8n user-management:reset, set up a new owner, check your workflows and credentials. - Then configure SMTP so Forgot my password works next time.
Good to know
- Locked out after an update or migration? See n8n update and upgrade errors. n8n will not open at all: self-hosted n8n not starting.
- Credentials showing errors after moving servers: n8n credentials could not be decrypted.
- Every error text from our guides: n8n error message index.
What we did not test
n8n Cloud (use the Cloud login page and n8n support), LDAP and SAML single sign-on (there is an n8n ldap:reset command, which asks you to choose exactly one of --userId, --projectId or --deleteWorkflowsAndCredentials), Postgres instead of SQLite, and whether saved credentials still decrypt for the new owner.
Start from a working agent
FAQ
How do I reset my n8n password if I forgot it?
If SMTP is set up, use Forgot my password on the login page. Without SMTP n8n answers "Email sending must be set up in order to request a password reset email", so run n8n user-management:reset (docker exec -it n8n n8n user-management:reset in Docker) and set up a new owner. In our test the workflows were kept.
Does n8n user-management:reset delete my workflows?
Not in our test on n8n 2.43.7: it removed users and logins, and the workflow built before the reset was listed for the new owner. Back up ~/.n8n first anyway, and check your credentials afterwards.
Why does n8n say "Too many requests, please try again later." when I log in?
The login is limited to 5 attempts; the next one gets HTTP 429 with Retry-After 60. Even the right password is refused during that minute, so wait 60 seconds.
How do I disable 2FA in n8n if I lost my phone?
Run n8n mfa:disable --email=you@example.com on the server (docker exec -it n8n ... in Docker). It keeps the account and its password.
Why does n8n show the owner setup screen again?
After n8n user-management:reset the instance has no owner, so the editor shows the setup form. If you set up an owner and try again you get "Instance owner already setup".
Related guides
- n8n Redis node errors and hangs: connection, TLS and Set fixes, 50 tests
- n8n HTTP Request pagination not working: endless loops, duplicates and fixes, 27 runs
- n8n MySQL node errors: Access denied, SSL and SQL fixes, 41 runs
- n8n 429 Too Many Requests: fix rate limits with Retry On Fail, batching or Retry-After
- n8n 413 Request Entity Too Large? Payload limits tested
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes