Updated: October 2026 • 3 min read • macOS Sonoma, Sequoia & Ventura

How to Clear Clipboard on Mac (Fastest Ways to Wipe Copied Data & History)

Just copied a sensitive bank password, personal token, or a massive 200MB file and want to purge it from memory? Here is how to completely clear your clipboard on macOS in seconds.

Quick Answer: How to clear your Mac clipboard instantly

Open Terminal (press Cmd + Space, type Terminal, and hit Enter), paste the following command, and press Enter:

pbcopy < /dev/null

This flushes the clipboard with null data, instantly erasing whatever text, password, or image was copied.

Why You Should Clear Your Mac Clipboard

By default, macOS keeps whatever you copied in memory until you copy something else or restart your computer. That poses two problems:

  • Security & Privacy: Any open app, terminal process, or browser script with paste permissions can read your active pasteboard without asking. If you just copied a 2FA code, password, or private key, it sits exposed.
  • RAM & Performance: If you copied a huge high-resolution photo or spreadsheet table, macOS keeps that uncompressed payload in RAM until flushed.

Method 1: Wipe Clipboard via Terminal (Fastest & Most Complete)

macOS provides a built-in command-line tool called pbcopy (pasteboard copy). By piping /dev/null into it, you overwrite the pasteboard buffer with zero bytes.

  1. Open Terminal from Spotlight (Cmd + Space > Terminal).
  2. Type or paste:
pbcopy < /dev/null

Press Return. That's it! Try pressing Cmd + V in any text field—nothing will paste.

Want automatic privacy protection? Clipmory automatically masks passwords copied from 1Password, Bitwarden, and Apple Keychain behind biometric Touch ID and auto-purges them after a customizable timeout.

Method 2: The Non-Terminal Spacebar Trick

If you don't want to open Terminal every time, you can overwrite whatever sensitive data is in your clipboard with a harmless character:

  1. Select a single space or period anywhere on your screen.
  2. Press Cmd + C.

Because macOS only preserves the single last copied item, this immediately overwrites your password or private text.

Tip: Want to verify that your clipboard is indeed empty? Check our companion guide: Where do I see my clipboard on Mac?

Method 3: Restarting the macOS Pasteboard Daemon (Fix Frozen Clipboard)

Sometimes copy-paste gets stuck on Mac or refuses to update. This is caused by a frozen background system process named pboard. You can force-restart it:

killall pboard

This immediately terminates the clipboard daemon. macOS will restart it cleanly within half a second, releasing memory leaks and unfreezing your pasteboard.

Method 4: Managing & Deleting Clipboard History with Clipmory

If you use a clipboard manager like Clipmory to maintain multi-item copy history, clearing the active pasteboard alone is not enough—you also want control over your archive.

Clipmory gives you granular privacy controls built specifically for macOS:

How to manage & clear history in Clipmory:

  • Delete Individual Clips: Press your hotkey (Cmd + Shift + V or Opt + Cmd + V), hover over the clip you want to remove, and press Delete or click the trash icon.
  • Wipe All History: Open Clipmory Settings > General > click "Clear All History" to instantly zero out the local encrypted SQLite database.
  • Configurable Auto-Purge: Set your history to automatically delete non-pinned items after 1 hour, 24 hours, 7 days, or 30 days.
  • Biometric Touch ID Shield: Sensitive API keys and tokens are automatically concealed behind Touch ID authentication so shoulder-surfers cannot view them.
  • Zero Cloud Sync: Clipmory never connects to any remote server or third-party cloud. All data remains 100% on your Mac.
Upgrade to Safe, Native Clipboard Management

Try Clipmory free for 7 days. Infinite searchable history when you need it, one-click wiping and Touch ID protection when you don't.

Download Free Trial for Mac (.dmg) Download on App Store

Frequently Asked Questions About Clearing Mac Clipboard

How do I clear my clipboard on Mac quickly?
The quickest way is via Terminal: type pbcopy < /dev/null and hit Enter. This replaces the active clipboard with empty data in under 2 seconds.
Does restarting my Mac clear the clipboard?
Yes. Because native macOS clipboard data is kept exclusively in volatile RAM, restarting or shutting down your Mac completely clears whatever was copied.
Can apps read my Mac clipboard without asking?
Yes, desktop macOS applications have open access to the general pasteboard (NSPasteboard.general). That is why clearing sensitive tokens and using a secure manager with password-masking like Clipmory is critical for privacy.
How can I copy multiple items without them being erased?
If you want to keep past copies rather than clearing them, check our guide on How to Copy and Paste Multiple Items on Mac.