How to Hide Apps from Mac Dock: Complete Guide for Clean Workspaces
Your Mac’s dock looks neat at first, but after a while, it becomes a huge mess of clutter for apps you never use anymore. You click around, apps pop back after updates, and your workspace feels messy. This guide shows how to hide apps from your Mac dock in five easy ways. You can remove apps for good, hide them just for now, or use a tool that changes your dock preset for each task.
Read on to learn simple steps, deeper tips, and when to use each method. By the end, you’ll have a tidy dock and a faster workflow.

Photo by Aleksey Zemlyanoy
1. Drag-and-Drop Removal
The basic way to hide apps is drag and drop. This works for almost every app except Finder and Trash.
Steps
Click and hold an app icon in the dock. Drag it up, away from the dock. Release to remove it.
The app stays on your Mac in Applications and Launchpad. You aren’t deleting it - just hiding its icon.
What to Expect
If the app is running, its icon returns with a small dot until you quit the app. Then it stays hidden. Apps removed this way stay hidden after you restart your Mac. You can drag apps back from Applications to the dock anytime.
2. Right-Click Menu Removal
If you like menus, use the right-click menu to hide apps.
Steps
Right-click (or Control+click) the app icon. Choose Options. Click Remove from Dock.
For apps you use sometimes, uncheck Keep in Dock after quitting to hide it next time.
Extra Menu Options
Open at Login: Launch apps when you start your Mac. Great for Calendar or Messages. Show in Finder: Jump directly to the app’s file location.
3. Terminal Commands
The Terminal gives precise control over dock behavior. In fact, some functionalities of your Mac, like adding a spacer to your dock, can only be achieved with the Command Line Interface (CLI), or by using applications like DockFlow that provide you with a way to achieve the same with a simple User Interface.
Hide a Running App
To hide any app while it runs, use this command:
sudo defaults write /Applications/AppName.app/Contents/Info LSUIElement -bool yes
Replace AppName with the app’s name. Then restart the app to hide its icon.
Show It Again
To make the icon visible again:
sudo defaults write /Applications/AppName.app/Contents/Info LSUIElement -bool no
killall AppName
Clear Your Whole Dock
To start fresh by removing all app icons except Finder and Trash:
defaults write com.apple.dock persistent-apps -array
killall Dock
Safety Tips
Backup your Mac first. Type names exactly; they are case-sensitive. Test on one app before doing bulk operations.
Scenario
Alex is a developer. He tests many helper apps and wants some hidden even when running. He runs the Terminal hide command for each utility. This keeps his dock limited to code editors and browsers.
4. System Settings Tweaks
macOS has built-in options under System Settings that let you hide and manage dock items.
Turn Off Recent Apps
Go to Apple menu > System Settings Click Desktop & Dock Turn off Show recent applications in Dock
This stops temporary apps from cluttering the dock.
Adjust Dock Options
In Desktop & Dock, tweak:
Size: Make icons smaller to fit more. Magnification: Zoom icons when you hover. Position: Move dock to left, bottom, or right. Minimize into icon: Keep minimized windows from growing the dock. Auto-hide dock: Show dock only when you move the mouse there.
Hidden Terminal Tricks
If you want more features, use these Terminal tweaks:
Single-app mode (hide other apps when one is active):
defaults write com.apple.dock single-app -bool true; killall Dock
Highlight hidden apps (make hidden app icons a bit transparent):
defaults write com.apple.dock showhidden -bool yes; killall Dock
Scenario
Sara gives presentations often. She turns off recent apps and enables auto-hide dock so her slides fill the screen without distraction. After the talk, she turns off auto-hide and restores recent apps.
5. Smart Dock Management with DockFlow
Dragging and hiding icons helps, but what if your tasks change throughout the day? DockFlow solves this with dock presets that switch based on what you’re doing.
How DockFlow Works
DockFlow lets you create and save multiple dock layouts:
Work layout: Shows code editors, chat apps, email. Design layout: Shows Photoshop, Sketch, and media players. Personal layout: Shows music, social apps, and personal tools.
Switch layouts with one click, a hotkey, or even at scheduled times by using Focus Mode integration.
Key Features
Instant switching between layouts Spacers to divide groupings of apps , Shortcuts integration for hands-free switching , App Actions to automatically launch the apps you choose as you switch presets.
Step-by-Step Setup
Open DockFlow and choose Add dock or Set From Current Dock. Arrange the apps, set app actions, and spacers. Go to Settings -> Hotkeys -> Choose a hotkey.
When to Hide vs. When to Organize
Hiding and organizing are not the same. Knowing when to use each saves time.
Hide Permanently
Never-used stock apps Duplicate apps you replaced with better alternatives
Use drag-and-drop or right-click removal for these.
Organize with DockFlow
Project-specific tools: Apps you need for certain tasks (Xcode, Photoshop). Occasional-use apps: Keep installed but out of sight until needed.
DockFlow lets you show these apps only when they matter.
Temporary Hiding
Presentation mode: Turn off recent apps, auto-hide dock, switch to a “Presentation” preset. Focus sessions: Temporarily hide distractions, then revert when done.
Decision Guide
Ask yourself: Do I use this app daily? If not, consider hiding it. Is it project-specific? Use a DockFlow preset instead of hiding. Do I need it during meetings or presentations? Toggle recent apps and auto-hide.
Troubleshooting Dock Problems
Even with hiding methods, problems can pop up. Here is how to fix them.
Icons Keep Returning
Problem: An app reappears in the dock after you remove it. Fix: Right-click the icon, choose Options, and uncheck Keep in Dock.
Can’t Remove System Apps
Problem: Finder or Trash won’t hide. Fix: These are built-in to macOS and can’t be removed.
Dock Too Small or Crowded
Problem: Your dock icons are tiny or cramped. Fix: Go to System Settings > Desktop & Dock and adjust Size or turn on Magnification.
Advanced Dock Customization
For power users who want extra polish:
Add Visual Spacers
Group apps with blank spaces:
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
Drag the new blank tile to position it as a divider.
Speed Up Dock Animations
Make the dock hide and show instantly:
defaults write com.apple.dock autohide-delay -float 0; killall Dock
Different Screens, Different Docks
Large monitors: Move the dock to the left or right to free up vertical space. Compact laptops: Turn on auto-hide dock for full-screen apps. Multiple displays: Use DockFlow or an app like ExtraDock to have a dock on each screen.
Notable Mentions
For users with multiple monitors, one Dock may not be enough; ExtraDock allows users to add multiple Docks and place them wherever they want.
Some apps have no place on your Dock or your Dock presets if they're rarely used, use launchers like Raycast or Alfred to launch them instead.
Frequently Asked Questions
Can hiding delete apps? No. Hiding only removes the dock icon. To delete apps, drag them from Applications to Trash.
Do hidden apps still update? Yes. They update normally through the App Store or their built-in updaters.
Can I lock my dock? macOS doesn’t offer a dock lock. You can use third party tools like DockLock for it.
Do Terminal commands work on M1/M2 Macs? Yes. All commands shown work on Intel and Apple Silicon Macs running modern macOS.
Can I share my dock layout with others? Yes. DockFlow users can share their layout directly from the app to the dockshare.io platform, which is a free community based platform for dock sharing.
Start Today
Learning how to hide apps from your Mac dock makes your workspace cleaner and your work faster. The benefits of a clean workspace are huge, not only it keeps you more productive and focused, but it also lowers the mental load in your brain, as it has less information to process, keeping you focused on what's real imporatnt.
DockFlow is designed for flawless context-switching and keeping your workspace clean, perfect for multitaskers. If your dock never changes, try hiding apps or adding spacers with simple terminal commands to keep things tidy.