Skip to main content
Sign out from your ollama.com account and revoke local authentication credentials.

Syntax

ollama signout

How it works

The signout command:
  1. Revokes the authentication token on ollama.com
  2. Removes locally stored credentials
  3. Prevents access to cloud models until you sign in again

What happens after signing out

After signing out:
  • ❌ You cannot access cloud models (e.g., deepseek-r1:671b)
  • ❌ You cannot push models to ollama.com
  • ✅ You can still use locally available models
  • ✅ You can still pull public models from the library

Examples

Sign out from current account

ollama signout
Output:
Signed out from ollama.com

Sign out and sign in with different account

ollama signout
ollama signin
This is useful if you want to switch between multiple Ollama accounts.

Authentication removal

Credentials are removed from:
  • macOS: Keychain
  • Linux: ~/.ollama/
  • Windows: Credential Manager

When to use signout

Switching accounts

Sign out to switch between different ollama.com accounts

Shared device

Sign out when done on a shared or public computer

Revoking access

Sign out to revoke authentication for security

Troubleshooting

Sign out and back in to fix authentication issues

Troubleshooting

If you’re not signed in, the command will inform you that there’s no active session to sign out from.
If the Ollama server is not running, you may need to start it first with ollama serve before signing out.
This is expected behavior. After signing out, you won’t have access to cloud models until you sign in again with ollama signin.

Exit codes

  • 0 - Successfully signed out
  • 1 - Sign-out failed (server error or not signed in)

Notes

Signing out only affects authentication with ollama.com. Your locally stored models remain unchanged.
Running cloud models (e.g., models with large parameter counts hosted remotely) requires authentication. Sign out only if you don’t need cloud access.

ollama signin

Sign in to ollama.com

ollama push

Push models (requires authentication)

Ollama Cloud

Learn about cloud models