everyday mac tools

Clear recent files on a Mac: Finder Recents, menus and Open Recent

· 6 min read

How to clear recent files on a Mac depends on which list you mean, because there are three. Choose Apple menu, Recent Items, Clear Menu for the system list; choose File, Open Recent, Clear Menu inside each app for that app’s list; and for Finder’s Recents, which has no clear command at all, untick Recents in Finder, Settings, Sidebar. To stop the first two filling up again, set “Recent documents, applications, and servers” to None in System Settings, Desktop & Dock.

That covers the quick fix. The rest of this guide explains why Finder’s Recents behaves differently from the others, and why clearing lists is a weaker privacy step than it feels.

Finder Recents is a saved search, not a folder

Recents looks like a folder in the sidebar, but nothing is stored in it. It is a saved Spotlight search built into Finder. On macOS 15 Sequoia its query is short: every document, archive or other content file in your account that has a “last opened” date, newest first. There is no time limit in that query. A PDF you opened once three years ago is still in Recents, just a long way down.

The date lives on each file. macOS records it when an app opens the file, and Spotlight reads it from there. You can see it in Terminal:

mdls -name kMDItemLastUsedDate ~/Documents/lease.pdf

That is why there is no “Clear Recents” button. Emptying Recents would mean wiping a date from every file you have ever opened. And be careful with the obvious workaround: the items in Recents are the real files, so selecting one and pressing Command-Delete moves the actual document to the Trash, not just its entry.

What you can do instead:

  • Take it out of the sidebar. Choose Finder, Settings (Finder, Preferences before macOS 13 Ventura), click Sidebar and untick Recents. Or Control-click Recents in the sidebar and choose Remove from Sidebar. Open and Save dialogs share the Finder sidebar, so it normally disappears from them too.
  • Stop new windows opening on it. In Finder, Settings, General, change “New Finder windows show” to your home folder, Documents or Desktop. Many Macs still have this set to Recents, so anyone who clicks the Finder icon sees your latest files first.
  • Keep a folder out of it for good. Because Recents is a Spotlight search, a folder on Spotlight’s privacy list drops out of Recents along with everything else Spotlight does. Keep private files out of Spotlight search on a Mac covers that setting and its side effects.

Hiding Recents from the sidebar does not remove it. Go, Recents (Shift-Command-F) still opens it for anyone who knows the shortcut.

If you liked having recent files to hand, build a replacement you control. In Finder, choose File, New Smart Folder, pick the folder to search next to “Search:”, click the plus button at the right, set the first menu to “Last opened date” and the next to “within last” 7 days. Click Save, keep “Add To Sidebar” ticked, and give it a name. It shows only what you chose, from where you chose.

How to clear recent files on a Mac from the Apple menu

Click the Apple menu and point at Recent Items. macOS keeps three short lists there: applications, documents and servers you connected to. Clear Menu at the bottom empties all three.

How many items each list holds is a setting:

  1. Open System Settings and click Desktop & Dock.
  2. Scroll down past the Dock settings to the window options.
  3. Set “Recent documents, applications, and servers” to None, or to a lower number such as 5.

On macOS 12 Monterey and earlier, the same control is in System Preferences, General, labeled “Recent items”.

None does more than empty the Apple menu. In most apps built on macOS’s standard document handling (TextEdit, Preview, Pages, Numbers, Keynote and many others), the same number caps File, Open Recent, so None leaves those menus empty as well. Open one app afterwards and check, since apps are free to ignore it.

Two neighbors in the same pane are worth a look while you are there:

  • Show suggested and recent apps in Dock adds up to three recently used apps to the Dock. Untick it if you would rather the Dock showed only what you put there.
  • Close windows when quitting an application. With this on, apps do not reopen the documents that were open when you quit them. Without it, opening Preview can bring yesterday’s bank statement straight back onto the screen.

Each app’s Open Recent list

Most apps that open documents have File, Open Recent, and Clear Menu sits at the bottom of that submenu. It clears only that app’s list, so repeat it in each app you care about. The recent documents you see when you Control-click an app’s icon in the Dock usually come from the same list and clear with it.

Some apps keep their own history instead of using the macOS list. Office suites, code editors, media players and creative apps often show recent files on a start screen or in a sidebar of their own. Those need clearing inside the app, usually by right-clicking an entry or looking in the app’s settings. The Desktop & Dock setting does not reach them.

Finder has one more list of its own: Go, Recent Folders, Clear Menu.

The macOS lists are stored in ~/Library/Application Support/com.apple.sharedfilelist/. On Sequoia you will find files for recent documents, applications and servers there, plus a folder holding one file per app. A background process manages them, so use the Clear Menu commands rather than deleting files underneath it; they do the same job through the front door.

Clearing a list is not hiding a file

Every step above removes signposts. The documents themselves are still where they were, still found by Spotlight, and still drawn as thumbnails in any Finder window that shows them. The lists also fill up again the next time you open something. Quick Look and thumbnails covers the preview side of that.

If the real worry is someone using your Mac and seeing what is in a set of files, cleaning up after yourself every time is the wrong tool. Hushbox locks a file or folder where it sits, from the Finder right-click menu (Lock with Hushbox), and while an item is locked its contents stay out of Spotlight, Finder Recents and Quick Look previews and thumbnails. Its limits are worth knowing before you rely on it: the locked item’s name still shows in its folder, and other apps’ Open Recent menus may still remember names of files you opened before locking them, so clear those once as described above. It also does not replace FileVault, which protects the whole disk when the Mac is off.

Questions

Does clearing Recent Items delete my files? No. Clear Menu empties the list and nothing else. The one move to avoid is deleting an item while you are looking at Finder’s Recents, because that moves the real file to the Trash.

Why do files keep coming back in Finder Recents? Recents is a live search for files with a last-opened date, so any file you open goes straight back to the top. Hide Recents from the sidebar, or keep private files in a folder that is on Spotlight’s privacy list.

Can I remove just one file from Finder Recents? Finder has no command for it. Moving the file into a folder on Spotlight’s privacy list takes it out, and it stays out while it lives there.

How do I stop my Mac keeping recent files at all? Set “Recent documents, applications, and servers” to None in System Settings, Desktop & Dock, and turn off “Show suggested and recent apps in Dock”. Finder still notes when each file was last opened; there is no setting for that, which is why hiding Recents is the practical answer.