1. What the two folders are
Apps that use Apple’s App Sandbox keep private data in app containers. Look in ~/Library/Containers. These folders can hold documents and databases as well as temporary files, so their contents are not all disposable.
The separate ~/Library/Group Containers folder holds data shared by apps and supporting processes from the same developer team. One suite folder may still be in use after you uninstall one of its apps. Apple documents additional protection for app group containers in macOS 15 and later; an app outside the group can trigger an authorization prompt when accessing protected data.
2. Open them and measure them
In Finder, choose Go → Go to Folder and enter ~/Library/Containers or ~/Library/Group Containers. Select a folder and use File → Get Info to inspect its size. If you prefer Terminal, run the two read-only commands below. They show disk usage for each top-level subfolder and a total for its parent folder; do not add that total to the entries again.
The commands leave permission errors visible. If you see “Operation not permitted” or “Permission denied,” the reported sizes may omit protected files. A small result is not proof that a folder is empty. Read an access prompt before deciding whether to allow it; you can stop here and check storage inside the owning app instead. Do not disable macOS protections to get a larger scan.
du -h -d 1 "$HOME/Library/Containers"
du -h -d 1 "$HOME/Library/Group Containers"3. What is usually large
Look for the apps you use for mail, messages and offline media. Their containers may be large because they store content you asked to keep on your Mac.
- Mail’s container: opened attachments in its Mail Downloads folder. Shrink it through Mail, as the Mail guide describes.
- Office and productivity suites: a group container shared by the suite, often holding a mail client’s profile and cached content. Manage it inside the apps.
- Chat, meeting and collaboration apps: caches of files and media per workspace, with a cache limit or clear-cache control in the app’s own settings.
- iCloud-related group containers: local state for iCloud Drive and syncing. Leave them; the cloud drive guides cover the actual space.
- Containers named for apps you deleted: check for saved documents and databases before considering removal. Group Containers may still serve other apps or extensions.
4. Decide what can go
Use the app’s own controls to clear caches or remove downloaded content. Read any confirmation carefully, especially when sync is involved. Deleting a container while its app is running can damage settings or erase local work.
Removing an app leaves a separate decision about its saved data. Apple recommends the maker’s uninstaller when available; its instructions can explain which support files belong to the app. Before removing a container, check for local documents or databases, save anything you need and confirm that no installed app or extension uses it. A shared suite container can still be needed after one app is uninstalled. If ownership or contents are unclear, leave it.
5. What never to delete
Never delete containers named com.apple or group.com.apple; they belong to macOS apps and services and are protected for a reason. Do not delete the Containers or Group Containers folders themselves, and do not remove the protection by copying data out and back with Terminal to get around a prompt.
ClearDisk can help you inspect paths and sizes. Its removal guard blocks Containers and Group Containers, including their contents. Use the owning app or its maker’s instructions to manage that data; a scan result is not permission to delete it.
Common questions
Is it safe to delete a Container or Group Container folder on Mac?
Generally review-only: a container can hold an app's saved work as well as its downloads, and a Group Container can be shared by several apps and extensions from one developer at once. Find out who uses it and whether you need the data before considering removal.
Why does my Mac ask if an app can access data from other apps?
macOS protects app data from access by other apps. Apple documents authorization prompts for protected app data and app group containers, including group-container protection in macOS 15 and later. Check which app is asking and why. A denied request can make a storage scan incomplete; it does not mean the files are junk.
What usually takes up space in Containers on Mac?
Look at apps for mail, messages and offline media first, since their containers can be large because they store content you asked to keep locally, such as Mail's opened attachments in its Mail Downloads folder. Chat apps also cache files per workspace, usually with a clear-cache control.
Can I delete containers named com.apple on Mac?
No, never delete containers named com.apple or group.com.apple, since they belong to macOS apps and services and are protected for a reason. Don't try to get around the access prompt by copying data out and back with Terminal either.
References & further reading
These guides combine the linked official guidance with ClearDisk’s documented behavior. Your files and app settings determine the right next step.