How to clear the clipboard automatically on Mac
You copied a password this morning. It’s still there, waiting for the next ⌘V.
macOS keeps the last thing you copied until you copy something else. MacFixes empties the clipboard after a while, or when your Mac sleeps or locks.
Free in MacFixes.
What macOS gives you
The clipboard holds whatever you last copied until you copy over it, and there’s no setting to clear it. On macOS 26 Tahoe, Spotlight’s clipboard history forgets old items on its own, and from macOS 26.1 you can choose how long it keeps them and clear it in System Settings → Spotlight — but that’s the history, not what ⌘V pastes.
How MacFixes fixes it
- 1Turn on the fixOpen MacFixes Settings → Copy & Paste and turn on “Clear clipboard automatically” (or type its name into Search for a fix).
- 2Choose whenAfter a set time (5 minutes by default, from 1 minute to an hour), when the Mac goes to sleep, and when the screen locks. All three start on.
- 3Or clear it nowThe fix’s card in the menu bar panel has a Clear now button.
Why the last thing you copied hangs around
The clipboard on a Mac holds one thing: whatever you copied last. It stays there until you copy something else, log out or restart. There’s no timer and no setting to add one. So a password you copied from a password manager at nine in the morning, an account number from your bank or a private message you meant to forward can still be there at five in the afternoon, one ⌘V away from landing in the wrong chat.
To see what is on it right now, click the desktop to switch to Finder and choose Edit → Show Clipboard.
It can travel, too. With Handoff on, Universal Clipboard lets you paste what you copied on your Mac on a nearby iPhone, iPad or other Mac signed in to the same Apple Account, for a short time after you copy it. That’s handy, and it’s one more place a copied password can turn up.
Every way to clear the clipboard on a Mac
Copy something harmless over it. Select a single space or any word and press ⌘C. Whatever was there before is gone. It’s the quickest way, and the easiest to forget.
Use Terminal. Typing pbcopy < /dev/null and pressing Return replaces the clipboard with nothing.
Log out or restart. The clipboard doesn’t survive either.
Let your password manager handle its own copies. Many password managers can clear a password they copied after a set number of seconds. Look in its settings for an option mentioning the clipboard. That covers only what the password manager copied, not a card number you copied from a web page or a code from an email.
Clipboard history is a separate thing. On macOS 26 Tahoe, Spotlight keeps a clipboard history of its own, and from macOS 26.1 you clear it in System Settings → Spotlight. Clearing that history doesn’t empty what ⌘V pastes.
Clearing it without having to remember
Every method above works only if you remember, and you won’t remember on the day it matters. MacFixes empties the clipboard on its own: after something has sat there for a while, when your Mac goes to sleep, and when the screen locks. Those are the moments you walk away from the Mac.
Locking the screen is the habit to pair it with. Press ⌃⌘Q, or choose Lock Screen from the Apple menu, whenever you step away. With the fix on, the clipboard empties at the same moment, so the first ⌘V when you come back isn’t this morning’s password.
The fix also has its own card in the menu bar panel.
What clearing the clipboard doesn’t reach
It empties the clipboard, and only the clipboard. A password you already pasted into a note, a chat or a document is still there. A clipboard manager you installed may also have saved it in its own history; check its settings for a way to leave passwords out.
MacFixes’ own clipboard history never records anything a password manager marks as secret, and everything except pinned items is kept in memory only. Links you copy can give away something too, in the tracking tags that say where you found them: remove tracking from links strips tags like utm_source from links you copy.
Sharing your screen is the other moment a stray copy gets seen, and the clipboard isn’t the only thing on show: the file names on your desktop are too. Hide the desktop icons before the call and bring them back after.
Permissions, and turning it off
To stop using it, open MacFixes Settings → Copy & Paste and use the switch on the “Clear clipboard automatically” row.
Questions
How do I clear the clipboard on a Mac?
Copy something harmless over it, like a single space, or run pbcopy < /dev/null in Terminal. Logging out or restarting empties it too. MacFixes can do it for you after a while, or when the Mac sleeps or locks.
How do I see what’s on my clipboard on a Mac?
In Finder, choose Edit → Show Clipboard.
Does restarting a Mac clear the clipboard?
Yes. The clipboard doesn’t survive a restart or logging out.
Does it clear Spotlight’s clipboard history on macOS 26?
No. That history is Spotlight’s own; clear it in System Settings → Spotlight.
Will it clear something I just copied?
No. The timer counts from your last copy, so nothing is cleared until it has sat there for the time you chose.
Does it clear MacFixes’ clipboard history too?
Only if you turn on “Clear clipboard history too”, and pinned items are always kept.
More fixes macOS doesn’t give you
One of 47 fixes and 10 apps in MacFixes. Every fix · Every app · Something else your Mac won’t do? Request it.
Clear the clipboard automatically with MacFixes
MacFixes has 47 fixes for things macOS gets wrong or leaves out. Add only the ones you want. This one is free. macOS 14 Sonoma or later.