Your browser keeps opening new tabs usually because of malicious browser extensions, adware installed on your system, or website notification permissions that have been granted to intrusive sites. To stop this, you should first disable unknown extensions, clear your browser cache, and check your system for unwanted software. These issues are typically caused by "pop-under" scripts or background processes that trigger redirects to advertising or phishing sites.

What You'll Need

  • A computer or mobile device with the affected browser installed.
  • Administrative access to the device to uninstall software or change system settings.
  • An internet connection to download updated security definitions for antivirus software.

Step-by-Step

Depending on whether you are using Chrome, Firefox, Safari, or Edge, menu labels may differ slightly by version, device, or region. The following steps cover the most common paths for desktop browsers.

  1. Check and Remove Suspicious Extensions
    Many "free" extensions (like PDF converters, weather trackers, or coupon finders) contain hidden code that opens tabs to generate ad revenue. Open your browser's extension menu (usually found in the menu icon > Extensions or via a puzzle piece icon). Review every single installed extension. If you see anything you do not remember installing, or anything that seems unnecessary, remove it immediately. Do not just disable them; remove them entirely to ensure the code is gone from your local profile.
  2. Reset Browser Site Permissions
    Some websites ask for permission to "Show notifications." If you clicked "Allow," the site can push notifications that look like system alerts and open new tabs when clicked. Go to your browser settings and look for the Privacy and Security section, then find Site Settings. Look for the "Notifications" category. Review the list of sites allowed to send notifications. Remove any site you do not recognize or trust. For a more aggressive approach, toggle the setting to "Don't allow sites to send notifications" entirely.
  3. Clear Browser Cache and Cookies
    Malicious scripts can sometimes be cached in your browser's temporary storage, causing a loop where a tab opens every time you visit a specific page. Go to your browser settings, navigate to Privacy and Security, and select the option to clear browsing data. Ensure you select "Cookies and other site data" and "Cached images and files." Set the time range to "All time" to ensure no old scripts remain. Note that this will sign you out of most websites.
  4. Scan for Adware and PUPs
    If tabs open even when the browser is closed or immediately upon startup, the problem is likely a Potentially Unwanted Program (PUP) installed on your operating system. On Windows, go to Settings > Apps > Installed Apps and sort by "Date installed." Look for programs installed around the time the tab issue started. If you see software with names like "Web Search Assistant," "PC Optimizer," or generic toolbars, uninstall them. On macOS, check your Applications folder and remove any unfamiliar software.
  5. Check Your Startup Pages
    Some adware modifies your browser's startup configuration to force-load specific pages every time you launch the app. Go to your browser settings and search for "On startup" or "Home page." Ensure the setting is set to "Open the New Tab page" or a specific URL that you trust. If there are multiple URLs listed that you didn't add, delete them.
  6. Perform a Full Browser Reset
    If the problem persists, you can reset the browser to its original factory defaults. This will disable all extensions and reset your startup page and search engine, though it usually keeps your bookmarks and saved passwords. Look for the "Reset settings" or "Restore settings to their original defaults" option in the advanced settings menu. This is a powerful way to strip out hidden configuration changes made by malicious software.

Common Mistakes

One of the most frequent mistakes is clicking "Allow" on website pop-ups that claim your computer is infected or your browser is out of date. These are almost always deceptive ads designed to trick you into installing adware. Never download a "repair tool" from a pop-up window; only use official software from known developers.

Another mistake is ignoring the "Extensions" list because you believe you didn't install anything. Some adware bundles extensions into other software installers. Even if you didn't manually add a browser extension, a third-party app installation may have added one silently. Always audit your extensions list regardless of how you think the software got there.

Users often mistake a hardware issue for a software one. For example, a stuck "Ctrl" key on a keyboard can cause a browser to open links in new tabs automatically (since Ctrl+Click is the shortcut for this). Before diving into deep software cleans, ensure your keyboard is functioning correctly and no keys are physically depressed.

Tips

To prevent this from happening again, install a reputable ad-blocker. Ad-blockers do more than just hide banners; they often block the scripts that trigger automatic pop-ups and redirects. This adds a layer of protection between you and the malicious code hosted on low-quality websites.

Be cautious when downloading "free" software from third-party sites. Many of these installers use "dark patterns," where the "Express Install" option includes bundled adware. Always choose "Custom" or "Advanced" installation and manually uncheck any boxes that offer to install additional toolbars, search engines, or "system optimizers."

Keep your browser and operating system updated. Security patches frequently close the vulnerabilities that adware uses to hijack browser settings. Enable automatic updates to ensure you have the latest protections against known redirect scripts.

Troubleshooting

If you have followed all the steps and tabs are still opening, try launching your browser in "Incognito" or "Private" mode. If the tabs stop opening in private mode, the issue is definitely related to an extension or a cached cookie, as private mode disables most extensions by default. This confirms you need to be more thorough in cleaning your extensions list.

If the problem persists across different browsers (e.g., it happens in both Chrome and Firefox), the issue is not the browser, but a process running on your operating system. In this case, open your Task Manager (Windows) or Activity Monitor (macOS) and look for processes with high CPU usage or strange names that you don't recognize. Right-click the process to find its file location, then use a dedicated antivirus scanner to analyze that specific folder.

If you suspect a deep system infection, you may need to boot your computer into "Safe Mode with Networking." This prevents most third-party startup programs from running, allowing you to run a full system scan without the adware actively fighting the antivirus software by closing the scanner or hiding its files.

Frequently Asked Questions

Is my computer hacked if tabs keep opening?

Not necessarily. In most cases, this is "adware" rather than a full system hack. Adware is designed to make money for the creator via ad views, whereas a hack usually aims to steal data. However, adware can open the door for more serious malware, so it should be treated as a security risk.

Can a virus cause new tabs to open?

Yes, a specific type of malware called a "browser hijacker" modifies your browser settings to redirect your traffic. This is often used to force you to use a specific search engine or to display ads that lead to phishing sites.

Why do tabs open only on certain websites?

Some websites use aggressive advertising networks that employ "pop-under" or "interstitial" ads. These are triggered by a click anywhere on the page. This is a site-specific behavior and not necessarily a problem with your computer, though an ad-blocker can stop it.

Will resetting my browser delete my passwords?

Generally, no. A browser reset typically reverts the settings, startup pages, and extensions to default, but it preserves your bookmarks, history, and saved passwords. However, clearing "All time" cookies and cache will sign you out of your accounts.

Do mobile browsers also have this problem?

Yes, though it is less common. On Android, it is often caused by a malicious app installed from outside the official Play Store. On iOS, it is usually caused by a malicious website adding a calendar subscription or a profile in the settings menu.