← All errors · SupabaseSupabase auth errors

Email rate limit exceeded

Exact error

AuthApiError: email rate limit exceeded
status: 429

What it means

Supabase Auth refused to send another email (signup confirmation, magic link, password reset or invite) because a sending limit was hit. With the built-in email service the project-wide limit is currently 2 emails per hour, and it is meant for testing only. A separate per-user limit allows one signup confirmation, password reset or magic link per address every 60 seconds by default.

Likely causes

How to fix it

  1. Set up a custom SMTP provider (for example Resend, Postmark, AWS SES or Brevo) in the Dashboard's Authentication settings (SMTP Settings). The default sender also only delivers to members of your Supabase organization, so real users need custom SMTP anyway (otherwise they get "Email address not authorized").

  2. After custom SMTP is on, Supabase starts you at 30 emails per hour. Raise it to fit your traffic under Authentication → Rate Limits, or with the Management API:

    curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \
      -H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{ "rate_limit_email_sent": 100 }'
  3. In your UI, disable the resend button for 60 seconds after each send, so users do not hit the per-address limit.

  4. Turn on CAPTCHA protection for signups if you see bot traffic. During development, create test users from the Dashboard or turn off "Confirm email" on a dev project only, not in production.

Still stuck after trying this? Get it fixed for $49, or you don't pay.

Prevent this next time

FAQ

What does "Email rate limit exceeded" mean?

Supabase Auth refused to send another email (signup confirmation, magic link, password reset or invite) because a sending limit was hit. With the built-in email service the project-wide limit is currently 2 emails per hour, and it is meant for testing only. A separate per-user limit allows one signup confirmation, password reset or magic link per address every 60 seconds by default.

What usually causes it?

Testing signups, magic links or password resets repeatedly with the default email provider. Launching on the default SMTP service, where 2 emails per hour is the whole project's budget. Clicking "resend" or signing up with the same address again within 60 seconds. Bots signing up fake accounts and burning the email quota.

How do I fix it?

1. Set up a custom SMTP provider (for example Resend, Postmark, AWS SES or Brevo) in the Dashboard's Authentication settings (SMTP Settings). The default sender also only delivers to members of your Supabase organization, so real users need custom SMTP anyway (otherwise they get "Email address not authorized"). 2. After custom SMTP is on, Supabase starts you at 30 emails per hour. Raise it to fit your traffic under Authentication → Rate Limits, or with the Management API: 3. In your UI, disable the resend button for 60 seconds after each send, so users do not hit the per-address limit. 4. Turn on CAPTCHA protection for signups if you see bot traffic. During development, create test users from the Dashboard or turn off "Confirm email" on a dev project only, not in production.

Last checked against official docs on . Sources: Supabase docs: Auth rate limits, Supabase docs: custom SMTP, Supabase docs: Auth error codes.

Related errors

More Supabase errors and fixes →

Tools that help

  • Railway: Deploy backends and databases; new users get $20 credit.

Some links on this page are affiliate links: if you sign up or buy through them, FixStack may earn a commission at no extra cost to you. Learn more.

Get new fixes weekly

No spam. Unsubscribe anytime. Privacy