Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Hide App Icons in Mac Dock Even When Running on: Step-by-Step Guide

Learn how to Dock with clear steps, preparation tips, common mistake warnings, and practical troubleshooting advice.

Table of Contents

Hide App Icons in Mac Dock Even When Running on is easier when you confirm the requirements, prepare the right tools, and follow each step in the correct order.

This updated guide explains the process clearly, highlights common mistakes, and provides practical checks that can help you get a reliable result.

How to Hide the Dock Icon on Mac

In this example, we'll hide an application that users often install by default on their Macs, the Safari web browser. There are a few ways to do this, but we'll focus on the simplest method: using the " defaults " command to edit the application's " Info.plist " file.

First, we'll open a new instance/window of Terminal (in Applications > Utilities ).

How to Hide the Dock Icon on Mac screenshot

Since modifying the ' Info.plist ' file usually requires elevated privileges, issue the following command, authenticating with your password (or Touch ID) when prompted:

sudo defaults write /Applications/Safari.app/Contents/Info LSUIElement -bool yes

After executing the command, restart the application and you will see its icon hidden from view while still running in the background. But what if you want to undo the changes you made? All you need to do is simply change the last word of the command from " yes " to " no " as shown in the command below:

sudo defaults write /Applications/Safari.app/Contents/Info LSUIElement -bool no

How to Hide the Dock Icon on Mac screenshot 2

Then use the following command to kill the Safari process:

killall Safari

When you reopen Safari, you'll see the app appear in your Mac's dock by default!

If you want to hide a different app, you just need to edit the path. So instead of:

/Applications/Safari.app/Contents/Info

You can hide Slack by:

/Applications/Slack.app/Contents/Info

Why Hide the Dock Icon?

Depending on how and when you use your Mac, there may be some applications that you want to always run. This could be something like a remote desktop server or a program that needs to be open to receive hotkeys, automation commands, or shutdown commands.

If one of these tasks doesn't have an option to show a menu bar icon instead of a dock icon, it can cause unnecessary clutter in your dock. Clean it up by hiding the icon using the command above!

FAQ

What should I prepare before working with Hide App Icons in Mac Dock Even When Running on?

Review the requirements, back up important data when relevant, and confirm that your device, account, or software supports the steps in the guide.

What should I do if a step does not work?

Repeat the step carefully, verify each setting, restart the affected device or application, and check for newer compatibility information.

Is the process safe?

The process is generally safe when the instructions are followed carefully. Avoid unofficial downloads and stop before making changes that could affect important data.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.