Continuing our recent how-to focus on customizing the macOS Dock, in this article we're going to share with you a method for adding a recent or favorite items stack to the right of the Dock divider.

macos dock recent apps stack
Most users are aware that you can drag any folder into the right-hand side of the Dock to turn it into a stack, but the following lesser-known trick creates a unique stack type containing your most recently opened applications, documents, or servers.

Alternatively, you can also set this unique type of stack to show the Favorite folder locations and Device links that appear in your Finder's sidebar.

favorite finder locations dock stack
Unfortunately, you can't use stacks if you have the Dock set up to show only actively running apps. With that caveat in mind, simply follow the steps below to create the stack type that best suits your workflow. 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 Create a Recent or Favorite Items Stack

  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. Copy the following command text and paste it into Terminal at the prompt, then press Enter: defaults write com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'; killall Dock
    recent apps stack dock terminal command

  3. Repeat the command (hit the up arrow and press Enter) to create additional recent or favorite stacks in the Dock as required.

  4. To choose whether a new stack contains certain types of favorite items or recent items, right-click (or Ctrl-click) the stack and select one of the options in the pop-up menu.
    select recent or favorite item dock stack

  5. To change the default Grid view, right-click (or Ctrl-click) the stack and select one of the other options under View content as in the pop-up menu.

Note that you can change the number of items shown in a recent items stack in the following way: Click the Apple () logo in the menu bar, select System Preferences..., open the General preference pane, and choose another number from the Recent items dropdown menu.

recent items shown system preference
To remove a Recent or Favorite Items stack from your Dock, simply right-click (or Ctrl-click) it and select Remove from Dock. Alternatively, click and drag the stack out of the Dock then let go of the mouse button to delete it.

Top Rated Comments

sipkhoon Avatar
81 months ago
I upgraded my iMac to macOS 10.15 Catalina, and my recently used apps Stacks on the Dock was removed. Failed to add it back using the terminal command.
Score: 2 Votes (Like | Disagree)
CJM Avatar
101 months ago
[doublepost=1522662568][/doublepost]Alternately, especially if your not a geek, you can download the 'Onyx', a free app from such sites as MacUpdate and just click a box that is listed under the 'Parameters' heading and the sub-heading 'Dock. It also allows you to put the folder on the left side. I also believe 'Tinker Tool' which is a free subset APP of 'Onyx' and just contains the 'Parameters' tool.
Best to use as few apps as possible.

Thanks for the tip, Macrumors. I find that choosing 'recent servers' shows duplicates. I wonder if there's a way to prevent that.
Score: 1 Votes (Like | Disagree)
abelara@gmail.c Avatar
81 months ago

I upgraded my iMac to macOS 10.15 Catalina, and my recently used apps Stacks on the Dock was removed. Failed to add it back using the terminal command.
Same with my MBP. Sadly.

Anyone have a work around? Over the years I've really become used to having a stack with my recent docs. Would love a way to get it back.
Score: 1 Votes (Like | Disagree)

Popular Stories

iOS 26

iOS 26.4 and iOS 27 Features Revealed in New Leak

Friday December 12, 2025 10:56 am PST by
Macworld's Filipe Espósito today revealed a handful of features that Apple is allegedly planning for iOS 26.4, iOS 27, and even iOS 28. The report said the features are referenced within the code for a leaked internal build of iOS 26 that is not meant to be seen by the public. However, it appears that Espósito and/or his sources managed to gain access to it, providing us with a sneak peek...
apple beta 26 lineup

Apple Leak Confirms Work on Foldable iPhone, AirTag 2, and Dozens More Devices

Monday December 15, 2025 2:05 pm PST by
Last week, details about unreleased Apple devices and future iOS features were shared by Macworld. This week, we learned where the information came from, plus we have more findings from the leak. As it turns out, an Apple prototype device running an early build of iOS 26 was sold, and the person who bought it shared the software. The OS has a version number of 23A5234w, and the first...
Apple Logo Top Half

Early iOS 26 Software Leak Uncovers Dozens of Upcoming Apple Features

Monday December 15, 2025 3:05 pm PST by
Software from an iPhone prototype running an early build of iOS 26 leaked last week, giving us a glimpse at future Apple devices and iOS features. We recapped device codenames in our prior article, and now we have a list of some of the most notable feature flags that were found in the software code. In some cases, it's obvious what the feature flags are referring to, while some are more...
Apple Foldable Thumb

Leak Reveals Foldable iPhone Details

Monday December 15, 2025 9:09 am PST by
The first foldable iPhone will feature a series of design and hardware firsts for Apple, according to details shared by the Weibo leaker known as Digital Chat Station. According to a new post, via machine translation, Apple is developing what the leaker describes as a "wide foldable" device, a term used to refer to a horizontally oriented, book-style foldable with a large internal display....
iOS 26

Apple Releases iOS 26.2 With Alarms for Reminders, Lock Screen Changes, Enhanced Safety Alerts and More

Friday December 12, 2025 10:10 am PST by
Apple today released iOS 26.2, the second major update to the iOS 26 operating system that came out in September, iOS 26.2 comes a little over a month after iOS 26.1 launched. ‌iOS 26‌.2 is compatible with the ‌iPhone‌ 11 series and later, as well as the second-generation ‌iPhone‌ SE. The new software can be downloaded on eligible iPhones over-the-air by going to Settings >...
iOS 26

iOS 26.3 Beta 1 Features: What's New So Far

Monday December 15, 2025 4:23 pm PST by
Apple is testing iOS 26.3, the next version of iOS 26 that will launch around January. Since iOS 26.3's testing is happening over the holidays, it is a smaller update with fewer features than we've seen in prior betas. We've rounded up what's new so far, and we'll add to our list with subsequent betas if we come across any other features. Transfer to Android Apple is making it simpler...
iOS 26

iOS 26.2 Coming Soon With These 8 New Features on Your iPhone

Thursday December 11, 2025 8:49 am PST by
Apple seeded the second iOS 26.2 Release Candidate to developers earlier this week, meaning the update will be released to the general public very soon. Apple confirmed iOS 26.2 would be released in December, but it did not provide a specific date. We expect the update to be released by early next week. iOS 26.2 includes a handful of new features and changes on the iPhone, such as a new...
airpods max 2024 colors

AirPods Max 2 Likely to Offer These 10 New Features

Monday December 15, 2025 7:41 am PST by
Apple released the AirPods Max on December 15, 2020, meaning the over-ear headphones launched five years ago today. While the AirPods Max were updated with a USB-C port and new color options last year, followed by support for lossless audio and ultra-low latency audio this year, the headphones lack some of the features that have been introduced for newer generations of the regular AirPods and the ...