Tech Reference

How to close all the windows on a Mac computer using Safari, in 2 different ways

using mac
It's possible to quickly close all the windows on your Mac computer with a keyboard shortcut. Shutterstock
Read in app

There are plenty of reasons why you may need to close all of your internet tabs at once. 

Perhaps you were simultaneously browsing Reddit, Facebook, and The Onion while at work and your boss just walked into the room. Or maybe you have lots of holiday gift ideas on your screen and your spouse just leaned in through the doorway.

Even worse, your Mac might be starting to heat up and slow down because of all those windows you haven't bothered to close. Whatever the reason, you can close all windows on a Mac in seconds flat. 

Here's how to do it. 

Check out the products mentioned in this article:

MacBook Pro (From $1,299.99 at Best Buy)

How to close all your windows on a Mac computer

To close all Mac browser windows with a keyboard shortcut, hold down the option and command keys (the latter is known to some as the Apple key) and then press W. This shortcut should work on most browsers, like Safari and Google Chrome. 

How_to_close_all_windows_on_Mac_ _1
Use this shortcut to quickly close all your open windows.  Steven John/Business Insider

To close all Mac windows in Safari with your mouse or trackpad, click "File" at the top of the screen then simply select "Close All Windows." You may not have this option when using other browsers. 

How_to_close_all_windows_on_Mac_ _2
The "File" dropdown menu allows you to close tabs or to open private windows.  Steven John/Business Insider

 

Related coverage from How To Do Everything: Tech:

Insider Inc. receives a commission when you buy through our links.

Read next

Steven John has been a freelance writer for more than a dozen years and has been a regular contributor to Business Insider since 2017. His work includes a focus on the tech world, covering companies including Apple, Microsoft, Meta, Google, and others. He also reviews restaurants, shares how-to cooking articles, and writes general interest pieces.Steven also writes for publications including Architectural Digest, The Daily Beast, Forbes, and more. In the past, he also wrote for New York Magazine, Mashed, U.S. News & World Report and other outlets. He runs his own outdoor lifestyle site, Dad Gear Review, and co-hosts the Fact Trekkers podcast with his son. He has had two novels published, Three A.M. and Outrider. He graduated from Emerson College with a degree in communications focused on filmmaking.He is an avid outdoorsman and can be frequently found in a kayak or on a mountain trail, often with his family along for the adventure.Expertise:Tech industryTech hardwareOutdoorsCookingRestaurantsDIYPopular articles:Microsoft: A history of the software giant co-founded by Bill Gates, its products and services, jobs, layoffs, and moreYouTube is a major entertainment force. Here's the platform's history, plus how to create a channel and upload videos.Inside the life and career of Bill Gates, the Microsoft co-founder, billionaire, and philanthropistTim Cook net worth: How the Apple leader earns and spends his moneyBecoming an Amazon seller is a simple process. Here's what's involved, plus how you make money and get paid.