Apple to Block Mac Apps From Secretly Accessing Your Clipboard

Apple is planning to implement a change to pasteboard (aka your iPhone's internal clipboard) that will prevent Mac apps from being able to read the pasteboard without the user being alerted, according to information Apple has shared with developers.

apple developer app feature
In macOS 16, Mac users will get an alert when a Mac app reads the pasteboard without direct user interaction. This change means apps won't be able to surreptitiously view the things you've copied and pasted.

Mac users won't see an alert with a direct pasteboard-related action, like when copying and pasting text within an app that supports it. Users will be notified if an app tries to view pasteboard data when the paste feature hasn't been used.

Apple says that the Mac pasteboard will work similarly to the iOS pasteboard going forward. On the ‌iPhone‌ and iPad, Apple blocks apps from snooping on pasteboard data, and has done so since iOS 14 after security researchers found that dozens of popular iOS apps were reading the contents of the pasteboard without user consent.

Apple addressed the problem by adding a banner that notifies you when an iOS app accesses the clipboard. In iOS 15, Apple further enhanced the feature by introducing a secure paste option that prevents developers from seeing the clipboard entirely unless you copy something from one app and paste it into the app you're actively using.

With the upcoming Mac changes, Mac developers will be able to "examine the kinds of data" on the pasteboard without actually reading them, improving pasteboard privacy. Pasteboard data used with the privacy-focused API won't show the alert to end users. From Apple's notice to developers:

Prepare your app for an upcoming feature in macOS that alerts a person using a device when your app programmatically reads the general pasteboard. The system shows the alert only if the pasteboard access wasn't a result of someone's input on a UI element that the system considers paste-related. This behavior is similar to how UIPasteboard behaves in iOS.

New detect methods in NSPasteboard and NSPasteboardItem make it possible for an app to examine the kinds of data on the pasteboard without actually reading them and showing the alert. NSPasteboard also adds an accessBehavior property to determine if programmatic pasteboard access is always allowed, never allowed, or if it prompts an alert requesting permission. You can adopt these APIs ahead of the change, and set a user default to test the new behavior on your Mac.

Apple software engineer Jeff Nadeau mentioned on Mastodon that Apple has come across Mac apps that are continuously scraping the pasteboard in the background, but at the same time, there are apps that need pasteboard manipulation, which is why Apple has designed the new APIs.

Mac apps will also need to get user permission to access the pasteboard in some situations. Apple says that developers are able to test the upcoming pasteboard changes with their apps ahead of when the functionality rolls out to users.

Popular Stories

iPhone 17 Pro 3 4ths Perspective Aluminum Camera Module 1

New iPhone 17 Pro Details: Brighter Display, Best Battery Life, and More

Wednesday September 3, 2025 5:33 am PDT by
Apple's iPhone 17 Pro and iPhone 17 Pro Max models will feature a number of significant display, thermal, and battery improvements, according to new late-stage rumors. According to the Weibo leaker known as "Instant Digital," the iPhone 17 Pro models will feature displays with higher brightness, making it more suitable for use in direct sunlight for prolonged periods. The iPhone 16 Pro and...
iPhone 17 Pro Iridescent Feature 2

iPhone 17 Pro Clear Case Leak Reveals Three Key Changes

Sunday August 31, 2025 1:26 pm PDT by
Apple is expected to unveil the iPhone 17 series on Tuesday, September 9, and last-minute rumors about the devices continue to surface. The latest info comes from a leaker known as Majin Bu, who has shared alleged images of Apple's Clear Case for the iPhone 17 Pro and Pro Max, or at least replicas. Image Credit: @MajinBuOfficial The images show three alleged changes compared to Apple's iP...
iPhone 17 Pro Iridescent Feature 2

iPhone 17 and iPhone 17 Pro Prices Estimated Ahead of Apple Event Next Week

Tuesday September 2, 2025 1:50 pm PDT by
Just one week before Apple is expected to unveil the iPhone 17 series, an analyst has shared new price estimates for the devices. Here are J.P. Morgan analyst Samik Chatterjee's price estimates for the iPhone 17 series in the United States, according to 9to5Mac: Model Starting Price Model Starting Price Change iPhone 16 $799 iPhone 17 ...
iphone 16 pro ghost hand

iPhone 17 Pro: 5 Reasons Not to Upgrade This Year

Monday September 1, 2025 4:35 am PDT by
Apple will launch its new iPhone 17 series this month, and the iPhone 17 Pro models are expected to get a new design for the rear casing and the camera area. But more significant changes to the lineup are not expected until next year, when the iPhone 18 models arrive. If you're thinking of trading in your iPhone for this year's latest, consider the following features rumored to be coming to...
iPhone 17 Pro Dark Blue and Orange

iPhone 17 Release Date, Pre-Orders, and What to Expect

Thursday August 28, 2025 4:08 am PDT by
An iPhone 17 announcement is a dead cert for September 2025 – Apple has already sent out invites for an "Awe dropping" event on Tuesday, September 9 at the Apple Park campus in Cupertino, California. The timing follows Apple's trend of introducing new iPhone models annually in the fall. At the event, Apple is expected to unveil its new-generation iPhone 17, an all-new ultra-thin iPhone 17...
Apple Watch Ultra 2 Complications

Apple Watch Ultra 3 Coming Next Week: Eight Reasons to Upgrade

Thursday September 4, 2025 7:38 am PDT by
We're only days away from Apple's "Awe dropping" fall event scheduled to take place on Tuesday, September 9 – and along with the new iPhone 17 series, we're going to get a new version of the Apple Watch Ultra for the first time since 2023. By the time the Ultra 3 is unveiled, it will have been two years since the previous model arrived. The intervening period has left plenty of room for...

Top Rated Comments

TechnoMonk Avatar
16 weeks ago
Long overdue. Apps have no business snooping clipboard.
Score: 37 Votes (Like | Disagree)
EightyEight Avatar
16 weeks ago
“Apple has come across Mac apps that are continuously scraping the pasteboard in the background”

Which apps exactly?
Score: 17 Votes (Like | Disagree)
rp2011 Avatar
16 weeks ago
Whiners are going to whine; this should have been standard a long time ago. Thank you, Apple!
Score: 14 Votes (Like | Disagree)
jz0309 Avatar
16 weeks ago
I like this on iOS so sure looks like a good feature to me.

But

In macOS Sequoia 16,
so the next version of macOS will continue to be called Sequoia??? That's a leak that even Gurman didn't mention :p
Score: 13 Votes (Like | Disagree)
Blackstick Avatar
16 weeks ago
Score: 13 Votes (Like | Disagree)
dempson Avatar
16 weeks ago

I must've missed the memo when the clipboard was renamed to pasteboard
My understanding is that it was called the Pasteboard on NeXTSTEP, which is the ancestor of Mac OS X. The user-facing description was Clipboard when Mac OS X was introduced, as that was the established name on classic Mac OS, which continued through modern macOS and iOS.

Mostly for compatibility reasons, the underlying programming interfaces still use NeXTSTEP names such as NSPasteboard, inherited for consistency by later programming interfaces such as UIKit for iOS (UIPasteboard).
Score: 10 Votes (Like | Disagree)