To stop spam on a forum, block bots at sign-up and slow down new accounts. Add an invisible bot check and email confirmation to your sign-up form. Keep brand-new accounts from posting links until they have made a few good posts. Check sign-ups against a shared spammer list, review new posts once a day, and delete spam in bulk. Also mark links in member posts so search engines give spammers no credit.
No single tactic stops everything. Bots and paid human spammers behave differently, so you need a few layers. The ten tactics below run from least effort to most, and each one says which kind of spam it stops.
Bot spam vs human spam: which one do you have?
Bot spam comes from scripts that sign up and post in bulk, often within seconds. Human spam comes from real people, often paid, who post one at a time and try to look like normal members. Bot checks stop the first kind. Limits on new accounts and a daily review stop the second.
Forum spam is any post made to promote something instead of asking or answering a question. Bot spam is easy to spot. You see many sign-ups in a short time, odd usernames, and posts stuffed with links. The same text often appears in several places at once.
Human spam is quieter. It might be a polite but vague reply with one link at the end. It might be an old post that someone edited weeks later to add a link. It might be a profile with a website link and no useful posts. A bot check does nothing here, because a real person passes it.
Which tactics should you start with?
Start with the low-effort tactics that stop bots, then add the ones that catch people. The table ranks all ten by effort and shows which kind of spam each one stops.
1. Mark member links as user content
Much forum spam is posted to win links that help another site rank in search. Add rel="ugc" or rel="nofollow" to every link in a member's post. Search engines then give the linked site no credit, which takes away the main reason to spam you.
A rel value is a small label in the page code that tells search engines how to treat a link. Google covers this in its guide to qualifying outbound links. The guide says: "We recommend marking user-generated content (UGC) links, such as comments and forum posts, with the ugc value." The same guide says you can drop the label for trusted members who keep posting good content. Many forum tools add the label for you. If you cannot tell whether yours does, ask your vendor.
This tactic will not stop a bot on its own, since most bots never check. It lowers the reward over time and protects your own search standing. Our guide to forum SEO covers the rest of the link question.
2. Add an invisible bot check to sign-up
A bot check is a test on the sign-up form that tells people apart from scripts. Newer checks, such as Cloudflare Turnstile, run in the background, so most real people never see a puzzle. It is a cheap first defense against scripted sign-ups.
Cloudflare Turnstile can be added to any website without routing your traffic through Cloudflare. Its plans page lists a free plan with up to 20 widgets and no cap on checks. A widget is one bot check that you place on your site. The recommended mode may show a checkbox to visitors that look risky. Everyone else passes without doing anything.
You can add a second, simpler trap called a honeypot. This is a hidden form field that people never see, so they leave it empty. Many bots fill in every field they find. If the hidden field comes back filled, reject the sign-up.
3. Confirm the email before anyone can post
Make every new account prove it owns a real inbox before it can post. Send a link or a short code, and keep the account read-only until it is used. Throwaway addresses still get through, but each one costs a spammer time.
Read-only means the account can browse but cannot post, reply or vote. Many forum tools have this as a setting called email confirmation. Turn it on before you announce the forum.
Some tools go one step further and drop passwords. Forumcat's support forum has no passwords at all. Customers sign in with an emailed link, a 6-digit code, or Google if the company turns it on. That rules out credential stuffing. Credential stuffing is when attackers try passwords leaked from other sites to break into accounts, then use those accounts to post spam. It does not stop a real person with a real inbox from signing up to spam. You still need the tactics below.
4. Check sign-ups against a shared spammer list
A shared blocklist is a database of IP addresses, emails and usernames that other sites have already caught spamming. Check each new sign-up against it, and block or hold the matches. Stop Forum Spam is the best-known list built for forums.
An IP address is the number that identifies the network a visitor connects from. Stop Forum Spam lets your forum look up a new account before it posts. Its site lists no price. Its terms limit how many lookups you can make each day and set rules on commercial use, so read them before you connect it.
Hold matches for review rather than blocking them outright. Offices, schools and mobile networks share IP addresses, so a real customer can land on a list by accident. A hold only makes a real customer wait a little. A block may turn them away for good.
5. Run new posts through a spam filter
A spam filter reads each new post and scores how likely it is to be spam. Akismet is one well-known service. Send high-scoring posts to a review queue instead of deleting them, because filters sometimes flag real customers.
Akismet's pricing page lists a pay-what-you-can Personal plan for personal sites. Commercial sites need a paid plan, priced by how many spam checks you run each month. A company's customer forum is a commercial site, so plan for a paid tier.
A filter catches what slips past the sign-up checks. That includes human spam that reads like a normal reply. Check the queue each day so a real customer never waits long.
6. Limit what new accounts can do
Give brand-new accounts a short probation, which is a trial period with tighter rules. For their first few posts, block links, cap how often they can post, and hold the first post for review. Lift the limits once a member has posted a few good answers. These limits slow down human spammers, who pass bot checks like anyone else.
A simple first-day rule set looks like this. New accounts can post three times a day. They cannot add links or images. Their first post waits for a moderator. After three approved posts, all limits lift.
Forumcat caps how many questions and replies any one public account can post, on every plan. The caps are a backstop against a runaway or hijacked account, set high enough that real customers do not reach them. Forumcat has no review queue for first posts, so pair the caps with the daily pass in tactic 9.
7. Set clear link and image rules
Write down which links and images are allowed, where, and from whom. A simple rule set works well. Links to your own docs are always fine. Outside links need a clear reason. New members cannot add links to their profile. Pin the rules where everyone sees them.
Images need their own rule, because spam text inside a picture slips past text filters. Allow images only after a member's first few posts. Also limit how long members can edit a post. Human spammers often post something harmless, wait for it to be approved, then edit in a link.
Our community guidelines template has a self-promotion rule you can copy. A pinned welcome post is a good home for the short version.
8. Let members report spam
Give members an easy way to flag a post, and act on flags quickly. Your regular members often see new posts before you do. A report button turns them into extra eyes at no cost.
Some forum tools hide a post on their own after a few flags, until a moderator checks it. If yours does, set the number high enough that one angry member cannot hide a fair post. Thank members who report spam, even with a short reply. People keep reporting when they see it works.
9. Do a ten-minute review pass every day
Once a day, look at new sign-ups, new posts from new accounts, and anything flagged or held. Ten minutes is enough for most small forums. Spam that stays up for days tells real customers that nobody is watching.
Use the same short list each time:
- New accounts with many posts in their first day.
- Posts from new accounts that contain links.
- Old posts that were edited recently.
- Everything in the held or flagged queue.
Pick one person to own the pass each day, so it never falls between people. Our guide to moderating a forum part time shows how to fit this around other work.
10. Clean up in bulk, then close the account
When a spammer gets through, remove everything they posted at once, then block the account so it cannot post again. Report the account to your blocklist service if it accepts reports. Deleting one post at a time leaves pieces behind.
First, check that the account really is a spammer. A real customer with a clumsy first post deserves a reply, not a ban. Then search for every post from that account, and from any account that posted the same text.
In Forumcat, staff select the questions on the dashboard's Questions page and delete them in one step. They type a confirmation word once for the whole batch. The delete is permanent, so the confirmation makes you pause first. Staff can also delete any single reply from the question page.

What should you avoid when fighting forum spam?
Avoid fixes that hurt real customers more than spammers. Closing sign-ups, adding a hard puzzle to every post, and blocking whole countries all push away the people you built the forum for. Layer the lighter tactics instead.
- Do not close sign-ups for good. A pause for a day during a spam wave is fine. A closed forum stops being useful.
- Do not put a puzzle on every post. Check once at sign-up, then trust the account until it gives you a reason not to.
- Do not block whole countries or IP ranges. Real customers share networks with spammers, and you will not see who you turned away.
- Do not rely on one tool. Each tactic misses something, and spammers adapt to any single check.
- Do not reply to spam. Delete it. A reply only keeps it on the page longer.
- Do not delete a real customer's post in silence. If a filter caught a real person, tell them what happened and how to post again.
Your next step
Today, turn on the first three tactics in the table: mark member links, add an invisible bot check, and confirm emails. Then put a ten-minute daily review on one person's calendar. Add limits for new accounts as soon as you see the first human spammer.
Keep reading: how to moderate a forum part time, a community guidelines template, and how forum SEO works.