Fix guides · Supabase, Next.js, Lovable, Bolt, Cursor, v0 ·

Fix Supabase Auth "email rate limit exceeded" (429)

email rate limit exceeded (code: over_email_send_rate_limit, HTTP 429)

Supabase Auth returns HTTP 429 over_email_send_rate_limit when your project has sent as many emails this hour as its sender allows. On the built-in sender that cap is 2 emails per hour across the whole project; every sign-up confirmation, magic link, password reset, invitation and email-change notice counts. The same code also covers a per-address 60-second cooldown ("For security purposes, you can only request this after N seconds."), which custom SMTP does not remove. The fix: connect custom SMTP (Resend, SendGrid, etc.) and raise the email limit on the Authentication → Rate Limits page to match your real sign-up rate.

Free · 3 a day · no signup

Common causes – and how to tell which one you have

1. Whole-project hourly cap reached

How to tell: Message is exactly "email rate limit exceeded" (not the per-address variant). Every Auth email to any address counts toward the same hour bucket.

Fix: Connect custom SMTP (Authentication → Emails → SMTP Settings) and raise the email rate limit on Authentication → Rate Limits to your busiest hour plus headroom.

2. Per-address 60-second cooldown

How to tell: Message reads "For security purposes, you can only request this after N seconds." Only one address is affected; waiting ~60 seconds resolves it.

Fix: This cooldown stays even with custom SMTP. Tell the user to wait and retry; show N seconds from the message.

3. Built-in sender is best-effort, not for production

How to tell: You're using Supabase's default email provider and need more than 2 emails/hour or delivery to non-organization addresses.

Fix: Connect custom SMTP via Authentication → Emails → SMTP Settings, then raise the email limit on Authentication → Rate Limits. The built-in sender only delivers to organization members and caps at 2/hour.

How to fix it

  1. Check the error message: "email rate limit exceeded" means the whole-project hourly cap was hit; "For security purposes, you can only request this after N seconds." means a 60-second cooldown on one address.
  2. Open Supabase Dashboard → Authentication → Rate Limits. With the built-in sender, the email limit is fixed at 2 per hour (not shown as a setting). After connecting custom SMTP, you can set the email limit on this page to match your real sign-up rate.
  3. Connect custom SMTP: Authentication → Emails → SMTP Settings, add your provider (Resend is common), verify your sender domain and API key.
  4. After connecting SMTP, open Authentication → Rate Limits and set the email limit on that page to match your busiest hour of sign-ups and resets, with headroom for launch.
  5. Do not set a limit you'll never reach — bots can abuse a password-reset form to send thousands of emails from your domain.
  6. In your app code, catch over_email_send_rate_limit by code, not string: if (error?.code === 'over_email_send_rate_limit') show "Try again shortly." Don't blindly retry POST requests (risk of duplicate sends).
  7. Test: sign up once, wait, confirm no 429; verify emails arrive through your own SMTP.

Using Lovable, Bolt or v0?

In Lovable or Bolt: "Supabase Auth 429 over_email_send_rate_limit. Connect custom SMTP via Authentication → Emails → SMTP Settings, then raise the email limit on Authentication → Rate Limits. Catch error.code === 'over_email_send_rate_limit' and tell the user to try again shortly."

Using Cursor, Claude Code or Windsurf?

Ask Cursor or Claude Code to catch over_email_send_rate_limit by error.code in the signup/reset flow, show a plain-words "try again shortly" message, verify custom SMTP is connected, and confirm the rate limit on the dashboard matches real volume.

The “fix” to avoid

Do not disable Confirm email, suppress the 429, blindly retry signup POSTs (duplicate emails), or put your SMTP API key in frontend code. SMTP credentials belong server-side only. Custom SMTP raises the default cap to 30/hour — it doesn't remove the cap.

Copy-paste fix prompt for your AI coding tool

Paste this into Cursor, Claude Code, Lovable or Bolt:

Supabase Auth returns 429 over_email_send_rate_limit: "email rate limit exceeded". Check whether it's the whole-project hourly cap (2 on built-in sender, 30 default with custom SMTP) or a per-address 60-second cooldown. Connect custom SMTP via Authentication → Emails → SMTP Settings, then raise the email limit on Authentication → Rate Limits to match my real sign-up rate. In code, catch error.code === 'over_email_send_rate_limit' and tell the user to try again shortly; don't blindly retry POSTs.
Your error looks a bit different? Paste your exact error and get a diagnosis tailored to your code — free.

Questions people ask

How many emails does the built-in sender allow?

The built-in email provider is capped at 2 emails per hour across the whole project, including sign-up confirmations, magic links, password resets, invitations and email-change notices. This is a fixed platform limit, not a value you can change on the dashboard.

Does custom SMTP remove the per-address cooldown?

No. The 60-second wait on one address stays even after you connect custom SMTP and raise the hourly limit.

Should I retry on 429?

Catch error.code === 'over_email_send_rate_limit' and tell the user to try again shortly. Don't blindly retry POSTs — that can send duplicate confirmations or resets.

Official documentation

Related errors

Get fixes like this every week