A Guide to Cleaning and Speeding up Your Slow Mac

By Tyler, 17 December, 2018

Member of the AppleVis Editorial Team

For macOS Sonoma

Intro

If you’re a Mac Voiceover user, there’s one thing you absolutely hate hearing, that an app is “Not responding.” This may happen occasionally and only last for a few seconds, causing only minor annoyance, or it can happen frequently and significantly disrupt your workflow.

If it happens frequently or for more than a few seconds at a time when performing basic tasks, there is likely an underlying problem with your Mac, either software or hardware related. In this guide, I will give an overview of some of the most common problems and solutions, but keep in mind that slower than expected performance is a nonspecific symptom, so there might be other explanations for the issues you’re experiencing.

Maintenance tasks on your Mac can either be performed manually or with the help of third-party maintenance utilities. Whichever method you prefer, it is important to update your software so you have the latest patches, and to backup your data so you have it in the unlikely event that something goes wrong. For more information on backing up the data on your Mac, check out this guide to using Time Machine, the Mac’s built in backup utility.

Terminology

The announcement that an app is “Not responding” refers to a state of intense processor activity that limits your ability to navigate within the focused app, and in extreme cases, your entire system. Thus when performing resource-intensive tasks such as media editing or complex video rendering, this is normal and should resolve when the task is complete.

Officially known as the wait cursor, it is frequently referred to by sighted users as the “Spinning beachball of death” or “pinwheel of death.” Therefore, if you are seeking help from a sighted user, you may want to describe the problem as something like “I’m getting the beachball” or “It’s beachballing.” Likewise if you are helping a sighted user who describes a problem this way, you know it is the same as if a Voiceover user says “It’s not responding.”

A basic overview of hardware components

In this guide, I will refer to several key hardware components that, while not necessary to know a great deal about in order to use a Mac, may be helpful to have a basic understanding of in order to enhance your knowledge of how problems can occur and how they can be addressed.

The processor or central processing unit (CPU) is the chip that provides most of a device’s computational power. Therefore, if your Mac is slow or unresponsive, it’s possible that there are apps or other processes that are taxing the CPU; quitting these processes should make more power available.

Storage, as the name implies, refers to the capacity of media such as a hard disk drive (HDD) or solid-state drive (SSD) to store data. If your Mac is running slower than expected, one of the most common causes is that the storage media is full or failing.

Random access memory (ram) refers to a computer’s capacity to multitask. Therefore, in a nutshell, the more ram your Mac has, the more apps it can run at once.

General information about your Mac’s CPU, storage, ram, and other components can be viewed by choosing Apple > About this Mac. More comprehensive information about these and other hardware, networking, and software components and capabilities can be found in System Information (located in the Utilities folder).

Some quick tips for unresponsive apps

If an app you’re using has stopped responding for no apparent reason, the first thing to try is to Command-Tab away from it, wait for Voiceover to announce that the app in question is ready, then Command-Tab back to it. If that doesn’t work, Command-Tab away from the app and turn Voiceover off, wait a few seconds, then turn it on again.

Finally, if all else fails, force quit the app by Command-Tabbing to it and pressing Command-Shift-Option-Escape. Alternatively, you can press Command-Option-Escape to open the force quit window and select the problem app from the table. Command-Option-Escape is the closest thing to Control-Alt-Delete on Windows.

If particular apps frequently become unresponsive, it’s possible that they don’t work well with Voiceover or your version of macOS, or have some other bug that substantially affects their performance. On the other hand, if the issue spreads to the point that your Mac has become completely unresponsive, there is likely a deeper problem with your system. If such a problem occurs, perform a force shutdown by pressing and holding the power button for about ten seconds, then pressing it again to turn the computer back on.

Important: If you force shutdown your Mac, you’ll lose any unsaved work, so do this only as a last resort.

Third-party maintenance utilities

Third-party maintenance utilities can improve the performance and responsiveness of your Mac by offering to bulk-delete unnecessary files, performing various maintenance tasks that macOS would typically complete in the background, and allowing you to configure system settings and parameters that may not be visible or easy to locate manually. While there are many apps that perform these functions, the one that I recommend in most cases is Onyx, which is free and accessible.

If you’re looking specifically for an app that will remove leftover files from previously installed apps, I would recommend AppCleaner. This free and accessible app displays a list of installed apps and allows you to delete them along with their associated support files, and can also be configured to trigger any time you move an app to the trash.

One important thing to note about Mac maintenance is that as you brows the web, you may encounter ads for apps that claim to speed up your Mac, free large amounts of storage space, remove malware, and generally address other nonspecific symptoms. However, if your Mac is running as you’d expect, some app being pushed in a web ad is not going to magically make it faster, and could potentially pose a security risk, as web ads are a common way for malicious actors to trick users into installing malware. That is why in general, I only recommend users install third-party maintenance utilities in order to address specific issues.

Manual tasks

If you decide to go the manual route, the following tasks can help improve the performance and responsiveness of your Mac, address issues, and help you isolate and identify the causes of slower than expected performance:

Check system resource usage

If specific apps are persistently slowing down your Mac, you can use Activity Monitor to check how much of the CPU and ram they’re using, as well as their impact on energy usage and disk and network activity. To do this, open Activity Monitor (located in the Utilities folder) and select what you want to view in the “Segmented control” radio group in the toolbar, such as CPU or memory. Review the table to the right of the toolbar to see which processes are most resource-intensive, and quit processes to make more system resources available by clicking the stop button in the toolbar. Note however that quitting a process associated with an open app may cause you to lose unsaved work or produce other unexpected results, so only quit processes if you know what they are and know you don’t need them running.

If you find that a particular app is using a disproportionate amount of system resources, try reinstalling it or contacting the developer with your findings. If you decide to contact the developer, it may be helpful to track the app’s resource usage over time, which could help identify patterns in the app’s behavior that’s causing it to run inefficiently.

Declutter your desktop

While it is convenient to place your most used files on the desktop, the desktop process is constantly running. If there is an excess of files, it’s possible that the amount of ram needed to display all of them in the window is subtracting from what would be available to complete user tasks. Therefore, if you have a lot of files on the desktop, it is a good idea to organize them into a couple of folders.

Review login items

If you find that your Mac is slow to log in, you may have apps configured to open automatically, which can slow the login process. You can view your login items by choosing Apple > System Settings, selecting General in the table, and clicking Login items in the scroll area. Review the apps listed under the “Open at login” heading, and delete anything you don’t need to use immediately after you log into your Mac.

In addition, some apps include background processes that run even if the app isn’t open in order to automatically complete certain tasks or respond to changing conditions. An example of where this functionality can be useful is for non-App Store apps to automatically check for and install updates. However, if you find that an app’s background processes are taking a disproportionate amount of system resources, you may want to revoke that app’s permission to run background processes by turning its toggle under the “Allow in the background” heading off. Note that disabling an app’s background processes may cause the app to not work as expected, so you may wish to perform additional research before doing so to determine those processes’ functions.

Make best use of your storage

As mentioned earlier, a lack of available disk space can be a leading cause of slower than expected performance. To make the best use of your Mac’s internal storage, macOS includes tools that let you store files remotely in order to save space locally, as well as other options to delete unnecessary files.

To view recommendations and set options, choose Apple > System Settings, select General in the table, and click Storage in the scroll area. You will then see a breakdown of what types of data are taking the most space on your Mac, and are given recommendations to make optimal use of this space, such as only storing recent iCloud Drive data locally, removing downloaded movies and tv shows once they’ve been watched, reviewing and removing space-intensive apps and resources, reviewing large files and folders where files commonly accumulate, and automatically removing items from the trash after thirty days.

If you opt to only store recent iCloud Drive data locally, the entire contents of iCloud Drive will be displayed when you open the folder, but only recent files are stored locally; files are downloaded as you open them. For information about iCloud, check out the guide “iCloud explained.”

Manually locate large files

In addition to viewing large files in the storage settings discussed in the previous section, you can manually search for large files using Spotlight. If you have large files that you no longer need, you should delete them to save space. To do this:

  1. Press Command-Option-Space to open the full search window, and click the “Hide search criteria” toggle button to reveal the advanced search options.
  2. Choose “Other” from the criteria popup menu, select “file size” in the resulting table, and click OK; note that you can quickly jump to “file size” in the table by pressing the letter F.
  3. Specify your search criteria. For example, you could search for files larger than 1GB.

The search results should show all the files matching the criteria you defined. Delete any files you don’t need, empty the trash, and restart the Mac.

Clear browser data

Over time, data from your web browser, such as history, caches, and cookies can accumulate, occupying valuable storage space and potentially degrading performance. Therefore, it is a good idea to periodically clear this data.

To clear history and associated website data in Safari, choose Safari > Clear history. To clear cookies while keeping history intact, choose Safari > Settings (or press Command-Comma) click the privacy button in the toolbar, and click manage website data. The resulting dialog shows a table of websites that are currently storing cookies and other data; select the individual websites you want to remove data for and click Remove, or click remove all to remove all website data from the browser. Note that clearing cookies will sign you out of any websites you were previously signed into and which remember your computer when you visit them.

Clear caches and logs

Like browser data, caches and log files from macOS and your installed apps can accumulate, which have the potential to become corrupted and degrade performance. To clear this data:

  1. In Finder, choose Go > Go to folder (or press Command-Shift-G) and type or paste “~/library” without the quotes.
  2. In the folder that opens, open the caches folder, select all the files in it by choosing Edit > select all (or pressing Command-A) and move them to the trash.
  3. Return to the Library folder and open the logs folder. Repeat the process, select and delete everything in that folder.
  4. Choose Go > Go to folder (or press Command-Shift-G) and type or paste “/library” without the quotes. Repeat the process for the caches and logs folders in this location.

Note: In the Library folder at the root of your startup disk, you’ll be prompted to authenticate to delete files, as these are system rather than user files. Also, you may get an error that Finder cannot delete certain files in the Caches and Logs folders. It is generally ok to ignore this message and leave such files alone.

While you’re in the library folders, you can look for leftover files from apps you may have uninstalled. While apps place files in various locations inside the Library folders, much of them can be found in the “Application Support” and “Preferences” folders.

Caution: The library folder’s contain essential files needed for apps and the operating system to function. Therefore, only delete files if you know what they are and know you don’t need them. When you’re done, restart the Mac and empty the trash.

Start up in safe mode

Note: This feature is only accessible with VoiceOver on Macs with Apple Silicon.

Safe mode is a feature of macOS that disables login items, third-party drivers, and legacy system extensions at startup, useful if an incompatible item in one of these groups is causing a problem with your Mac. In addition, system caches are cleared, and a light check of your startup disk is performed when starting up in safe mode, which can identify possible issues that could be causing slower than expected performance.

To start up in safe mode, start up the Mac while holding down the Power button, and interact with your startup disk (usually called Macintosh HD) in the grid that appears. Focus on the Continue button and route the mouse pointer to it by pressing VO-Command-F5, (or VO-Command-Globe-5 if you’re using a Mac with a Touch Bar) hold down the Shift key, and click the mouse. Maintenance tasks are completed once the Mac has finished starting; restart your Mac to exit this mode.

If you’re trying to isolate a particular issue, attempt to reproduce it when in safe mode, and again once you leave this mode. If the issue no longer occurs, it was likely resolved by the maintenance tasks that macOS performed. If it doesn’t occur when in safe mode but returns once you leave this mode, you may want to remove login items for third-party apps, update, remove, or reinstall any third-party drivers or legacy system extensions, or contact their developers for assistance. For more information, check out the Apple Support article “Use safe mode on your Mac,” or for an audio demonstration, the AppleVis podcast episode “How and When to Start Your Mac in Safe Mode.”

Verify your disk

If your Mac is persistently unresponsive, or if apps frequently quit unexpectedly, there may be a problem with your internal disk. If it is a problem with the integrity of the file system, it can usually be repaired with Disk Utility or in some cases, by reinstalling macOS. If you believe your disk is physically failing, however, you should back up your data and take your Mac to a professional for service. To assess the health of your disk:

  1. Start up in macOS Recovery:
    • On a Mac with Apple Silicon, start up the Mac while holding down the Power button, interact with the “Options” group in the grid that appears, and click Continue.
    • On an Intel-based Mac, restart it while holding down Command-R; note that you’ll need either a built in or USB keyboard for this to work.
  2. Select your user account in the grid, click next, and enter your password.
  3. In the macOS Utilities window, press VO-Space on Disk Utility, then click continue.
  4. In Disk Utility, choose View > Show all devices (or press Command-2) select the item at the top of the table, and click the first aid button in the toolbar.
  5. When the first aid process completes, repeat the process for the containers and volumes below the physical storage device.

If Disk Utility reports problems with any of these items that it cannot repair, you should back up your data and erase and reinstall macOS. To do this:

  1. Start up and open Disk Utility in macOS Recovery as described earlier.
  2. Choose View > Show all devices (or press Command-2) and select the item at the top of the table.
  3. Choose Edit > Erase, (or press Command-Shift-E) enter a name for the disk, choose “APFS” from the “format” popup menu, and click erase.
  4. When the erase process completes, quit Disk Utility and press VO-Space on “Reinstall macOS” in the macOS Utilities window.
  5. Follow the onscreen instructions to install macOS on your newly reformatted disk.

If the installation is successful, the Mac should restart into the macOS Setup Assistant, as if it were new from the factory. If the process fails or you continue to have problems, however, your disk may be physically failing; you should take your Mac into a professional for service.

Conclusion

This guide contains a number of possible solutions I am aware of to clean and speed up your Mac. More help is available in your Mac’s built in help, Apple Support, and the AppleVis forum, and if you believe any of the information in this guide is inaccurate or if you know of other tips and tricks, sound off in the comments.

Disclaimer

The article on this page has generously been submitted by a member of the AppleVis community. As AppleVis is a community-powered website, we make no guarantee, either express or implied, of the accuracy or completeness of the information.

Options

Comments

By PaulMartz on Monday, December 21, 2020 - 16:52

Great article.

In About This Mac > Storage, there is a visual Usage graph so sighted users can see their usage at a glance. Blind users can interact with this and examine each value with VoiceOver, and when I do so, I find a category called "Other" that is consuming 79GB. Any idea how to examine this further or clear it out?

By Chris on Monday, December 21, 2020 - 16:52

Ah yes, the extremely irritating other category. It's also present on iOS and extremely difficult to deal with. I believe this category contains caches, logs, and other system data. I don't know of a way to completely get rid of this garbage without erasing your disk and installing a new copy of macOS.

Even if this is done, the other category will start increasing in size as you use the system. If you don't want to do a clean install, try using Onyx and/or periodically clean out the caches and logs folders in your user Library folder and the Library folder under Macintosh HD. Having said all that, you may want to perform a clean install at least once every year or two. Your computer will be faster and you'll have more free storage.

By PaulMartz on Monday, December 21, 2020 - 16:52

In reply to by Chris

I couldn't find Onyx in the App Store. I did find something called OS Cleaner. Is that the same app?

I found a folder with 25GB in my Documents folder. I hadn't touched it in years, so I moved it out to an external storage device. Strangely enough, this reduced the size of my Other category. I would've thought that would've been in the Documents category, because that's where the folder resided on disk.

Yes I have some experience with the Other category on the iPhone. I've cleared it out before in the manner similar to what you describe: One, do a full backup. Two, do a full reset on the phone. And three, restore from backup.

The category is certainly a mystery, whether it's on the phone or a Mac.

By Tyler on Monday, December 21, 2020 - 16:52

Member of the AppleVis Editorial Team

In reply to by PaulMartz

To my knowledge, Onyx is not available in the Mac AppStore, only from the developer's website which is linked in the article. However, I do not believe the current version of this utility has been tested with macOS Big Sur, and thus its use is not recommended until a new version is released.

I have not used OS Cleaner, so cannot comment on the usefulness or accessibility of that app.

By KE8UPE on Monday, December 21, 2020 - 16:52

Hi,

If you attempt to do something in disk utility, through recovery mode, using voice over. Voiceover will crash, when you interact with the table.
This bug began with the latest version of macOS, which is Big Sur.

By Arya on Tuesday, November 21, 2023 - 16:52

Hi Tyler, thank you for the several wonderful tutorials and guides. it is really helping a newbie to learn the MAC. I downloaded the Onyx for sonoma from their site and installed it. When I run the app,I am always getting an error the programme is not responding and I had to force quit the app. Am I doing any thig wrong?

By Tyler on Tuesday, November 21, 2023 - 16:52

Member of the AppleVis Editorial Team

My first thought is to check what permissions Onyx is requesting (you may need a tool like Seeing AI or sighted assistance if you can't see the screen) and then quit the app and go to System Settings > Privacy & Security to grant any outstanding requests. Once all requested permissions have been granted, restart the Mac and try again.

When Onyx is performing a task, like verifying your disk or deleting files, VoiceOver will announce that the app is not responding. This is normal and should resolve when the task is complete.

HTH

By Arya on Tuesday, November 21, 2023 - 16:52

Hi Tyler, I am getting the error as soon as i open the app from the applications folder. I will use seeing AI as suggested by you and post the results here.Thanks for the guidance.

By Arya on Tuesday, November 21, 2023 - 16:52

Hi Tyler, as guided by you, Onyx was asking permission for full disc access, as soon as I gave the permission the Onyx got opened. Is there any detail guide for using Onyx for a new user ? for a newbie most of the options are going over the head.

By Tyler on Tuesday, November 21, 2023 - 16:52

Member of the AppleVis Editorial Team

I'm not aware of any guide for how to use Onyx specifically, on AppleVis or elsewhere, but that's not to say one doesn't exist. As this app comprises a number of powerful system tools, my recommendation if you're unsure of the purpose of a particular one is to perform additional research on it. For example, if you're unsure of why you'd want to run maintenance scripts, you could Google something like "macOS maintenance scripts" which may put you on the path to learning about the purpose of these scripts and in what circumstances you might want to run them manually.

HTH

By Brian on Tuesday, November 21, 2023 - 16:52

Agree with above, and would add that running just the Maintenance scripts will be enough for the average user in terms of cleaning up your harddrive. The Maintenance scripts, in their default state, are primarily designed to clean up old system files, such as outdated property lists (PLists), left over files from uninstalled applications, and even junk files left over from previous macOS itterations.

These scripts also optimize system resource allocation, which I have noticed an improvement in boot time (from a powered off state), and in Safari, which seems to be running a lot smoother than I had expected considering the issues many of us have experienced with Safari as of late.

So, the TLDR version:
Run the maintenance scripts. Leave everything else alone unless you absolutely know what they do, and what you are doing.

HTH. 😃

By Arya on Tuesday, November 21, 2023 - 16:52

Thank you Tyler for your guidance. I am a newbie and slowly trying to understand the MAC system.

By Arya on Tuesday, November 21, 2023 - 16:52

Thank you Brian for the Info. It is enough when I open Onyx and select only the maintenance section and click on run task with the default setting, to keep the system in good shape. Is my understanding correct?

By Brian on Tuesday, November 21, 2023 - 16:52

Arya,

Yes to your question, but I would encourage you to do it maybe something like once a week, or every couple of weeks, something like that.

You shouldn't need to do it on a daily basis.

By Arya on Tuesday, November 21, 2023 - 16:52

Thank you Brian. Yah sure at the current state I would require to run it only once a month I think as still I am in the process of learning the MAC. Thank you so much for the guidance.

By Brian on Tuesday, November 21, 2023 - 16:52

Invoice is on its way to an inbox near you. 😜

By PaulMartz on Tuesday, November 21, 2023 - 16:52

At some point, I installed MySQL on my Mac. It doesn't show up in LaunchPad or the Applications folder, but it does appear in System Settings, with controls to let me start or stop the SQL server., I'd love to delete it if possible.

After all this talk of Onyx, I installed it and ran maintenance. Unfortunately, this didn't eliminate the remnants of MySQL. I poked around the Onyx UI a bit, but didn't see any tool or interface for removing old application remnants.

Any suggestions on how I might proceed? Thanks.

By PaulMartz on Tuesday, November 21, 2023 - 16:52

No need to reply. I did a web search on how to remove mySQL from the Mac and followed the instructions. Apparently I'm not the first one to encounter this. LOL.

By Brian on Tuesday, November 21, 2023 - 16:52

App Cleaner should be sufficient to remove SQL. Paul, I know you stated above you already took care of it, but for future reference, App Cleaner is "powerful". 👌🏼