Blog
Disposable email detection: how it works and when to block
How disposable email detection works, what a domain list can and cannot catch, and when to block, flag or allow throwaway addresses at signup.
Updated 2026-11-23
Disposable email detection compares the domain of an address with a list of domains run by temporary inbox services, matching parent domains too, so a throwaway address can be flagged at signup in milliseconds without contacting a mail server. A list never catches every service, so the flag is a cheap first filter, not a verdict on the person. Whether to block depends on what a throwaway account costs you: block where a signup unlocks something of value, and flag or allow elsewhere.
What counts as a disposable address
Temporary inbox services work in a few different ways, and the differences matter for what happens to the mail you send.
| Type of service | How it works | What happens to your mail |
|---|---|---|
| Public inbox | Any name at the service's domain works, with no signup, and anyone who types the name can read the inbox | Strangers can read it, password reset links included |
| Timed private inbox | The service generates a random address tied to a browser session, and the inbox expires | The confirmation arrives, then the address goes dead |
| Timed forwarding address | A temporary address forwards to the person's real inbox until it expires | Mail flows for a while, then stops, often without a bounce you can act on |
All three share one feature: the address is not meant to last. That is what separates them from the kinds of addresses below, which look unusual but are permanent.
| Kind of address | Example | Disposable? | What it is |
|---|---|---|---|
| Free provider | jane@gmail.com |
No | A permanent consumer mailbox from a free service |
| Subaddress | jane+trial@example.com |
No | A tag after the plus sign that reaches the same inbox (RFC 5233) |
| Role address | support@example.com |
No | A shared mailbox for a function, as listed in RFC 2142 |
| Privacy relay or alias | An alias from a forwarding service | Usually not | It forwards to the person's real inbox, which they keep reading |
| Temporary inbox | jane.doe@mailinator.com |
Yes | An inbox from a public temporary mail service |
Free providers are the most common confusion. Blocking them would block a large share of ordinary consumers. Keep the two flags apart: the email API returns checks.disposable and checks.free_provider as separate fields.
How detection works
A temporary inbox service is defined by its domain, so detection works on the part after the last @.
- Take the domain, in lowercase. Domain names do not depend on case.
- Match it against a list. The email API uses the community-maintained disposable-email-domains list, credited on its data sources page and imported on a schedule.
- Match its parents. If
inbox.throwaway.exampleis not listed, trythrowaway.example. Services add subdomains precisely because sites block the domains they know. - Set the result. A match sets
checks.disposabletotrueand makes the addressriskywith the reasondisposable.
No mail server is contacted, so the check runs in the same milliseconds as a syntax check. That is why fast mode, which skips the SMTP mailbox step, is all you need for this question at signup.
What a list cannot catch
- New domains. A domain registered yesterday is on no list until someone reports it. Services rotate domains for exactly this reason.
- Private throwaway domains. A person can register a domain, route all its mail to one inbox and invent an address per website. It looks exactly like a small business.
- Intent. The flag describes the address. It cannot tell a privacy-minded customer from someone on their fifth free trial.
- Domains that changed hands. A domain once used for temporary inboxes can be sold to a real business, and a listing can outlive the change.
A check you can add on your side
Services that rotate domains often keep the same mail servers. When you find a throwaway domain the list missed, look up its MX records with the MX lookup tool and note the hosts. A new domain whose MX records point to the same hosts is very likely the same service. This is your own heuristic, run on your own data: the API reports list matches only.
Detect disposable addresses with the API
Send the address in fast mode:
curl https://api.qelka.com/v1/email \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "jane.doe@mailinator.com", "mode": "fast"}'
{
"id": "lkp_01M84BQATRBBF6AZ3K2CGMHC10",
"object": "email",
"input": "jane.doe@mailinator.com",
"status": "risky",
"reason": "disposable",
"did_you_mean": null,
"checks": {
"syntax": true,
"mx": true,
"smtp": null,
"catch_all": null,
"disposable": true,
"role": false,
"free_provider": false
},
"domain": { "name": "mailinator.com", "spf": true, "dmarc": true },
"score": 50,
"credits_used": 1,
"cached": false
}
Read checks.disposable rather than status or reason. It answers exactly the question you are asking, and it is always true or false. checks.smtp and checks.catch_all are null because fast mode did not ask the mail server.
In JavaScript, a check that fails open and honors your own allowlist:
const allowlist = new Set(['partner.example'])
export async function isDisposable(email) {
const response = await fetch('https://api.qelka.com/v1/email', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ email, mode: 'fast' }),
signal: AbortSignal.timeout(5000),
}).catch(() => null)
if (!response?.ok) return false
const result = await response.json()
return result.checks.disposable && !allowlist.has(result.domain.name)
}
The function returns false when the API is slow or unreachable, so an outage never blocks signups. The allowlist covers domains your users rely on that a list happens to include, such as a relay you have decided to accept.
A fast check costs 1 credit, the same as a full one. If you already run a full check at signup, read checks.disposable from that result instead of making a second call. With a test key, disposable@example.com comes back flagged, which exercises this branch without spending credits; see test mode.
When to block, flag or allow
Blocking is not always right. Decide by what an extra account costs you.
| Your product | Policy | Why |
|---|---|---|
| Free trial, free credits, coupons, referral rewards | Block | Each throwaway signup takes something of value |
| Community, marketplace, anything with messages between users | Block, or allow with limits until the email is confirmed | Throwaway accounts are a common tool for spam and abuse |
| Newsletter or content download | Allow, or flag | Mail to the address is wasted but harmless |
| Paid product, card required | Allow and flag | The card already shows intent; you still want a working address for receipts |
| Account recovery or security alerts | Block for the recovery address | A public inbox means strangers can read your reset links |
The last row is worth a second look. On a public inbox service, anyone who guesses the name can read the mail. A password reset link sent there is an open door. Even products that welcome throwaway signups should ask for a permanent address before they treat it as a recovery channel.
Word the refusal well
The person in front of the form may not know their address is temporary, or may be testing your product before trusting you with their real inbox. Say what you need and why:
- Good: "Please use a permanent email address. We will send your receipts and password resets there."
- Not good: "Disposable emails are not allowed."
Do not explain how detection works or list the domains you block. The message only needs to tell people what to do next. Log the reason on your side, so support can explain a refusal if someone asks.
Layer it with other signals
The disposable flag is cheap to check and cheap to get around. That makes it a good first filter and a poor last one. Combine it with:
did_you_meanandundeliverable, which catch typos and invented addresses on real domains.- An IP check at the same signup. A throwaway address from a data center network or a Tor exit says more than either signal alone. See VPN detection.
- Rate limits per IP address, per device and per email domain.
- Rewards held until confirmation. Grant trial credits or a coupon after the email, or a phone number, is confirmed rather than at signup.
No one of these signals should decide alone. Several weak ones together, such as a throwaway address, a data center IP and a burst of signups from one network within an hour, make a strong case. Stopping fake signups puts these checks together in one flow.
Check every door, not only the signup form
Throwaway addresses come in through more than one form. If only signup is checked, the others become the way around it.
| Entry point | What happens without a check | What to do |
|---|---|---|
| Signup | A throwaway account opens | Run the fast check when the form is submitted |
| Email change in account settings | Someone signs up with a real address, collects the reward, then switches to a throwaway one | Run the same check before saving the new address |
| Team invitations | One account invites throwaway addresses to unlock per-seat benefits | Check invited addresses before the invitation is sent |
| Newsletter or waitlist forms | Lists fill with addresses that never open | Check, then decide per your newsletter policy |
| Checkout as a guest | Receipts go to an inbox nobody keeps | Ask for a permanent address with a short explanation |
Measure before you block
If you are not sure how many real people use throwaway addresses on your product, find out before you enforce anything. Log the flag on every signup for a few weeks without acting on it. Then compare the flagged accounts with what they did: how many converted to paid, how many were later banned, how many never came back. That tells you whether a block would cost you customers, and it gives you a number from your own traffic to justify the rule.
Re-check the accounts you already have
Lists grow. An address you accepted last year may be flagged today because its domain was reported since. Run your existing user base through a bulk job from time to time, and review flagged accounts before acting: some will be long-standing customers who simply chose privacy, and the right response to them is a request to update their address, not a closed account.
Where to go next
The free disposable email checker checks any address by hand, 10 times a day without an account. Block disposable email signups has the complete Express and Python integration, and the email API reference documents every field. For the other checks that run in the same call, read How to verify an email address.
Frequently asked questions
What is a disposable email address?
How do you detect disposable email addresses?
Should I block disposable emails at signup?
Are Gmail addresses disposable?
Why was a disposable address not detected?
Is an email alias the same as a disposable email?
Does disposable email detection need an SMTP check?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.