# π Problem logging in Wrong username or password Do you have caps lock on?
Quick solution for n8n login problems - Reset user management without losing workflows or credentials when facing authentication issues in self-hosted n8n instances.
When trying to login to your n8n self-hosted instance, you suddenly get:
- β "Problem logging in. Wrong username or password. Do you have caps lock on?"
- β Unable to sign in to n8n
- β Authentication failed
- β Login page keeps rejecting credentials
- β Credentials work yesterday but not today
# For systemd users
sudo systemctl stop n8n
# For PM2 users
pm2 stop n8n
# For Docker users
docker stop n8n-container
### Step 2: Reset User Management Run the Below Mentioned Command
n8n user-management:reset
### Step 3: Restart n8n
# For systemd
sudo systemctl start n8n
# For PM2
pm2 start n8n
# For Docker
docker start n8n-container
### Step 4: Create New User
Open n8n in browser (usually http://localhost:5678)
Complete setup form:
Enter your email
Create new password
Add your name
Click "Submit"