The macOS dock is a versatile tool that you can customize to your liking. It can also save you a trip to the Finder. Here’s how you can pin any folder or file and access it right from your Mac’s dock.

Open the Finder app and visit the location of the folder or the file that you’d like to add to your Mac’s dock.

RELATED: How to Customize and Tweak Your Mac's Dock

To pin a folder that’s in your “Favorites” list on the left, you can simply right-click it and select “Add to Dock.”

Add favorite folder to Mac dock

For files and folders not found in Favorites, single-click the file or the folder, then select the “File” menu option found in the top-left corner of your screen.

Visit Finder's file menu

Hold down the “Shift” key on your keyboard to reveal an “Add to Dock” option. Click that option and a shortcut for your file or folder will be created in the dock.

Add folder and file to Mac dock

Advertisement

Alternatively, you can highlight the file or folder, then press the Ctrl+Cmd+Shift+T keyboard combination. You can also drag the file or the folder down to the right side of the dock.

Add folders to Mac dock

If you have appended a folder to the dock, there are a couple more adjustments you can make to it.

By default, a folder appears as a stack of thumbnails of its files. To hide the content and switch to the standard folder icon, right-click the folder in the dock, and under “Display As,” choose “Folder.”

Change display setting for folder in Mac dock

Similarly, when you click a folder from the dock, it opens up the list of files in a fan-like layout. To change that to a regular list or a grid, right-click the folder and select “Grid” or “List” from the “View Content As” menu.

Change view content setting for folder in Mac dock

You also have the option to pick how the folder’s files should be sorted in the dock. To do that, right-click the folder and tweak the “Sort By” preference.

Change sorting setting for folder in Mac dock

For removing a file or a folder from the dock, right-click it and navigate to Options > Remove From Dock.

Remove a file or folder from Mac dock

RELATED: How to Open Finder with a Keyboard Shortcut on Mac

Shubham Agarwal Shubham Agarwal
Shubham is a freelance technology journalist from Ahmedabad, India. He has been covering technology for over four years for publications such as Digital Trends, HuffPost, Lifehacker, and more. When he's not writing about whatever's trending in the world of technology, you will find him either exploring a new city with his camera, binge-reading non-fiction books, and novels or playing the latest game on his PlayStation.
Read Full Bio »

The above article may contain affiliate links, which help support How-To Geek.