How to clear the clipboard on a Mac
macOS has no “clear clipboard” button. The quickest way: copy something harmless, like a single space. The clipboard holds only one item, so the old one is replaced. If you want it truly empty, one Terminal command does it.
Clear the clipboard in Terminal
Open Terminal (in Applications > Utilities, or via Spotlight) and run:
pbcopy < /dev/null
This puts nothing on the clipboard. Paste afterwards and nothing happens. It is safe: it only touches the clipboard, not files.
Clear it without Terminal
Select a single space or a harmless word anywhere and press ⌘ C. The previous content is gone from the clipboard. Check with Finder > Edit > Show Clipboard.
Clear clipboard history in macOS Tahoe
macOS 26 Tahoe can keep a short clipboard history in Spotlight (⌘ Space, then ⌘ 4). Clearing the clipboard does not remove items that are already in that history. Items there expire on their own after 30 minutes, 8 hours or 7 days, set in System Settings > Spotlight; turning the feature off there stops the recording. For sensitive content, the short 30-minute setting is the safer choice.
Clear history in a clipboard manager
If you use a clipboard manager, the copy also lives in its history. In Duplia you can delete a single clip from the panel or let history expire automatically after a day, a week or a month. Better still is not recording it in the first place:
- Duplia never saves anything a password manager marks as confidential (
org.nspasteboard.ConcealedType). 1Password, Bitwarden and most others set this marker when you copy a password. - Any app can be excluded completely in Duplia's settings, so nothing copied there is kept.
- Everything stays in a local database on your Mac. No cloud, no sync.
More on how this works in Your clipboard is none of our business.
Do other apps see my clipboard?
Any app that is running can read the clipboard. That is why clearing it after copying a password is a good habit, and why most password managers clear it for you automatically after a short delay.
Frequently asked
How do I clear the clipboard on a Mac?
Copy something harmless, like a single space, to replace what is there. To empty it completely, run pbcopy < /dev/null in Terminal.
Does restarting a Mac clear the clipboard?
Yes, the clipboard is emptied when you log out or restart. A clipboard manager's history and macOS Tahoe's Spotlight clipboard history are stored separately and stay until they expire or you delete them.
How do I clear clipboard history on macOS Tahoe?
Items in Spotlight's clipboard history expire after 30 minutes, 8 hours or 7 days, set in System Settings > Spotlight. Turning the clipboard feature off there stops new items from being recorded.
Do clipboard managers save my passwords?
Good ones do not. Duplia skips anything a password manager marks as confidential and lets you exclude apps entirely. Check that your clipboard manager respects the org.nspasteboard.ConcealedType marker.
Related
Try Duplia free for 7 days
$9.99 once · no subscription · no account · macOS 14+ · Apple Silicon
Download Duplia for Mac