How-To

How to Clear the Clipboard on Mac (And Why You Should)

Passwords, credit card numbers, private messages — your clipboard remembers what you copy. Here's how to clear it on any version of macOS, plus how to keep sensitive data out of your clipboard history automatically.

How to Clear the Clipboard on Mac (And Why You Should)
How-To | | 4 min read

You just copied a password from your password manager. Or a credit card number from an email. Or a private message you needed to forward. Now that sensitive text is sitting on your clipboard, ready to be pasted — accidentally or otherwise — into any app, any text field, any search bar.

On macOS, every running application can read your clipboard without permission. There’s no prompt, no notification, no access control. Whatever you copied last is available to everything on your system.

Clearing your clipboard takes seconds. Here’s why it matters and four ways to do it.

Why you should clear your clipboard

Most people never think about clearing their clipboard. But consider what you copy in a typical day:

  • Passwords from your password manager
  • Credit card numbers from emails or documents
  • API keys and tokens while developing
  • Private messages you’re forwarding to someone
  • Personal information like addresses, phone numbers, SSNs

All of that sits on your clipboard until you copy something else. And on macOS 26 Tahoe, it’s worse — clipboard history keeps those items accessible for hours or even days.

Your clipboard is the least-secured place on your entire computer. Every app can read it, nothing logs access, and most people never clear it.

The risk isn’t theoretical. Clipboard-sniffing malware exists. And even without malware, an accidental paste into a Slack channel or a search bar can expose data you assumed was gone.

4 ways to clear your clipboard on Mac

Method 1: Copy an empty space

The simplest approach. Open any text field — Notes, Spotlight, a browser address bar — select nothing (or a single space), and press ⌘C. Your clipboard now holds a blank space instead of your sensitive data.

This is fast but not thorough. Some clipboard managers may still retain the previous item in history.

Method 2: Use Terminal

This is the cleanest method. It sets your clipboard to truly empty.

Terminal command

Clear clipboard with Terminal

  1. Open Terminal (Applications → Utilities → Terminal)
  2. Type: pbcopy < /dev/null
  3. Press Enter

That’s it. The pbcopy command writes to your clipboard, and /dev/null gives it nothing to write. Your clipboard is now empty — not a space, not a blank character, genuinely empty.

Method 3: Restart your Mac

Restarting clears the standard clipboard automatically. This is overkill for clipboard clearing alone, but worth knowing — if you’ve restarted your Mac, your last copied item is gone.

Note: on macOS 26, clipboard history may survive restarts depending on your Spotlight settings. The current clipboard item is cleared, but previously copied items might still appear in Spotlight’s clipboard history.

Method 4: Use Automator or Shortcuts

You can create a Quick Action or Shortcut that runs pbcopy < /dev/null with a keyboard shortcut. This gives you one-key clipboard clearing without opening Terminal.

In Shortcuts.app, create a new shortcut with a “Run Shell Script” action, enter pbcopy < /dev/null, and assign a keyboard shortcut in System Settings.

Clearing clipboard history on macOS 26 Tahoe

macOS 26 introduced clipboard history through Spotlight — press ⌘ + Space + 4 to see everything you’ve copied recently. Items expire after 8 hours by default (configurable up to 7 days in System Settings → Spotlight).

This means clearing your current clipboard with pbcopy < /dev/null is no longer enough. Your previous copies are still in Spotlight’s history.

To clear your clipboard history on macOS 26:

  1. Open System Settings → Spotlight
  2. Scroll to the clipboard history section
  3. Click Clear Clipboard History

There’s no keyboard shortcut for this, and there’s no way to selectively delete individual items. It’s all or nothing.

Automate clipboard privacy with excluded apps

Clearing your clipboard manually works, but it requires you to remember to do it every time. The better approach is preventing sensitive data from entering your clipboard history in the first place.

Better approach

QuietClip lets you mark specific apps as excluded from clipboard history. Copies from 1Password, Bitwarden, your banking app, or any other sensitive application are never recorded. You get full clipboard history for everything else — without the security risk.

This is the difference between a clipboard tool and a clipboard tool built with privacy in mind. macOS 26’s built-in history records everything indiscriminately. QuietClip gives you control over what gets saved and what doesn’t.

You still copy with ⌘C and paste with ⌘V. Nothing changes about your workflow. But when you copy a password from 1Password, it never touches your history. When you copy a paragraph from a document a minute later, it’s saved and searchable as usual.

Next step

Clipboard history without the security risk.

QuietClip stores your clipboard history locally on your Mac — with excluded apps to keep sensitive data out automatically. Free to start, $8.99 once for Pro.

Download QuietClip Free

Frequently asked questions

How do I clear my clipboard on Mac with a keyboard shortcut?
There's no built-in keyboard shortcut to clear the clipboard on Mac. The fastest method is to copy an empty space — select a blank area in any text field and press ⌘C. Alternatively, open Terminal and run pbcopy < /dev/null to clear it instantly.
Does restarting my Mac clear the clipboard?
Yes. Restarting or shutting down your Mac clears the standard clipboard. However, on macOS 26 Tahoe, your clipboard history may persist through restarts depending on your Spotlight settings. You'll need to clear that separately in System Settings → Spotlight.
Can apps see what's on my clipboard?
Yes. On macOS, any running application can read your clipboard contents without asking permission. This is why clearing your clipboard after copying passwords or sensitive data is a good security practice.
How do I stop passwords from appearing in clipboard history?
On macOS 26, there's no built-in way to exclude specific apps from clipboard history. QuietClip solves this with an excluded apps feature — you can tell it to never record copies from password managers like 1Password or Bitwarden.

Try QuietClip free

A privacy-first clipboard manager for macOS. Your data stays on your device, always.

Download for macOS

Related reads