Cloaking in SEO: how Google detects it and the penalty
Cloaking SEO means showing Googlebot one page and users another. Here is how Google spots it, what the penalty looks like and how to recover.
Key takeaways
- Google's spam policies define cloaking as showing users and search engines different content to manipulate rankings.
- Detection mixes automated systems, human review and public spam reports. Google does not publish the exact method.
- Penalties range from lower rankings to removal from results, and Search Console shows manual actions.
- Hacked sites often cloak casino spam without the owner knowing, so affiliates should monitor what Googlebot sees.
The short answer
Cloaking SEO means showing search engines one version of a page and visitors another. Google's spam policies define it as presenting different content to users and search engines to manipulate rankings. Google says it enforces its policies with automated systems and human review. The result can be lower rankings or removal from results. The fix is to make both audiences see the same page, then ask for a review.
What is cloaking in SEO and what counts as cloaking?
Google's spam policies (Google Search Central, page last updated May 15, 2026, according to PPC Land) describe cloaking as a deliberate attempt to mislead. Intent matters. A page that differs by accident is a different problem from one built to deceive.
BrightEdge lists the two classic methods. The server reads the crawler's user agent string, or it checks the requesting IP address against known crawler ranges. SiteGuru adds two more: HTTP referer checks and Accept-Language header checks.
Not every difference is cloaking. The table compares what the sources say.
| Practice | How sources treat it | Source |
|---|---|---|
| Different HTML for Googlebot's user agent or IP | Cloaking | BrightEdge |
| Paywall where Google sees the full gated content | Not cloaking | Google Search Central |
| Pre-rendered JavaScript with similar content | Generally not cloaking | Wildcat Digital, citing Google |
| Content that varies by country or language | Policy does not mention location or language | Wildcat Digital |
| Hacked site hiding injected spam from the owner | Cloaking, and a known hacker tactic | Google Search Central |
Wildcat Digital adds that the bigger risk with multi-market sites is Google seeing only one version of your content. That is an indexing problem, not necessarily a penalty.
Why does cloaking show up so often in iGaming?
Two reasons: pressure to rank, and hackers.
Google's spam policies say hackers use cloaking to make a hack harder for the owner to spot. Sucuri documented a January 2026 case where malware served the real site to people but swapped in gambling ads for search bots. Cryptika, summarising Sucuri research, calls online casino spam the most prevalent spam type on compromised sites.
For affiliates, that means a clean-looking site can still be cloaking without you knowing.
There is also a disputed claim. A LinkedIn article on iGaming SEO says cloaking is "selectively tolerated" in the sector. The same author says he no longer recommends it. SEO Circular, an agency, says Google has no separate casino penalty and applies the same spam policies. Neither source offers Google data. Gambling rules differ by country, and none of this is legal advice.
How does Google detect cloaking?
Google does not publish a full method. Third-party sources describe the likely pieces:
- Request comparison. Aergos says Google compares content served to Googlebot's user agent with content served to a normal browser.
- Rendering. Aergos also lists rendering pages in a real Chrome browser and comparing the result.
- Spam systems. Digitali Creatives says SpamBrain compares crawled content with what the Web Rendering Service sees.
- Human input. Your Firm Growth says Google accepts public spam reports and uses human review.
Speed is disputed. Digitali Creatives claims most scripts are caught within weeks. Another section of the same article says one older trick is caught within days. Neither cites Google. Treat both as vendor opinion.
Google also extended its spam policies to AI Overviews and AI Mode on May 15, 2026, according to PPC Land. Cloaking is not safe on those surfaces either.
What does the cloaking penalty look like?
Google's Manual Actions report lists "cloaking and/or sneaky redirects" as a violation. It also lists cloaking among examples of "major spam problems". Search Console shows the action and how to fix it, per SiteGuru.
Google's spam policies add that repeat offenders may lose eligibility for features such as Top Stories and Discover. Google may also remove more sections of a site from results.
Sources disagree on severity:
- Savage Global Marketing says violating sites may rank lower or disappear.
- Scale Xpert says manual actions for cloaking usually remove the whole site from the index. That is a vendor claim, not a Google statement.
- The LinkedIn author puts a manual action on a mature casino site at $50K to $500K a month in lost organic revenue. He gives no method, so treat it as unverified.
How do you recover from a cloaking penalty?
Seorocket says there is no partial fix. Googlebot and users either see the same thing or they do not. Keepers Digital warns that all active manual actions must be resolved before you file. It says partial fixes waste the request and reset the timeline.
The usual steps, per Google's Search Console documentation and the agency guides:
- Remove the code that serves different content.
- Compare what Googlebot renders with what a visitor sees, using URL Inspection.
- Run a crawl test, as Search Engine Land advises.
- Select Request Review in the Manual Actions report.
Google's spam policies say sites in the European Economic Area now have a reconsideration process with a short response commitment. Google gives no general timeline for other sites.
What we could not confirm
- Google's exact detection methods. Google does not publish them. The list above comes from third-party sources.
- How fast cloaking is caught. Claims of "days" or "weeks" come from vendors with no data.
- Revenue losses. The $50K to $500K figure is one LinkedIn author's estimate.
- iGaming-specific penalty rates. We found no dataset on how often casino sites receive cloaking actions.
- Review times. No source gave a reliable figure outside the EEA commitment.
- Affiliate link masking. Big Betty, an affiliate-industry site, says redirect-style link masking does not generally harm SEO. Google's sneaky redirects policy covers redirects that show users unexpected content. We found no Google statement on /go/ style links. Check Google's documentation before relying on either view.
Questions and answers
What is cloaking in SEO?
Google's spam policies define it as presenting different content to users and search engines with intent to manipulate rankings and mislead users.
Can Google penalise a site for cloaking it did not set up?
Google's spam policies say hackers often use cloaking to hide a hack from the site owner. Sucuri documented a January 2026 case where malware showed gambling spam only to search crawlers. Check what Googlebot sees, not only what you see.
Are paywalls or pre-rendered JavaScript pages cloaking?
Google says a paywall is not cloaking if Google can see the full content behind it, and if the site follows Google's Flexible Sampling guidance. Wildcat Digital reports that Google generally does not treat dynamic rendering as cloaking when the content is similar.
How do you remove a cloaking penalty?
Remove the logic that serves different content, confirm parity with Search Console's URL Inspection tool, then request a review in the Manual Actions report. Seorocket says partial fixes do not work.
Sources
- Google Search Central: Spam policies for Google web search
- Google Search Console Help: Manual actions report
- BrightEdge: What is Cloaking in SEO?
- SiteGuru: What's Cloaking in SEO?
- Sucuri: Google Sees Spam, You See Your Site
- Cryptika: Threat Actors Actively Hacking Websites to Inject Malicious Links
- Wildcat Digital: What Is Cloaking in SEO? Sneaky Redirects
- PPC Land: Google spam policies now cover AI Overviews and AI Mode
- Aergos: Cloaking Explained
- Your Firm Growth: What Is Cloaking in SEO?
- Digitali Creatives: What Is Cloaking in SEO with an Example?
- Seorocket: Google Manual Action Recovery
- Keepers Digital: GSC Manual Actions and Security Issues
- LinkedIn: SEO for iGaming Sites
- Big Betty: Link Cloaking for iGaming Affiliates
- Scale Xpert: What is Cloaking in SEO?