Skip to content

All posts

Supabase "email rate limit exceeded": why it happens and the fix

Sign-ups failing with "email rate limit exceeded" (429)? Supabase's built-in email sender allows only a couple of emails an hour. Here is how to fix it for good.

5 min readsupabase, email, rate limit, error fix

Short answer: the error email rate limit exceeded (HTTP 429, code over_email_send_rate_limit) means your project has used up Supabase's built-in email allowance. That built-in sender is meant for testing and, according to Supabase's own testing guide, allows only 2 emails per hour across the whole project while email confirmation is on. The permanent fix is to connect your own email service (custom SMTP) and then raise the limit.

If you are building with Lovable or Bolt, this tends to appear the first time several people sign up in the same hour, usually just after you share the link.

Why it happens

When someone signs up or resets a password, Supabase sends an email. Out of the box it uses a shared sender with a very low cap, because it is not meant for production. The cap is for the project as a whole, not per user. Two people signing up quickly, or you testing a few times, can use it up. After that, every new sign-up returns the 429 error until the hour passes.

Separately, there are shorter limits on re-sending to the same address, often around a minute. A 429 on its own does not tell you which limit you hit.

One reported quirk: failed sign-ups may still count toward the limit. This comes from user reports, not Supabase's documentation, so treat it as a possibility.

Fix 1: connect your own email service

This is the real fix.

  1. Create an account with an email provider such as Resend, Postmark, SendGrid or Mailgun.
  2. Verify your sending domain by adding the DNS records they give you (SPF, DKIM, and usually DMARC).
  3. In Supabase, go to Authentication, then SMTP settings, switch on custom SMTP, and enter the host, port, username, password and sender address from your provider.
  4. Send from an address on your own domain, such as [email protected].

Supabase's guide to custom SMTP lists the steps for several providers. A custom sender also improves where the emails land, since you stop sharing a reputation with other projects.

Fix 2: raise the limit (this is a separate setting)

Changing the sender does not change the number. In the dashboard, open Authentication, then Rate limits, and raise "Emails sent" to something sensible for your traffic. Several guides miss this step, and people think custom SMTP did not work.

Fix 3: avoid burning the limit while you build

  • Use a local inbox in development. With the Supabase CLI, emails go to a local test inbox, which you can open from the address supabase status shows. No real emails, no limit.
  • Turn off email confirmation while developing, then turn it back on before launch. Never leave it off in production, because then anyone can register with anyone else's address.
  • Use a few test accounts and reuse them, instead of signing up fresh each time.

Fix 4: handle the error in your app

Show a helpful message instead of a failed form: "We are sending a lot of emails right now. Please try again in a few minutes." Do not retry in a tight loop, which makes it worse. Wait and back off.

A different error: "Error sending confirmation email"

If you see unexpected_failure or "Error sending confirmation email" instead, the limit is not the problem. After you set up custom SMTP, this usually means the connection details are wrong. Check the host, port, username, password and the encryption setting. Some people find the same credentials work in a test script and fail in Supabase, which points to a port or encryption mismatch.

Check that emails actually arrive

Sending is only half. Once custom SMTP is on, sign up with a fresh Gmail address and a fresh Outlook address, and see whether the message lands in the inbox, in spam, or nowhere. The domain records matter: without SPF and DKIM passing, many messages go to spam.

Ask your AI tool

"Sign-up fails with 'email rate limit exceeded'. Add a friendly error message and a resend button with a 60 second wait, tell me exactly which Supabase auth settings to change for custom SMTP and the email rate limit, and list the DNS records I need to add for my sending domain."

FAQ

What is the Supabase default email limit?

Supabase's testing guide says 2 emails per hour for the whole project while email confirmation is on. Check the current figure in their docs, because limits change.

Does custom SMTP remove the limit?

It removes the built-in sender's cap. Supabase still has its own rate limit setting, which you can raise in the dashboard.

Can I just turn off email confirmation?

For development, yes. In production, leave it on.

Why do my sign-up emails go to spam?

Usually because of the shared sender or missing domain records. Use your own domain and check SPF, DKIM and DMARC.

Losing sign-ups without knowing?

People who hit this error rarely come back, and you never hear from them. Send us a link and we will walk through your sign-up flow as a stranger would.

Can we watch how you use this site?

We use Microsoft Clarity to see where visitors click and scroll, so we can fix confusing pages. It sets cookies and records your visit. Nothing loads unless you say yes.

Read the privacy notice