How to Clear the Clipboard on Mac (Including History)
Clearing “the clipboard” on a Mac can mean three different things.
You may want to replace the item that Command-V would paste, erase the recent clipboard history saved by Spotlight, or delete the longer history stored by a clipboard manager. Those are separate stores. Clearing one does not necessarily clear the others.
Here is the short version:
| What you want to clear | What to do |
|---|---|
The current item waiting behind Command-V | Copy harmless text, or run printf '' | pbcopy in Terminal |
| Spotlight clipboard history on macOS Tahoe or later | Open Spotlight, press Command-4, choose More → Clear History |
| One item in Pastea | Find the clip, right-click it, and choose Delete |
| All Pastea history | Open Pastea → Settings → Privacy, then choose Erase History |
If you copied a password, token, private message, or customer data, clear both the current clipboard and any enabled history. Replacing the current item alone can leave the earlier value searchable.
Method 1: Replace the current clipboard item
The quickest no-Terminal method is to copy something harmless.
- Open TextEdit or another text field.
- Type a period, a space, or a disposable word.
- Select it.
- Press
Command-C.
The new copy replaces the item that a normal Command-V would paste.
This is useful on older versions of macOS that do not include Spotlight clipboard history. It is also the easiest way to replace the active item after copying a secret.
There is one important limitation: if clipboard history is enabled, the previous item may still exist in that history. Copying a period changes the current clipboard. It does not promise to erase every saved copy.
Method 2: Empty the current clipboard in Terminal
If you want an empty text clipboard rather than a throwaway character, open Terminal and run:
printf '' | pbcopy
pbcopy is included with macOS. It reads standard input and places that data on the general pasteboard, which is the clipboard most apps use. In this command, printf sends an empty string.
You will not see a success message. To check the result, run:
pbpaste
If the text clipboard is empty, the command prints nothing.
You can read the Mac's built-in documentation for both commands with:
man pbcopy
Do not confuse clearing the clipboard with clearing the Terminal window. The clear command only removes visible terminal output. It does not change what Command-V will paste.
Why not copy a space in Terminal?
You can. The practical difference is that copying a space leaves a real character on the clipboard, while sending an empty string with pbcopy leaves no visible text to paste.
For privacy, either method still needs the history check below. The current clipboard and clipboard history are not the same thing.
Method 3: Clear Spotlight clipboard history
macOS Tahoe 26 and later can keep recent clipboard history inside Spotlight.
To erase it:
- Press
Command-Spaceto open Spotlight. - Press
Command-4, or click the Clipboard button beside the search field. - Click the More button beside the search field.
- Choose Clear History.
Apple documents this control in its guide to searching clipboard history in Spotlight. Apple also warns that sensitive information may appear in the history, which is why Spotlight asks before enabling it the first time.
Clearing the history cannot be undone. If it contains something useful, save that item somewhere appropriate before erasing the list.
If the Clipboard button is missing
Check the macOS version in Apple menu → About This Mac.
Spotlight clipboard history requires macOS Tahoe 26 or later. On an earlier version, Finder can show the current clipboard item with Edit → Show Clipboard, but macOS does not provide the same searchable history.
If you are on Tahoe or later, open System Settings → Spotlight and check whether Clipboard Search is enabled.
Our Mac clipboard history guide explains the version differences and shortcuts in more detail.
Method 4: Delete clipboard-manager history separately
A clipboard manager keeps its own database. Clearing the current macOS clipboard does not automatically erase that database, and clearing Spotlight does not issue a delete command to every clipboard app.
Open each clipboard manager you use and check its history or privacy settings.
Look for two controls:
- Delete one item when only one copied value is sensitive.
- Erase all history when you want to reset the entire saved library.
Be careful with broad controls. A full erase may also delete pinned items, saved snippets, or organized collections, depending on the app.
How to clear Pastea clipboard history
Pastea gives you both options.
Delete one clip
- Open Pastea with
Shift-Command-V. - Search for the copied item.
- Right-click the clip.
- Choose Delete.
Use this when one password, private URL, screenshot, or message entered history and the rest of the library should stay intact.
Erase all Pastea history
- Open
Pastea → Settings. - Select Privacy.
- Find Erase history.
- Click Erase History.
- Confirm Erase All History.
This permanently deletes every saved clipboard item, including pinned clips, inline shortcuts, and items in lists. The lists and app settings remain, but their saved clips do not.
If iCloud sync is enabled, the deletion also applies to your other synced devices. That is useful when the goal is removal everywhere, but it means another device is not a backup for a mistaken erase.
Erasing Pastea's stored history does not mean you should ignore the active macOS clipboard. If the item is sensitive, replace or empty the current clipboard too.
Pastea stores clipboard history locally and only uses your private iCloud database when you enable sync. The complete deletion and storage boundaries are documented in the Pastea Privacy Policy.
Does restarting the Mac clear the clipboard?
Do not rely on a restart as a privacy control.
The current pasteboard may change when apps and services restart, but a restart is not a documented “erase every clipboard store” command. Spotlight history and a clipboard manager's saved database can persist independently.
Use the explicit controls instead:
- Replace or empty the current clipboard.
- Clear Spotlight history if it is enabled.
- Delete saved history in each clipboard manager.
That takes less time than restarting and leaves less ambiguity.
Does clearing the clipboard securely erase the data?
Clearing a clipboard removes it from the normal clipboard workflow. It does not prove that every byte has been securely overwritten everywhere it may have existed.
Copies can also exist in:
- the source and destination documents;
- Spotlight clipboard history;
- a third-party clipboard database;
- synced devices;
- iCloud or another sync service;
- Time Machine, filesystem snapshots, or other backups;
- application logs or form drafts.
Pastea's privacy policy notes that removed data may temporarily remain in backups or filesystem snapshots controlled by macOS or the user. That is normal for local applications and one reason not to use clipboard history as a password vault.
If a credential was exposed, clearing the clipboard is only cleanup. Rotate the password, token, or recovery code when the situation warrants it.
A better routine for sensitive copies
Cleaning up after every password copy works, but prevention is safer.
- Use a password manager that marks copied values as concealed and clears them after a short period.
- Exclude password managers, banking apps, and confidential work apps from third-party clipboard capture.
- Pause clipboard capture before handling secrets.
- Keep a finite history-retention period.
- Review sync before enabling it on shared or work-managed devices.
- Delete a sensitive clip as soon as you notice it.
Pastea can ignore specific apps and content types, exclude concealed items, and pause capture for a chosen period. Our clipboard-manager safety checklist covers the controls worth reviewing in any app.
Clear the store you actually mean
For an ordinary stale copy, replacing the current item is enough.
For something private, clear every layer that recorded it: the active clipboard, Spotlight history, and any clipboard manager you use. The distinction is easy to miss because all three are called “the clipboard,” but they do not share one delete button.
If you want clipboard history that is useful without becoming indefinite, Pastea lets you choose what it captures, how long it keeps ordinary clips, and when the entire history should be erased. Try Pastea for seven days and set those boundaries before the history fills up.
Sources
- Apple: Search your Clipboard history in Spotlight on Mac
- Apple: How to copy and paste on Mac
- macOS built-in
pbcopy(1)manual page (man pbcopy) - Pastea Help
- Pastea Privacy Policy
- Pastea Changelog




