NeverDownPCStart free
NeverDownPC › Help

Claude Code failed to authenticate (401) — when a session stops because the sign-in expired

When a session stops with “Failed to authenticate”, “401” or “OAuth access token has expired”.

Short answerOften only the short-lived key the session was using has expired. Retry, or restart the Claude app, and it gets a new key using the sign-in saved in the app. If that doesn’t work, you were really signed out and need to sign in again on the PC.

Try these in order

At the PC
  1. Wait about 10 minutes. Sometimes it starts working again on its own.
  2. Send that session “Please continue from where you stopped.”
  3. If nothing changes, restart the Claude app. Your session history stays.
  4. If it still doesn’t work, you were really signed out. Sign in to the Claude app again on the PC, then ask it to continue.
Not at the PC? — NeverDownPC

If you pick it in auto-rescue, it asks that session to continue after 10 minutes (up to 2 times a day).

When a session stops because the sign-in expired, it waits 10 minutes and then alerts your phone. From your phone, it tries “Retry” and then “Restart Claude app”, and if you were really signed out, it tells you to sign in on the PC.

Start free

Why the sign-in expires

  1. The short-lived key expiredA session works with a key that lasts a few hours, and gets a new one using the sign-in the app has saved. If it can’t swap keys during a long-running task, it stops. Sometimes it starts working again on its own after a few minutes.
  2. You were really signed outIf you changed your password or used “Log out of all devices”, the saved sign-in is gone too.

Signing in again has to be done by the account owner on the PC. You can’t do it from your phone instead.

RelatedClaude desktop app not opening (Windows) ›Claude usage limit reached ›

Sources: Claude Code public reports, Claude logs observed by NeverDownPC on Windows PCs · As of November 2026