Rel Noopener Noreferrer: Security and Privacy for External Links
I often see webmasters confuse rel noopener noreferrer with nofollow. Let me clear that up: this attribute combination is about security and privacy, not SEO. It blocks reverse-tabnabbing and, with noreferrer, suppresses the Referer header. It has zero direct impact on rankings.
In this guide, I'll explain how noopener and noreferrer work, when to use them, and why you shouldn't treat them as SEO signals. I'll also cover common implementation patterns and how to audit your site.
At a glance
- Security Impact
- Critical (prevents tabnabbing)
- SEO Impact
- None
- Default in CMS
- WordPress, Shopify auto-add
- Browser Support
- Universal (Chrome, Firefox, Safari)
Security Risks Without noopener
When links open in new tabs without noopener, the new page can redirect the original page to phishing or malware URLs via window.opener.location. It can also slow performance by maintaining a connection to the opener and leak analytics data cross-domain. This risk is mitigated by adding the attribute.
I've seen sites that skip this attribute on external links, and while the chance of a malicious attack is low for most sites, it's a simple fix that removes a real vulnerability. Chrome Lighthouse flags these cases, and I recommend treating it as a standard practice.
Implementation Guide
For developers, the markup looks like this:
LinkFor CMS users: WordPress has enabled this by default since version 5.6. Shopify requires manual template edits. If you're unsure about your setup, run a quick check with backlink checker tools that scan link attributes.
I recommend adding both attributes for backward compatibility, even though modern browsers treat noreferrer as implying noopener.
SEO Myths Debunked
Common misconceptions include: Myth: Improves rankings. Reality: Zero effect. Google's John Mueller has confirmed these are security controls, not ranking signals. Myth: Replaces nofollow. Reality: Different purposes entirely. nofollow is a crawl and endorsement hint; noopener and noreferrer are browser behaviors.
If you're comparing link attributes, see my guide on referring domains vs backlinks for a broader picture. But for this attribute, the SEO impact is none.
Performance Considerations
Modern browsers handle these attributes efficiently, but there are trade-offs. Excessive target="_blank" links increase memory usage because each new tab keeps a reference to the opener unless noopener is used. Unnecessary noreferrer breaks analytics paths — you lose referral data unless you append UTM parameters.
I always test with backlink analysis tools before making bulk changes. For internal links, I skip noreferrer to preserve navigation data.
Comparison with nofollow and Other Attributes
Here's how security-focused attributes differ from SEO controls:
- noopener: Security-only. Blocks tabnabbing, preserves referrer, no SEO impact. Use for external new-tab links.
- noreferrer: Privacy-focused. Implies noopener, hides referrer, no SEO impact. Use for sensitive external links.
- nofollow: SEO control. No security effect, preserves referrer, crawling hint. Use for untrusted/sponsored links.
Ahrefs explicitly separates these: noreferrer, noopener, and nofollow have different purposes. For a deeper dive into link attribute strategies, check my methods page.
When to Use and When to Skip
Use rel="noopener noreferrer" on external links that open in a new tab. This covers security and privacy. Skip it on internal links — you want referrer data to flow within your site for analytics. Also skip it on same-tab links because there's no new browsing context.
I've seen sites apply it to every link blindly, which breaks internal tracking. Use your judgment: if the link is to a trusted partner and you want to share referrer data, use only noopener. For more on link evaluation, see how I judge links.
How to Audit Your Site
To check if your site uses these attributes correctly, use Chrome Lighthouse: it flags missing noopener on target="_blank" links. For bulk analysis, I recommend backlink checker tools that scan link markup. Also, backlink monitoring tools can track changes over time.
If you find missing attributes, add them via your CMS filter or a global search-and-replace in your template. It's a quick win for security hygiene.
Link Attributes Comparison
How security-focused attributes differ from SEO controls:
| Attribute | Security Effect | Referrer Data | SEO Impact | Use Case |
|---|---|---|---|---|
| noopenerSecurity-only | Blocks tabnabbing | Preserved | None | External new-tab links |
| noreferrerPrivacy-focused | Implies noopener | Hidden | None | Sensitive external links |
| nofollowSEO control | None | Preserved | Crawling hint | Untrusted/sponsored links |
Arguments for
- Blocks reverse-tabnabbing, a real security threat
- Reduces unintended referrer leakage to external sites
- Easy to implement via templates or CMS filters
- Widely supported by modern browsers
Arguments against
- Can obscure referral data in analytics without UTMs
- No SEO benefit, despite common misconceptions
- Overuse on internal links complicates tracking
- Auto-insertion by CMSs may lack granular control
What the experts say
"These attributes are security and privacy controls, not SEO signals."
"noreferrer, noopener, and nofollow are separate attributes with different purposes; noopener is security, noreferrer affects tracking, and SEO impact is 0."
Frequently asked questions
Does rel="noopener noreferrer" affect SEO?
No. Ahrefs and Google confirm these attributes are security/privacy controls with no ranking impact. They do not influence link equity or crawling.
When should I use noopener vs. noreferrer?
Use noopener alone for security without hiding referrers. Add noreferrer when privacy is also a concern. Modern browsers often combine their effects.
Is this required for internal links?
Rarely. Internal links generally don’t need referrer suppression, and the security risk is minimal unless navigating between untrusted subdomains.
How do I check if my site uses these correctly?
Audit tooling like Chrome Lighthouse flags missing noopener on target="_blank" links. For bulk analysis, backlink audit tools can scan markup.
Do I need both attributes?
Modern browsers treat noreferrer as implying noopener, but using both ensures backward compatibility.
What does rel="noopener noreferrer" example look like?
A common example is Example.
Sources
Every factual claim on this page is drawn from the following independent sources. Links open in a new tab.
- Google Chrome Developers — Lighthouse guidance that cross-origin `target="_blank"` links should use `rel="noopener"` or `rel="noreferrer"`.
- MDN Web Docs — `noopener` behavior, including preventing access to `window.opener` for `<a>`, `<area>`, and `<form>`.
- Ahrefs Help Center — Difference between `noreferrer`, `noopener`, and `nofollow`; SEO impact; analytics/referrer effects.
- SEOptimer — Common usage of `rel="noopener noreferrer"` on external `target="_blank"` links and CMS auto-application context.
- Elementor — Security explanation, privacy/referrer explanation, and practical example markup.
- AuditBuffet — Pattern guidance to add `rel='noopener noreferrer'` to external links that open in a new tab.
- Google Chrome Developers — Duplicate Chrome guidance showing `noopener` and `noreferrer` in example markup.