How to Get Off the Spamhaus Blacklist

Spamhaus is the blocklist that matters most — its data sits in front of the majority of the world's mailboxes. This guide covers every Spamhaus list (ZEN, SBL, CSS, XBL, PBL, DBL): how to read the return code, find the exact listing, fix the cause, file the removal request, and how long each one takes.

Updated on 7 September 2026 · expanded with return-code table, bounce decoder, per-list walkthroughs and Workspace/M365 sender section

First: confirm the listing and see every other list you're on.

Short answer: go to check.spamhaus.org, enter the IP or domain from your bounce message, and note which list is named. PBL, XBL and CSS listings are self-service once the cause is fixed. SBL and DBL listings need a short, specific written appeal. Every removal is free, and most clear within 24–72 hours. The rest of this page is the detail that decides whether you stay delisted.

Step 1 — Identify which Spamhaus list you're actually on

"Spamhaus" is a family of lists, and the removal path is different for each. Most mail servers query ZEN, a combined zone; a ZEN hit means you are on at least one of the lists below. The DNS return code tells you which.

Return codeListWhat it meansRemoval path
127.0.0.2SBLVerified spam source, manually listed by Spamhaus investigatorsFix cause, then written appeal
127.0.0.3SBL CSSAutomated listing for low-reputation or "snowshoe" sending patterns (typical for cold-email infrastructure)Fix cause, self-service removal; auto-expires when spam stops
127.0.0.4 – 127.0.0.7XBL (incl. CBL data)Compromised machine: malware, open proxy, botnet traffic seen from this IPClean the host, then self-service removal
127.0.0.10 – 127.0.0.11PBLPolicy list: this IP range should not send mail directly (residential, dynamic, or ISP-declared)Self-service removal for static IPs with a real mail server; otherwise relay via your provider
127.0.1.x (queried via dbl.spamhaus.org)DBLYour domain is listed — as a spam, phishing, malware or "abused legitimate" domain — regardless of which IP sent the mailFix cause, then written appeal via the DBL removal form
127.255.255.252 / .254 / .255Error, not a listingYour query was refused: typo in the zone, no DQS key, or you are querying through a public resolver Spamhaus blocksQuery from your own resolver or use a checker like the one above

Two practical notes. First, the IP in a bounce is the connecting IP — if you send through an email service provider (ESP) or a mailbox provider, that is their IP, not yours, and only your domain is under your control. Second, most "I'm on Spamhaus" reports from cold-email teams turn out to be DBL domain listings, not IP listings. Check both.

Decode the bounce message you received

You rarely learn about a listing from Spamhaus. You learn from a bounce. These are the common shapes, and which list they point to:

Bounce text (abridged)Where it comes fromListing to check
554 5.7.1 Service unavailable; Client host [1.2.3.4] blocked using zen.spamhaus.orgPostfix / Exim receivers (most corporate mail servers)IP on ZEN — look up the IP for the exact list
550 5.7.1 ... blocked using dbl.spamhaus.org or Sender domain listed in DBLReceivers doing URI/domain checksDomain on DBL — the domain in your From header or in a link in the body
550 5.7.1 [S3150] ... blocked because it is listed on SpamhausMicrosoft 365 / Outlook.comIP on ZEN; if you send via Microsoft, your domain on DBL
421 4.7.0 ... temporarily deferred; listed in SpamhausReceivers that soft-fail on listingsSame lookup; mail is queued, so you have hours, not minutes
550 5.7.1 Our system has detected that this message is likely suspiciousGmailNot a Spamhaus bounce — Gmail uses its own reputation. See Gmail 550 5.7.1

Step 2 — Fix the root cause first

Requesting removal without fixing the cause is the fastest way to get re-listed with a longer duration. Spamhaus tracks repeat listings, and appeals from IPs or domains with a history are read with less patience. For outbound and SDR teams the causes are consistent:

Diagnose with evidence, not guesses. Your ESP's bounce log shows the first rejection timestamp; compare it with the campaign that launched just before. Spamhaus's lookup page often shows the listing date and a one-line reason, which usually names the pattern (for example "spam-emitting domain seen in unsolicited mail") without naming the recipient.

Step 3 — Request delisting, list by list

Everything below happens at check.spamhaus.org, Spamhaus's Blocklist Removal Center. There is no phone line and no paid fast lane.

PBL (policy list) — self-service, minutes

  1. Look up the IP. The result will say the range is on the PBL and whether it was placed there by the ISP or by Spamhaus.
  2. If you run a real mail server on a static IP with reverse DNS that matches your HELO name, click the removal link, enter a contact email, and confirm the code that arrives. The removal is immediate.
  3. If the IP is dynamic or residential, don't request removal — it will be re-added. Relay outbound mail through your ISP, ESP or a transactional provider instead.

XBL (compromised host) — clean first, then self-service

  1. The lookup shows the detection type: spam-bot traffic, an open proxy, or malware beaconing. Read it; it tells you what to look for on the host.
  2. Clean the machine, close the open port or proxy, rotate the leaked credential, and confirm the outbound traffic has stopped for several hours.
  3. Return to the lookup page and use the self-removal link. XBL removal is immediate — but if the traffic resumes, the IP is re-listed within hours and the next removal is harder.

SBL CSS — the cold-email listing

  1. Look up the IP. A CSS entry says so explicitly and shows when it was added. CSS listings are automated and auto-expire once the pattern stops — but "stops" is measured in days of clean behaviour, not hours.
  2. Stop the campaign that triggered it. Do not simply move it to another IP or domain on the same infrastructure; that is exactly the pattern CSS was built to follow.
  3. Fix the underlying issue: verify the list, slow the ramp, get authentication passing, stop rotating dozens of lookalike domains through one server.
  4. Use the removal link. First CSS removals are usually self-service and quick. Repeated listings require a written explanation and clear for progressively longer periods. See why CSS listings come back.

SBL — the manual listing

  1. The lookup shows an SBL reference number and a short description of the evidence. Read the description carefully; the appeal must address it directly.
  2. Write the appeal in the form on the lookup page. Say what happened, what you changed, and how you will prevent recurrence. Two or three specific sentences beat a page of boilerplate. Don't argue that the recipients "opted in" unless you can say how and when.
  3. Spamhaus typically replies within 24–72 hours. If they ask a follow-up question, answer it the same day.

DBL — the domain listing

  1. Look up the domain, not the IP. The result names the category (spam, phish, malware, botnet C&C, or "abused legitimate").
  2. "Abused legitimate" means Spamhaus believes the domain is real but is being used in spam — typically a hacked website, an open redirect, or a tracking domain used by a spammer on the same ESP. Fix or close the abused resource first.
  3. Submit the DBL removal request from the lookup page with a specific explanation. Domain removals are reviewed by people and usually resolve within 24–72 hours.
  4. After removal, check every other domain in your mail stream (tracking, unsubscribe, landing pages); DBL listings cluster.

Google Workspace and Microsoft 365 senders: it's the domain, not the IP

If you send through Google Workspace or Microsoft 365 — which describes most SDR teams — you do not control the sending IP, and Google's and Microsoft's outbound IPs are almost never on Spamhaus. When a Workspace or M365 sender hits a Spamhaus bounce, the listing is nearly always the domain on the DBL: either your primary domain, one of your secondary "outreach" domains, or a link domain in the body. Look up the domain, follow the DBL process, and pause every mailbox on that domain until it clears. Continuing to send from a DBL-listed domain through Workspace also erodes your Google reputation, which is a separate, slower problem to fix (see Postmaster Tools reputation).

How long does Spamhaus removal take?

ListRemoval typeTypical time to clearIf it comes back
PBLSelf-service with email confirmationMinutesRange re-declared by the ISP — relay instead
XBLSelf-service after cleanupImmediateHost still infected; re-listed within hours
SBL CSSSelf-service; auto-expiryHours to 48h after spam stopsEach re-listing lasts longer; written explanation required
SBLWritten appeal, human review24–72hFurther appeals need new evidence of change
DBLWritten appeal, human review24–72hCheck linked/tracking domains; fix the abused resource

Receivers don't all refresh at the same moment. After Spamhaus confirms removal, allow several hours for DNS caches at corporate gateways to expire before judging whether bounces have stopped.

If your appeal is rejected

A rejection is almost always one of three things: the cause is still visible (spam still arriving in traps), the explanation didn't address the evidence Spamhaus cited, or the IP or domain has a history that a first appeal can't offset. Don't resubmit the same text. Wait until the sending has genuinely stopped for at least 48 hours, gather what changed (list source removed, credential rotated, volume plan), and write a fresh, shorter appeal that references those facts. If you are on a shared IP that a neighbour burned, ask your ESP to move you to a different pool — the appeal for that IP is theirs to make, not yours.

Preventing the next listing

FAQ

Does Spamhaus charge for delisting?

No. Spamhaus never charges for removal. Anyone offering paid Spamhaus delisting is filling in the same free form on your behalf, or is a scam.

Can I query Spamhaus myself?

Yes, but from your own resolver. Queries through large public resolvers (Google DNS, Cloudflare, OpenDNS) return error codes in the 127.255.255.x range rather than answers. High-volume users need a free Data Query Service (DQS) key.

My ESP says the listed IP is "theirs" — what can I do?

Ask them to move you to a different IP pool and to handle the appeal. Meanwhile, confirm your own domains are clean on the DBL so that a pool move actually fixes your deliverability.

Will a Spamhaus listing affect Gmail deliverability?

Indirectly. Gmail relies primarily on its own reputation signals, but the same behaviour that causes a Spamhaus listing usually damages Gmail reputation in parallel. Fix the cause and both recover; fix only the listing and Gmail stays cold.

Listed right now? Get one email when it clears.

We re-check every few hours and send exactly one email when your domain comes back clean — no account, no newsletter.

Get alerted the day a blacklist hits — not the quarter after

Aurelius checks your sending domains against Spamhaus ZEN & DBL plus 8 more lists on every sweep, with email and Slack alerts. Free for 2 domains.

Start monitoring free