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.
- Open System Settings.
- Select Desktop & Dock.
- Turn on Show suggested and recent applications in 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.
- Open the Apple menu.
- Select Recent Items.
- 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.
- Open Terminal from Applications > Utilities, or search for it with Spotlight.
- 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
- Press
Return.
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.
- Control-click or right-click the new stack.
- Choose one of the available content categories:
– Recent Applications – Recent Documents – Recent Servers – Favorite Volumes – Favorite Items
The exact grouping or submenu wording can vary by macOS version, but the available categories remain recognizable.
Selecting Recent Documents turns the stack into a quick launcher for files you’ve opened recently.
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.
- Open Finder.
- Select Recents in the sidebar.
- 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.
- Open Finder.
- Choose File > New Smart Folder.
- Select the search location, such as This Mac.
- Click the
+button beneath the search field. - Set criteria such as Kind is PDF.
- Add another criterion for a recent last-opened date.
- Click Save, name the Smart Folder, and choose a location you’ll keep permanently.
- 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.
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.
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.
- Control-click or right-click the stack.
- Select Remove from Dock.
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:
- Confirm that you pasted the Terminal command on one line.
- Run
killall Dockseparately and pressReturn. - Look immediately to the left of the Trash after the Dock reloads.
- 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.