How to fix the Redis NOAUTH Authentication required error
This means the Redis instance requires a password but your client connected without one. Supplying the correct credentials resolves it. Jump to your situation below or work through the methods in order.
By Neeraj Singh ~5 min Updated Jun 2026 89% found this helpful
Error message
NOAUTH Authentication required.
Summary
The Redis NOAUTH Authentication required error means the instance is protected with a password (the requirepass setting, or an ACL user) but your client connected without supplying credentials, so Redis refuses commands until you authenticate. The fix is to provide the password: send AUTH password right after connecting, or set the password in your client library's connection configuration so it authenticates automatically. With Redis 6 and later ACLs you may also need a username, using AUTH username password. The password must match what is configured on the server in requirepass or the ACL. Storing the credential securely (an environment variable or secret, not hard-coded) keeps it both working and safe. Once the client authenticates, commands are accepted.
What this error means
When requirepass or an ACL is set, Redis treats every new connection as unauthenticated and rejects commands with NOAUTH until the client proves who it is. It is a security gate, not a fault: the server is doing exactly what it was configured to do.
So the fix is to authenticate. Either issue AUTH after connecting, or, better, configure the password in the client so every connection authenticates automatically. With ACL users you supply a username too. The credential simply has to match the server's configuration.
Common causes
The instance has requirepass or an ACL password set.
The client connected without supplying a password.
The password is missing from the connection config.
An ACL user needs a username as well as a password.
The supplied password does not match the server.
Expert insight
“NOAUTH is just a locked door, Redis has a password and your client knocked without the key. The quick test is AUTH right after you connect, but the real fix is to put the password into the client's connection config so every connection authenticates on its own. On Redis 6 and up with ACLs you also pass a username. And please pull that password from an environment variable or a secret store, not a string baked into the code.”
Manager, Tech Support & Operations · 19+ years fixing Windows and system errors
✓ How to fix it
Method 1
Authenticate with AUTH
1Right after connecting, send the password:
AUTH yourpassword
2For an ACL user, include the username: AUTH username password.
3Then run your commands.
Method 2
Set the password in the client config
1Add the password to your client library's connection settings so it authenticates automatically on every connection.
2Pull it from an environment variable or secret store.
3Reconnect and test.
Method 3
Confirm the password matches the server
1Check the server's requirepass (or ACL) value matches what the client sends.
2View it with CONFIG GET requirepass from an authenticated session.
3Fix any mismatch.
Method 4
Use the right ACL user
1With ACLs, confirm the username exists and has the needed permissions:
ACL WHOAMI
ACL LIST
2Authenticate as a user that is allowed to run your commands.
NOAUTH means the instance needs a password and the client did not send one. Authenticate with AUTH right after connecting, or set the password in the client config so it happens automatically. With ACLs, include the username. Make sure the credential matches the server and is stored securely.
Frequently asked questions
What does the Redis NOAUTH error mean?
It means the instance requires authentication (requirepass or an ACL) but the client connected without a password, so Redis rejects commands until you authenticate.
How do I fix it?
Supply the password with AUTH password right after connecting, or set it in your client's connection config so it authenticates automatically. For ACL users, use AUTH username password.
Where do I put the password in my app?
In your client library's connection configuration, sourced from an environment variable or a secret store rather than hard-coded, so every connection authenticates and the credential stays secure.
Do I need a username?
With Redis 6 and later ACLs, yes, you authenticate as a specific user with AUTH username password. With only requirepass set, the default user is used and a password alone is enough.
How do I check the configured password?
From an authenticated session run CONFIG GET requirepass, or review the ACL with ACL LIST. Confirm the value matches what your client sends.
Is it safe to set a Redis password?
Yes, and recommended. Set requirepass or ACL users, and never expose Redis to the public internet unprotected. Store the credential securely and bind Redis to trusted interfaces.
Still not working?
If the password is correct but NOAUTH persists, you may be hitting a different instance than you think, or a proxy is stripping the AUTH; confirm the host and port and test with redis-cli -a from the app server. You can also submit your error to us for a tailored fix.