Supabase Auth: “email rate limit exceeded”
Last verified: October 18, 2026
AuthApiError: email rate limit exceeded
What it means
Supabase Auth hit its email-sending limit (over_email_send_rate_limit). With the built-in email provider the whole project can send about 2 emails per hour, so a few test sign-ups or password resets use it up. Retrying makes it worse.
How to fix it
- Stop testing sign-ups for a bit. The limit refills over time.
- Set up custom SMTP (Resend, Postmark, SES, etc.) in Authentication settings. Then raise the email limit under Authentication → Rate Limits (it starts at 30/hour with custom SMTP).
- Make sure your app isn't sending emails in a loop, for example a
useEffectthat calls sign-up or resend on every render. - Show users a friendly “Please wait a minute and try again” message for this error code.
If your Lovable project uses Lovable Cloud instead of your own Supabase project, the same database lives under More → Cloud → Database. Its RLS view is read-only, so ask Lovable in chat (Plan mode) to make the policy change.
Stop the loop: paste these into Lovable
1. Diagnose first
Stop editing and don't retry earlier fixes. Supabase returns AuthApiError: email rate limit exceeded. Without changing anything, tell me whether the project uses the built-in email provider or custom SMTP, and search the code for every place that calls signUp, signInWithOtp, resetPasswordForEmail or resend, and whether any of them can run more than once per click (e.g. inside a useEffect). State the cause in one sentence and propose ONE minimal change.
2. Then the one fix
Make one change based on the diagnosis. If a call runs repeatedly, fix only that so it fires once per user action and disable the button while it's pending. If it's the built-in provider limit, tell me where to configure custom SMTP and the email rate limit in the Supabase dashboard (I'll enter the credentials myself). Also handle over_email_send_rate_limit with a clear 'please wait and try again' message. Tell me exactly what changed.
3. Save this rule so it stays fixed
Lovable: Project settings → Knowledge. Cursor: .cursor/rules or .cursorrules. Bolt: Project settings → Knowledge. Replit: replit.md.
Rule: Auth email calls (signUp, OTP/magic link, password reset, resend) run only from an explicit user action, once per click, never in useEffect. Handle over_email_send_rate_limit with a friendly wait message. Production uses custom SMTP.
FAQ
How long do I have to wait?
The built-in limit is about 2 emails per hour for the whole project, so it can take up to an hour. Custom SMTP removes most of the wait.
Can I raise the limit without SMTP?
No. The email limit can only be changed once you use custom SMTP or the Send Email hook.
Sources
Your error is a bit different? Paste it with what you already tried and get a diagnose-first prompt, one fix and a rule for your exact case.
Break the loop — 3 free fixes Still stuck? Get a human fix