Should links open in a new tab? When to use target=_blank
Short answer: Most links should open in the same tab. Opening a new tab takes control away from visitors, can break the Back button, and confuses people using screen readers or small screens. Use a new tab only when leaving the page would lose something, such as a half-filled form or a checkout, or for help and terms pages opened from inside a process. When you do, say so in the link ("opens in a new tab") or with an icon that has an accessible description. Modern browsers already treat target="_blank" as rel="noopener", but adding it explicitly does no harm.
What target="_blank" does
MDN's reference for the <a> element describes _blank as usually a new tab, though users can configure browsers to open a new window instead. It also notes that setting target="_blank" implicitly gives the same behaviour as rel="noopener", which doesn't set window.opener. Older advice warned that without noopener the opened page could manipulate the original tab; MDN says newer browsers provide that protection automatically and points to browser compatibility for details.
So the security question is mostly settled. The real question is when a new tab helps your visitors.
Why new tabs often hurt
- The Back button stops working. In a new tab there's nothing to go back to, which confuses many visitors, especially on phones, where tabs are less visible.
- Screen reader users may not notice the switch. Without a warning, they can lose their place.
- People already know how to open links in new tabs when they want to, with a long-press, middle-click or Ctrl/Cmd-click. Forcing it removes their choice.
- Mobile browsers pile up tabs that visitors never return to.
The common business reason, "we don't want people to leave our site", rarely works. Visitors who want to leave close the tab; visitors who get disoriented leave anyway.
When a new tab makes sense
- Inside a form or checkout, for links to terms, size guides, delivery information or help, where leaving would lose what the visitor typed.
- Inside a logged-in app, for help articles that people read alongside the task.
- Documents meant to sit beside the page, such as a PDF manual opened from an installation guide, if testing shows people want that.
Even then, consider alternatives: a modal or expandable section for short help text, or making sure the form saves progress so a same-tab link is safe.
How to warn people
The W3C technique G201, "Giving users advanced warning when opening a new window", describes providing warning for links and buttons that open a new window or tab on normal activation. Its examples include:
- Text in the link, such as "All about Knitting (opens in new window)".
- An icon with an accessible description, where a small visual icon is added and
aria-describedbypoints to hidden text saying it opens in a new window.
Technique G201 is advisory, not a strict WCAG requirement, but it's the clearest way to avoid surprises. Keep the wording consistent across the site: always "opens in a new tab" or always the same icon.
Clean up what's already there
Many sites open every external link in a new tab because a plugin or theme setting was switched on years ago.
- Find the setting. Check your theme, page builder and link or SEO plugins for options like "open external links in new window".
- Search content for
target="_blank"in posts and pages. - Decide by purpose. Keep new tabs only for the cases above.
- Add warnings to those that remain.
- Check menus, footers and buttons separately, as they're often set individually.
A note on downloads
Links to PDFs and files behave differently across devices. Rather than forcing a new tab, say what the link is: "Spring price list (PDF, 1.2 MB)". Visitors can then choose how to open it, and those on mobile know a download is coming.
Buttons, scripts and pop-ups
New tabs aren't only created by links. Some sites use JavaScript to open a new window when a button is pressed, for example a "Chat with us" button or a payment step. The same rules apply: only do it when it clearly helps, label the button so people know what will happen, and never open new windows on page load or without a click. Pop-up blockers stop many of these anyway, which leaves visitors wondering why nothing happened.
Test with real people
If you're unsure whether a link should open in a new tab, watch a few customers use the page on their phones. Notice whether they get lost, hunt for the Back button or lose form entries. Small observations like these settle the question faster than debate, and they often reveal that a modal, a saved form or a clearer label is the better fix.
An illustrative example
A hypothetical Denver home-cleaning company had a plugin opening all external links and every PDF in new tabs, and its booking form linked to its cancellation policy in the same tab, so customers lost their entries. The developer turned the plugin setting off, made the cancellation-policy and service-area links inside the booking form open in a new tab with an icon and hidden "opens in a new tab" text, and labelled PDF links with their file type and size.
FAQ
Do external links need to open in new tabs for SEO?
No. Opening in a new tab has no SEO benefit.
Is rel="noopener" still needed?
MDN notes modern browsers apply it automatically with target="_blank". Adding it explicitly is harmless for older browsers.
What about noreferrer?
It also stops the referrer being sent, which affects the other site's analytics. Use it only if you have a reason.
Should social media links open in new tabs?
Usually no. Visitors can return with Back, and those who want a new tab can open one themselves.
If your site's links open in unexpected places or forms lose data when people check your terms, send us a page to review.