Fix guides

Supabase "email rate limit exceeded": sign-up, magic link, and password reset emails stop sending

New users never get their confirmation email, password resets fail, and Supabase Auth returns 429 "email rate limit exceeded" or "Email address not authorized". The built-in email sender is for testing only. How to connect real SMTP in about 15 minutes and raise the limit safely.

Free · no card

Paste your error. Get a free diagnosis by email.

Tell us what broke and we’ll email you a short diagnosis: the likely cause and what to try first. Usually within a day.

No passwords or secret keys, please. We only use your email to reply about this.

What you are seeing

Why it happens

  1. Every Supabase project starts on a built-in SMTP server that Supabase says is not meant for production. Its documented limit is currently 2 emails per hour for the whole project, and it can change without notice.
  2. Without custom SMTP, Supabase Auth only delivers to email addresses that are members of your Supabase organization's team. Everyone else gets Email address not authorized.
  3. Separate per-user limits apply on top: by default the same user must wait 60 seconds between sign-up confirmation, OTP/magic link, and password reset requests.
  4. After you add custom SMTP, Supabase starts you at 30 emails per hour to protect your new sender's reputation. You have to raise it yourself under Authentication > Rate Limits, which many people miss.
  5. App bugs can burn the budget: a React useEffect that calls signInWithOtp or resend on every render, or a resend button with no cooldown.

How to fix it

1. Confirm which limit you hit

// log the real error instead of always showing "check your email"
const { error } = await supabase.auth.signUp({ email, password })
if (error) console.error(error.status, error.code, error.message)

// 429 over_email_send_rate_limit      -> project email budget (this guide)
// email_address_not_authorized        -> no custom SMTP yet (this guide)
// 'only request this after N seconds' -> per-user cooldown, wait or add a timer
// 429 over_request_rate_limit         -> too many requests from one IP

2. Set up a sending provider and verify your domain

Pick any SMTP provider Supabase lists (Resend, AWS SES, Postmark, SendGrid, ZeptoMail, Brevo), create an account, and verify the domain you will send from by adding the DNS records it gives you (SPF and DKIM; add DMARC too). Use an address like [email protected], not a Gmail address.

3. Turn on custom SMTP in Supabase

Dashboard > Authentication > SMTP Settings (supabase.com/dashboard/project/_/auth/smtp) > enable custom SMTP

# Resend example (from Resend's Supabase guide)
Sender email:  [email protected]
Sender name:   Your App
Host:          smtp.resend.com
Port:          465
Username:      resend
Password:      re_...   (a Resend API key; keep it out of your repo)

# Save, then send yourself a password reset to test

4. Raise the email rate limit to fit real traffic

Authentication > Rate Limits > Rate limit for sending emails. Custom SMTP starts at 30 per hour. Set it to what your launch actually needs and what your provider's plan allows, not an unlimited number, since bots signing up with real people's addresses can wreck your sender reputation.

5. Protect the sign-up form from bots

Turn on CAPTCHA (Dashboard > Authentication > Bot and Abuse Protection > Enable CAPTCHA protection; hCaptcha or Cloudflare Turnstile) and pass the token from your form. Supabase calls CAPTCHA the most effective defense against bot sign-ups that burn your email budget. Do not switch off email confirmation to get around the limit.

6. Fix the code paths that send too many emails

// add a cooldown to resend buttons and never send from a render loop
const [cooldown, setCooldown] = useState(0)
async function resend() {
  if (cooldown > 0) return
  const { error } = await supabase.auth.resend({ type: 'signup', email })
  if (error) return setMsg(error.message)
  setCooldown(60)
  const t = setInterval(() => setCooldown((s) => (s <= 1 ? (clearInterval(t), 0) : s - 1)), 1000)
}

How to know it is fixed

A brand-new address outside your team receives the confirmation email within a minute, from your own domain, and lands in the inbox (not spam). Your provider's dashboard shows the message as delivered. Several sign-ups in a row no longer return 429, and the app shows the real error text if one does. Sources: Supabase: Send emails with custom SMTP, Supabase: Auth rate limits, Supabase: Auth error codes, Supabase: Enable CAPTCHA protection, and Resend: Send emails using Supabase with SMTP. Related: Supabase login redirects to localhost.