How to Add Recent Items to the Mac Dock in 2026

·
6 min read

Switching to Mac is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Reopening recent apps from the Dock should save time, but Apple’s built-in option only handles applications. Recent documents still require the Apple menu, Finder, or a custom Dock stack.

The good news is that macOS gives you several workable options. Start with the built-in setting, then use the Terminal method if you want documents, servers, or favorite locations near the Trash.

Turn On Recent Apps in the Dock

The built-in Recent Apps section requires no commands and is the safest place to start. It automatically displays a small selection of apps you’ve recently opened.

  1. Open System Settings.
  2. Select Desktop & Dock.
  3. Turn on Show suggested and recent applications in Dock.
System Settings > Desktop & Dock with Show suggested and recent applications in Dock toggled on and the Recent Apps section visible in the Dock

Recent apps appear between your pinned apps and the Downloads and Trash area. Click an icon to reopen that app.

macOS manages this section for you, so you can’t choose which apps appear. It also doesn’t show documents. That’s a frustrating limitation if you’re trying to resume work on a specific PDF or spreadsheet.

You can disable the section from System Settings > Desktop & Dock if it makes the Dock feel crowded.

Open Recent Items From the Apple Menu

For occasional access, Apple’s Recent Items menu is faster than configuring another Dock stack.

  1. Open the Apple menu.
  2. Select Recent Items.
  3. Choose an item under Applications or Documents.

Select Clear Menu at the bottom when you want to reset the list. Clearing it doesn’t change Finder’s Recents view, which uses Spotlight search data.

Add a Recent Items Stack With Terminal

The hidden Recent Items stack is more capable than Apple’s Recent Apps section. It can display recent applications, documents, servers, and favorite locations.

This method changes a Dock preference and restarts the Dock process. It doesn’t delete your pinned apps or files, but there’s always a chance Apple could remove the undocumented option in a future macOS release.

  1. Open Terminal from Applications > Utilities, or search for it with Spotlight.
  2. Paste the following command on one line:
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = {"list-type" = 1; }; "tile-type" = "recents-tile";}' && killall Dock
  1. Press Return.
Terminal window showing the defaults write com.apple.dock persistent-others command for a recents-tile followed by killall Dock, with the completed command highlighted

The Dock disappears briefly while macOS restarts it. A new stack then appears near the Trash, usually configured for Recent Applications.

So far, this stack works as expected once it’s in place. The main drawback is the Terminal setup, which Apple doesn’t expose anywhere in System Settings.

Choose What the Stack Displays

You can change the stack’s contents without running another command.

  1. Control-click or right-click the new stack.
  2. Choose one of the available content categories:

Recent ApplicationsRecent DocumentsRecent ServersFavorite VolumesFavorite Items

The exact grouping or submenu wording can vary by macOS version, but the available categories remain recognizable.

Dock context menu for a Terminal-created Recent Items stack with Recent Applications, Recent Documents, Recent Servers, Favorite Volumes, and Favorite Items visible

Selecting Recent Documents turns the stack into a quick launcher for files you’ve opened recently.

Mac Dock with a Recent Documents stack expanded beside the Trash and several recently opened files visible

This is the version I’d use on a work Mac. Recent documents are usually harder to retrieve than apps, which already have pinned icons and Spotlight search.

Add More Than One Recent Items Stack

You can keep separate stacks for applications, documents, and servers. Run the same command once for each additional stack:

defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = {"list-type" = 1; }; "tile-type" = "recents-tile";}' && killall Dock

After each stack appears, right-click it and select the content category you want. Two or three stacks can be useful, but adding more quickly turns the right side of the Dock into a mess.

Use Finder Recents for Recently Opened Files

Finder’s Recents view is a better option when you want a larger, searchable list of files.

  1. Open Finder.
  2. Select Recents in the sidebar.
  3. Choose View > Group By > Date Last Opened.

This groups files around the time you used them. Finder Recents can contain far more results than a Dock stack, so grouping by date keeps the view manageable.

If Recents isn’t visible, open Finder > Settings > Sidebar, then enable it.

Create a Custom Recent Files Smart Folder

A Smart Folder gives you tighter control over the files shown. For example, you can create one containing PDFs opened within the last seven days, then place that saved search in the Dock.

  1. Open Finder.
  2. Choose File > New Smart Folder.
  3. Select the search location, such as This Mac.
  4. Click the + button beneath the search field.
  5. Set criteria such as Kind is PDF.
  6. Add another criterion for a recent last-opened date.
Finder > File > New Smart Folder with This Mac selected and search criteria for PDF files opened within the last seven days
  1. Click Save, name the Smart Folder, and choose a location you’ll keep permanently.
Finder Smart Folder Save dialog with a descriptive name entered and Add To Sidebar enabled
  1. Drag the saved Smart Folder to the right side of the Dock, beside Downloads and Trash.

You can add custom folders to the Dock the same way. Folder stacks only work on the right side of the Dock’s divider.

Right-click the Smart Folder’s Dock icon and choose Grid if the Fan view makes filenames difficult to scan.

Dock context menu for a saved Smart Folder with Display as Stack and View content as Grid selected

A Smart Folder requires more setup, but its results match your actual workflow. I’d choose it over the Terminal stack when file type and date filters matter.

Change How Many Recent Items Appear

macOS includes a setting that controls the number of recent documents, applications, and servers retained in system menus. Its placement can vary by current macOS version, so use the System Settings search field to find Recent Items or Recent documents, applications, and servers.

System Settings search results for Recent Items with the current control for the number of recent documents, applications, and servers highlighted

Changing this value can affect the Apple menu and Terminal-created stack. It doesn’t limit Finder Recents because that view is generated from search data.

Remove a Recent Items Stack

Removing a stack doesn’t delete its documents or applications.

  1. Control-click or right-click the stack.
  2. Select Remove from Dock.
Dock context menu for a Recent Items stack with Remove from Dock highlighted

For the built-in Recent Apps section, turn off Show suggested and recent applications in Dock under System Settings > Desktop & Dock.

If the Recent Items Stack Doesn’t Appear

Try these fixes in order:

  1. Confirm that you pasted the Terminal command on one line.
  2. Run killall Dock separately and press Return.
  3. Look immediately to the left of the Trash after the Dock reloads.
  4. Run the full command again if a macOS update removed the stack.

The built-in Recent Apps setting and the Terminal-created stack are separate features. Turning on Show suggested and recent applications in Dock won’t create a stack beside the Trash.

For apps alone, Apple’s built-in Recent Apps section is the solid choice. The Terminal stack is worth trying when you need recent documents or servers, while a Smart Folder gives you the best control over exactly which files appear.