How to Clear the Clipboard on Mac (Including History)

Published on
Written by
Pastea Team
Reading time
6 min read

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 clearWhat to do
The current item waiting behind Command-VCopy harmless text, or run printf '' | pbcopy in Terminal
Spotlight clipboard history on macOS Tahoe or laterOpen Spotlight, press Command-4, choose More → Clear History
One item in PasteaFind the clip, right-click it, and choose Delete
All Pastea historyOpen 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.

The quickest no-Terminal method is to copy something harmless.

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.

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.

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.

macOS Tahoe 26 and later can keep recent clipboard history inside Spotlight.

To erase it:

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.

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.

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:

Be careful with broad controls. A full erase may also delete pinned items, saved snippets, or organized collections, depending on the app.

Pastea gives you both options.

Use this when one password, private URL, screenshot, or message entered history and the rest of the library should stay intact.

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.

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:

That takes less time than restarting and leaves less ambiguity.

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:

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.

Cleaning up after every password copy works, but prevention is safer.

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.

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.