Cursor·Fix

Fix: Cursor API Key or Subscription Not Working

Quick Answer

How do I fix "API key issues" in Cursor?

Sign out of Cursor (Cmd+Shift+P > 'Sign Out'), then sign back in. This refreshes your authentication token and subscription status.

Fix signals

What this answers
How to fix api key issues in Cursor.
Fastest move
Sign out and back in
Use this page if
Error: 'Invalid API key'

If this keeps happening

Open the next decision if the same bug class keeps coming back

Use these when the troubleshooting page named the failure, but the higher-leverage move is changing the stack choice, support layer, or production workflow.

Quick Fix Summary

IssueAPI key issues
Fastest fixSign out and back in
Use this page ifError: 'Invalid API key'

Symptoms

  • !Error: 'Invalid API key'
  • !Features limited despite Pro subscription
  • !AI responses stop working mid-session
  • !Rate limit exceeded errors

Step-by-Step Fix

1

Sign out and back in

Cmd+Shift+P > 'Cursor: Sign Out'. Restart Cursor. Sign in again. This refreshes your auth token.

2

Verify your subscription

Go to cursor.com/settings > Billing. Verify your subscription is active and your payment method is valid.

3

Check model access

Not all models are available on all plans. Free users have limited model access. Check which models your plan includes.

4

Clear Cursor credentials

On macOS: delete ~/Library/Application Support/Cursor/credentials.json. On Windows: delete %APPDATA%/Cursor/credentials.json. Then sign in again.

5

Contact support

If nothing works, email support@cursor.sh with your account email and the specific error message.

Frequently Asked Questions

Most common cause: your auth token expired. Sign out and back in to refresh it.

Yes, the free tier includes limited AI completions and chat. Pro features require a $20/mo subscription.

Related