Introduction / Why This Is Needed
Over time, any Mac, even one with ample memory, can start to slow down. Causes include accumulation of temporary files, autoloading of unnecessary services, and data fragmentation on the disk. This guide will help you restore your system's original speed without reinstalling macOS. You'll learn how to diagnose bottlenecks and perform safe cleanup.
Requirements / Preparation
- macOS Ventura 13.0 or newer (instructions adapted for Ventura/Sonoma).
- Administrator privileges to execute some Terminal commands.
- A backup of important data (e.g., via Time Machine) before clearing caches.
- Installed system updates (check in System Settings → General → Software Update).
Step 1: Assess Current System State
First, you need to understand what's slowing down the system: the processor, memory, or disk.
- Open Activity Monitor (Finder → Applications → Utilities → Activity Monitor).
- In the CPU tab, sort by the "% CPU" column. If any non-system process consistently uses >20%, you should force quit it (the "X" button in the toolbar).
- Switch to the Memory tab. Check "Pressure" (memory pressure). If the indicator is red — you're low on RAM, and the system is actively using the swap file on disk.
- Check free disk space: System Settings → your name → iCloud → Manage Storage. If free space is <10% of total volume — this is critical for performance.
Step 2: Manage Autoload
Many applications add themselves to autoload, which slows system startup and runs in the background.
- Open System Settings → General → Login Items.
- In the list, find unnecessary apps (e.g., messengers, cloud storage) and remove them by hovering and clicking "-".
- For hidden background agents (daemons), use Terminal:
Find an unnecessary one (e.g.,# Show all user's running agents launchctl list | grep -v applecom.dropbox.DropboxMacOSX), then disable it:launchctl unload -w ~/Library/LaunchAgents/com.dropbox.DropboxMacOSX.plist⚠️ Important: Do not disable agents with the
com.appleprefix. These are system processes.
Step 3: Clean Temporary Files and Cache
Temporary files (cache) can occupy gigabytes and slow disk access.
- Close all applications before cleaning.
- Open Terminal (Finder → Applications → Utilities → Terminal).
- Run the commands one by one (press Enter after each):
When prompted for a password, enter your administrator password.# Clean system cache (requires sudo) sudo rm -rf /Library/Caches/* # Clean current user's cache rm -rf ~/Library/Caches/* # Clean logs (not critical, but frees space) rm -rf ~/Library/Logs/* - Restart your Mac. The system will recreate necessary cache files.
Step 4: Optimize Storage
SSD/HDD with low free space (<10%) works significantly slower.
- Use the built-in "Storage Management" tool:
- System Settings → your name → iCloud → Manage Storage.
- Enable "Optimize Storage" — the system will automatically remove old movies and TV shows from iTunes.
- Manually check folders:
- Downloads (
~/Downloads): delete old installation files (.dmg, .zip). - Documents (
~/Documents): archive or delete outdated projects. - Trash: be sure to empty it.
- Downloads (
- To find large files, use Terminal:
# Find files >500 MB in home folder find ~ -type f -size +500M -exec ls -lh {} \;
Step 5: Update Software and Drivers
Outdated software may contain heavy memory leaks or isn't optimized for the new macOS version.
- macOS: System Settings → General → Software Update → install all available updates.
- App Store apps: open App Store → Updates → install.
- Third-party apps: check for updates in each app (usually menu → "Check for Updates").
- Peripheral drivers (printers, scanners, audio interfaces): download the latest versions from manufacturers' websites. Old drivers can cause USB/Thunderbolt malfunctions.
Step 6: Reset System Controllers (for Intel Mac)
For Macs with Intel processors, resetting the SMC (System Management Controller) solves issues with power, fan control, and disk speed.
- Shut down your Mac.
- Press and hold Shift + Control + Option (Alt) + Power for 10 seconds.
- Release all keys and turn on your Mac normally.
- For Apple Silicon Mac, a full restart is sufficient (Apple menu → Restart). SMC does not exist.
Verify Results
- Restart your Mac and wait for full boot (all background processes finished).
- Open Activity Monitor:
- CPU tab: total idle load should be <10%.
- Memory tab: "Pressure" should be green.
- Check free disk space (System Settings → Storage). Should be at least 10–15%.
- Test system responsiveness: open 5–10 tabs in Safari, launch Photos, check app switching speed.
Potential Issues
| Problem | Solution |
|---|---|
| An app stops working after cache cleanup | Uninstall and reinstall it. Cache sometimes contains critical data for operation. |
sudo rm -rf /Library/Caches/* command fails with "Permission denied" | Ensure you're logged into an administrator account. Or run sudo chown -R $USER /Library/Caches before cleaning. |
| Autoload item won't remove from System Settings | The agent may be system-installed. Find it in /Library/LaunchAgents/ or /Library/LaunchDaemons/ and delete via Terminal with sudo rm. |
| Peripheral not detected after driver update | Download the previous driver version from the manufacturer's site. Sometimes new drivers are unstable. |