How to Limit Clipboard History Size in Maccy
Quick answer: Open Maccy‘s settings, go to the Storage tab, and lower the history size number. Maccy app keeps only that many items and drops the oldest ones as new copies arrive. For a hard privacy limit, also stop it from saving images and files, and set it to clear history on quit.
TL;DR
- Cap the count: Maccy → Settings → Storage → history size .
- Cap what is stored: turn off images and files if you only need text.
- Cap the lifetime: enable clearing history on quit, or clear manually from the menu.
- Cap the sources: use the Ignore settings so password managers never enter history.
You copy a password at 9:02. At 4:40 it is still sitting in your clipboard history, one keystroke from being pasted into the wrong window. Or your history has grown so long that finding last Tuesday’s snippet means scrolling past 800 screenshots. Both problems have the same fix: a smaller, more deliberate history.
This guide covers what « history size » actually controls, the settings that matter, and how to choose a number that fits how you work.
What does « limiting clipboard history » actually mean?
Limiting clipboard history means capping how much a clipboard manager remembers. There are three separate levers, and people often conflate them:
| Lever | What it controls | Best for |
|---|---|---|
| Item count | How many entries are kept before the oldest is dropped | Keeping search fast and the list short |
| Content types | Whether text, images, and files are saved at all | Disk usage and avoiding screenshot clutter |
| Lifetime | Whether history survives quitting or restarting | Privacy on shared or work machines |
Lowering the item count alone does not make your clipboard private. A history of 20 items can still contain a secret for hours. Treat the three levers as a set.
How do I change the history size in Maccy?
- Click the Maccy icon in the menu bar, or press its hotkey (default Shift+⌘+C ).
- Open Settings (⌘+, while the popup is open).
- Go to the Storage tab .
- Change the Size value to the number of items you want to keep.
The change applies to new copies. If you lower the number below what is currently stored, expect the oldest entries to be trimmed. Maccy mac‘s default is 200 items , and its upper limit is in the high hundreds .
Setting it from Terminal
Maccy clipboard stores preferences through macOS defaults, which is handy if you configure machines with a script. The domain and key below are what I would expect from the app’s bundle identifier, but confirm them before putting them in a dotfiles repo :
defaults write org.p0deje.Maccy historySize 50 killall Maccy && open -a Maccy Run defaults read org.p0deje.Maccy first and check the key actually exists on your version.
What number should I choose?
There is no universal answer, but these ranges match common working patterns:
| How you use the clipboard | Suggested size | Reasoning |
|---|---|---|
| Mostly « paste the last thing » with an occasional step back | 10–25 | You rarely go further than a few items; a short list is faster to scan |
| General office, writing, and browsing | 50–100 | Enough to recover from a lost copy during a long session |
| Research, coding, or collecting snippets across a day | 200–500 | Search carries you; you want old items to be findable |
| Shared machine or sensitive work | 5–20, plus clear on quit | Minimizes what can ever be exposed |
A practical rule: if you never scroll past item 30, a size of 200 is not helping you. It is only retaining more material for someone else to find. If you search by typing, a larger history costs you very little in speed, so the case for shrinking is mostly privacy and tidiness, not performance.
Does a smaller history save disk space?
Only if you also control content types. Plain text is tiny; a thousand text items is a negligible amount of storage. Images are the real cost, because every copied screenshot or image is stored in full. If disk usage is your concern, go to the Storage settings and turn off saving images, or files, if you never need them back. Your item count then barely matters for size.
How do I stop passwords and sensitive data from being kept?
This is the part a size limit cannot solve. Three controls work together:
- Ignore apps. In Maccy’s Ignore settings, add apps whose copies should never be recorded, such as your password manager .
- Respect concealed copies. Many password managers mark what they copy as concealed or transient so clipboard tools skip it. Maccy honors common markers of this kind by default . Test it yourself: copy a password from your manager and see whether it appears in Maccy.
- Ignore patterns. Maccy supports ignoring copied text that matches a regular expression . For example, a pattern such as
^sk-[A-Za-z0-9]{20,}$would skip strings shaped like API keys. Adapt it to the formats you actually handle.
None of these is airtight. Treat them as reducing exposure, not eliminating it. Maccy keeps its history locally on your Mac and does not sync it to a server, which is the main reason a local manager suits sensitive work.
How do I clear history on demand or automatically?
- Manually: use Clear in Maccy’s menu, or the keyboard shortcut shown there (commonly ⌥+⌘+⌫ ).
- On quit: enable the option to clear history when Maccy quits . Because Maccy runs in the background, this mostly takes effect on logout, restart, or when you quit the app deliberately.
- The system clipboard: clearing history does not necessarily empty the item currently on the macOS pasteboard. Check whether Maccy offers to clear that too , or copy something harmless to replace it.
Do pinned items count toward the limit?
Pinned items are kept separately from the rolling history, so a pin should survive when older items are trimmed . That makes pinning a good complement to a small history: keep the list short, and pin the five or six snippets you reuse constantly, like an email address, a support reply, or a shell command.
What about macOS’s built-in clipboard history?
Older macOS versions have no history at all, only the single most recent item. Recent releases added some clipboard history to Spotlight . If you rely on it, check its retention rules separately, because they are independent of Maccy’s settings.
Common mistakes
- Setting a small size and assuming it is private. Count is not lifetime. Add clear-on-quit.
- Forgetting images. A short history full of screenshots still uses real disk and can contain sensitive content.
- Expecting retroactive recovery. Once an item is trimmed, it is gone. Raise the limit before a big research session, not after.
The short version
Pick a size that matches how far back you actually reach, usually 25 to 100. Disable content types you do not need, ignore sensitive apps, and clear on quit if the machine is shared. A tight history is faster to read and leaves less behind.
If you have not tried Maccy yet, it is free, open source, and local-first, and the settings above take about a minute. What is the oldest clipboard item you have ever needed to get back? That answer is probably your ideal history size.
Reading time: about 6 minutes.
If you want to try it yourself, maccy.at is a free, open-source clipboard manager for macOS — the clipboard history guide covers the rest.
