Websites detect temporary email with domain lists, DNS records and address-level checks, then apply a signup policy. What each check catches, what it misses, and how to handle errors and false positives.
Most sites run a short series of checks on the server when a signup form is submitted. The address is parsed, its domain is compared with a list of known disposable providers, DNS confirms the domain can receive mail, and an address-level check or detection API covers what a static list cannot. The combined result goes to a signup policy that allows the address, blocks it, or asks for a different one.
I work on IronDome, a disposable email detection API, so one of the options below is ours. Every method here also works in a system you build yourself.
What counts as a temporary email address
A temporary or disposable address is an inbox that anyone can open without an account and that is meant to be abandoned after a short time. Temporary mail sites hand out addresses on many rotating domains, and some also offer inboxes on shared providers such as Gmail. People use them to receive one verification code or claim a free trial without sharing a real inbox.
Three other kinds of address look similar at signup but deliver to a real inbox the person keeps:
- A plus alias such as
sam+shop@gmail.com. It reaches the same inbox assam@gmail.com. - A privacy relay such as Apple Hide My Email or Firefox Relay. It forwards to the person's real inbox, and they control it.
- A work or school address on a domain you have not seen before.
Treating all four the same blocks real customers, and it is the most common mistake in signup policies. Plus aliases raise a duplicate-account question, not a disposable one. GATES handles that case by recording one verified owner per mailbox.
The five checks websites use
1. Syntax and normalization
The server parses the address and rejects anything malformed before spending a lookup on it. It also lowercases the domain and trims whitespace so later checks compare like with like. This step catches typos, not temporary inboxes.
2. Disposable domain lists
The server takes the part after the @ sign and looks it up in a list of known disposable domains. A local list is fast, free and works offline. The disposable-email-domains project is the most widely used open source list.
A list is only as current as its last update, and a domain registered this week is not on it yet. Follow the list's own matching rules for subdomains rather than comparing string suffixes. The blocklist vs API comparison covers updates, rollbacks and correction requests in detail.
3. DNS and MX records
A DNS lookup confirms that the domain publishes MX records and can receive mail. A domain with none cannot be a working inbox, so the signup can be rejected as invalid.
Disposable domains have working MX records by design, so this check does not find them on its own. It also does not confirm that a specific mailbox exists.
4. Address-level rules and detection APIs
Domain data cannot tell a temporary Gmail inbox from an ordinary Gmail address, because both reduce to gmail.com. Catching those needs rules for individual addresses, which a detection API can maintain for you. Some providers also track the mail servers that many disposable domains share, which can flag a new domain before public lists add it.
The IronDome check API returns disposable with a reason such as blocked_domain or blocked_email, so you can see whether the domain or the specific address matched. Detect disposable Gmail and Outlook addresses explains the address-level case.
An API adds a network call, a data processor and a cost. You also need to decide what happens when it fails, which the failure section below covers.
5. Confirmation and rate limits
Some sites skip detection and rely on a confirmation link, per-IP and per-device rate limits, and alerts on bursts of new accounts. This does not stop disposable addresses, because a disposable inbox can receive the confirmation email. It limits how much each address can do, and it belongs alongside detection in every design.
Which method should you use
Match the method to what a fake account costs you:
- Low volume and little cost per free user: a maintained open source list.
- A free trial with real marginal cost, such as AI credits: a list plus an API, enforced on the server. See reducing free trial abuse with email checks.
- You need to know the inbox exists: a confirmation link. No domain or address check can tell you this.
- You already use an auth provider: look for a built-in setting or signup hook first. IronDome has guides for Supabase Auth and for any signup handler.
Why detection speed matters at signup
The email check runs inside the signup request, after the person presses the button and before they see the next screen. Every millisecond it takes is added to that wait. Signup is the first real interaction someone has with your product, so a slow check costs you at the moment first impressions form.
Speed matters in three ways:
- The wait is visible. The person watches a spinner while your server waits on the check. A sluggish first step makes the whole product feel slow.
- The slowest responses count most. Averages hide the requests that take several times longer. Look at p95 and p99 latency measured from the region where your signup code runs.
- Slow checks weaken detection. When a response misses your deadline, your fallback decides instead. Failing open lets disposable addresses through, and failing closed blocks real people.
When you choose and integrate a detection API:
- Measure latency from your own servers, not only from a provider's published figures. IronDome publishes its regional measurements on the benchmarks page.
- Reuse one client or connection pool so each check skips DNS, TCP and TLS setup. The performance guide shows how, including warming the connection when the signup page opens.
- Set a short deadline on the request so a slow check can never hang the form.
- Move work that does not decide the signup, such as welcome emails or enrichment, out of the request.
How accurate is temporary email detection
Accuracy depends on how you measure it. Any provider claiming zero false positives or complete coverage is overstating what an email check can know. Two errors matter:
- False negatives: a disposable address gets through, usually from a domain too new to be listed.
- False positives: a real customer is blocked, often a small company domain, a school or a privacy relay.
To compare methods fairly, label a sample of real signup addresses yourself, run every method on the same sample, and count both errors separately. Do not rely on a vendor's own numbers alone, including ours. The IronDome benchmark shows one way to structure that test, and the comparison of detection APIs lists options to include.
What should happen when the check fails or is wrong
Decide both policies before you ship.
When the check is unavailable. Failing open lets signup continue and logs the event, but disposable addresses can pass during an outage. Failing closed asks the user to retry, which stops legitimate signups while the check is down. Most consumer products fail open. Whichever you choose, never treat an HTTP error as a clean result.
When a real user is blocked. Show a message that names the problem and offers a way forward, such as using a different address or contacting support. A silent block looks like a broken form.
Run the check on the server before you create the account or send the verification email, because anyone can skip a check in the browser. The Node.js signup tutorial shows a complete handler with a deadline and a fallback.
What detection does not do
- It does not prove a mailbox exists or can receive mail.
- It does not identify a unique person. One person can own many real addresses.
- It does not replace rate limits, bot protection or email confirmation.
Frequently asked questions
Can a website tell that I used a temporary email?
Usually, yes. A site can tell when the domain is on a known list, when the specific address is known to be temporary, or when the domain shares mail servers with known providers. A brand new domain may pass until lists and providers add it.
Is a plus address a temporary email?
No. name+tag@gmail.com delivers to the same real inbox as name@gmail.com. Some sites normalize these to catch duplicate signups, which is a separate technique from disposable detection.
Are Apple Hide My Email and Firefox Relay temporary email?
No. These relays forward to the person's real inbox, and the person controls them. Many sites choose to allow them.
Is a free blocklist good enough?
For low-risk signups, often yes. If each free account costs you real money, a list that lags behind new domains leaves a gap, and an API may be worth it. The IronDome free plan includes 500 checks a month, enough to test against your own traffic.
Does blocking disposable email stop fake accounts?
It removes the cheapest route. Determined abusers can use real addresses, so pair detection with confirmation emails and rate limits.
How can I check whether an address is disposable?
Paste it into the free disposable email checker, or call the check API from your server. The quickstart covers getting a key and making a first request.
How do websites detect temporary email addresses?
Engineering
Yogesh Pandar