Cursor·Fix

Fix: Cursor API Key or Subscription Not Working

Quick Answer

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

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

Weekly Signals

Get the next fix, switch, or warning before it hits your build.

Join builders getting the community signals, fix patterns, and tool shifts that matter before they show up everywhere else.

Follow the signals →