Skip to Content

How to Get Your Mac's Dock to Show Running Apps Only

by

Last week we explained how you can use a simple Terminal command to insert spaces in your macOS Dock and visibly group together app icons. In this article, we're going to highlight another simple Terminal hack that turns the Dock into more of a straightforward app switcher by making it display only apps that are currently running on your Mac.

macos dock only open apps
Seeing only active apps at the bottom of your desktop can be a refreshing change if your Dock has become cluttered with various app shortcuts over time, and you can always use Spotlight (key combination Command-Space to activate) or an alternative method to launch your Mac apps.

When following the simple steps below, just bear in mind that Terminal is a powerful app, so make sure you enter the commands properly, especially if you're not familiar with it.

How to Show Only Active Apps in Your Dock

  1. Launch the Terminal app found in Applications/Utilities. (To quickly open the Utilities folder in Finder, select Go -> Utilities from the menu bar, or use the key shortcut Shift-Command-U.)

  2. At the Terminal prompt, type the following command and press Enter: defaults write com.apple.dock static-only -bool true; killall Dock
    recent apps only dock Terminal command

  3. Your Dock will reboot in order to show only the currently running apps on your Mac in the order they were launched.
    mac dock only active apps

How to Revert the Dock Back to Its Original State

If you decide you don't like this way of using the Dock, follow the steps below to return it to its usual behavior.

  1. Launch the Terminal app again if it's not already open.

  2. At the Terminal prompt, type the following command and press Enter: defaults write com.apple.dock static-only -bool false; killall Dock

  3. Your Dock will reboot and revert to showing both running and non-running apps.

If there's a specific active app that you'd like to hide from the Dock for whatever reason, there are a couple of third-party utilities that might help. Dock Dodger is a free drag-and-drop tool that can hide certain apps from the Dock even when they're running (once placed on the tool's droplet, you have to restart the app in question to hide it, although our success rate varied depending on the app). If you're willing to open your wallet, GhostTile is a more recent and reliable paid-for alternative with similar functionality.

Top Rated Comments

frou Avatar
113 months ago
For the longest time, I have simply dragged all of the default app "shortcuts" off of my Dock, and used Spotlight via the keyboard to launch everything.
Score: 3 Votes (Like | Disagree)
sunapple Avatar
113 months ago
What’s the difference with removing all apps from the Dock and opening new ones from another place?
Score: 3 Votes (Like | Disagree)
113 months ago
I don't get this tip.

After I implemented this command, I was able to right-click on the icons of the running apps and select "Keep in Dock". After that, when I closed the apps, their icons remained on the Dock. So, how is this different from just dragging all your icons off the dock one at a time?
Score: 2 Votes (Like | Disagree)
Amazing Iceman Avatar
113 months ago
I hardly use the dock to launch apps. Using [COMMAND] [SPACE] and typing the app name to launch it is a faster approach.
Score: 2 Votes (Like | Disagree)
sp3k0psv3t Avatar
113 months ago
This is nice. Really cleans things up a bit since I have a gazillion apps in my dock lol.

Thanks for the tutorial.
Score: 2 Votes (Like | Disagree)
113 months ago
Just apply the technique and then add the download folder manually (drag it to the dock).
Score: 1 Votes (Like | Disagree)

Popular Stories

apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...
Apple 2026 Black Friday Event Hero

Apple's Official 2026 Black Friday Offer Starts Rolling Out

Thursday November 26, 2026 8:37 am PST by
Apple's annual four-day Black Friday through Cyber Monday shopping event is now live in Australia, New Zealand, and Thailand, and it will continue to roll out across Europe, the U.S., and Canada as the calendar turns to Friday, November 27 around the world. In the U.S., Apple's terms and conditions say the promotion begins on November 27 at 12 a.m. Pacific Time and ends on November 30 at...
Black Friday Deals 26 1

The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More

Thursday November 26, 2026 1:19 pm PST by
Black Friday is over, but there are still plenty of great leftover discounts to grab right now. This year we're tracking big sales on popular Apple products like AirPods, iPad, Apple Watch, and much more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running....
Latest Stories
Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens
Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens
4 hours ago
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
13 hours ago
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
1 day ago
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
1 day ago
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
1 day ago
Apple Store in Brisbane Reopening Next Month With New Design
Apple Store in Brisbane Reopening Next Month With New Design
1 day ago
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
13 hours ago
GTA VI Now (Barely) Running on Apple Silicon Macs
GTA VI Now (Barely) Running on Apple Silicon Macs
2 days ago
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
2 days ago
Apple TV's 'Carême' Wins International Emmy for Best Drama
Apple TV's 'Carême' Wins International Emmy for Best Drama
2 days ago
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
2 days ago
The Best Black Friday AirPods Deals Still Available
The Best Black Friday AirPods Deals Still Available
1 day ago
The Best Black Friday Deals on Apple Home Products
The Best Black Friday Deals on Apple Home Products
2 days ago
The Best Black Friday iPhone Deals Still Available
The Best Black Friday iPhone Deals Still Available
1 day ago
The Best Black Friday iPad Deals Still Available
The Best Black Friday iPad Deals Still Available
1 day ago
The Best Black Friday Apple Watch Deals Still Available
The Best Black Friday Apple Watch Deals Still Available
1 day ago
The Best Black Friday AirTag Deals Still Available
The Best Black Friday AirTag Deals Still Available
1 day ago
The Best Black Friday Mac Deals Still Available
The Best Black Friday Mac Deals Still Available
1 day ago
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
2 days ago
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
2 days ago
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
5 hours ago
Apple's Official 2026 Black Friday Offer Starts Rolling Out
Apple's Official 2026 Black Friday Offer Starts Rolling Out
2 days ago
Halide Adds Fill Light Feature for iPhone Duo
Halide Adds Fill Light Feature for iPhone Duo
3 days ago
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
3 days ago
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
3 days ago
Kodak Launches Unique AirTag Rival With E-Ink Display
Kodak Launches Unique AirTag Rival With E-Ink Display
3 days ago
Here's Why the Apple Store is Going Down
Here's Why the Apple Store is Going Down
3 days ago
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
3 days ago
iPhones Dominate China's Weak Singles' Day Smartphone Sales
iPhones Dominate China's Weak Singles' Day Smartphone Sales
3 days ago
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
3 days ago