How to clear the clipboard on a Mac
Copied a password or an address you'd rather not leave on the clipboard? Copy something else and it's replaced. With Cofferly, a clipboard manager for Mac, a sensitive item leaves the clipboard by itself 15 seconds after you paste it.
With what's on your Mac
Your Mac has no Clear button for the clipboard, and it holds one thing at a time. Two ways to empty it:
- Copy something harmless, a single word say. It replaces what was there.
- Or, in Terminal, run
pbcopy < /dev/null. The clipboard is then empty.
If you turned on Spotlight's clipboard history in macOS 26 Tahoe, it keeps what you copied for the time you chose in System Settings › Spotlight (30 minutes, 8 hours or 7 days, since macOS 26.1), whatever is on the clipboard now. More about it: how to see your clipboard history on a Mac.
As of macOS 26.1. Your Mac's System Settings › Spotlight shows what's set.
With Cofferly
Cofferly keeps what you copy so you can find it again. For what you'd rather not leave lying around:
- Mark it sensitive with ⇧⌘S. It's masked, it opens only with Touch ID, each time, and after you paste it, it leaves the clipboard after 15 seconds, unless you chose another time.
- Copy passwords in your password manager: Cofferly ignores password managers, so what you copy there stays out.
- One-time codes and sign-in links disappear 10 minutes after you copy them, unless you pin them.
- Delete an item from your history with ⌘⌫; ⌘Z brings it back if you change your mind.
- Pause capturing from the menu bar for 15 minutes, 30 minutes, an hour, or until you resume.
Emptying your Mac's clipboard doesn't take an item out of Cofferly's history: delete it there too. More in the vault.
If you’re wondering
Is there a button to clear the clipboard on a Mac?
No. Copy something else, or run pbcopy < /dev/null in Terminal, and what was on the clipboard is gone from it.
Does emptying the clipboard clear Spotlight's clipboard history?
No. Once it's on, Spotlight's clipboard history keeps what you copied for the time you chose in System Settings › Spotlight, whatever is on the clipboard now.
How do I keep a password out of Cofferly?
Copy it in your password manager: Cofferly ignores password managers. Or mark it sensitive with ⇧⌘S: it's masked, opens only with Touch ID, each time, and leaves the clipboard 15 seconds after you paste it.
Get Cofferly
Download for MacFree for macOS 26 and later.