At any given time, there are dozens of processes running on your Mac to perform various services either at system level or on behalf of applications you’re using. Most of the time, you never need to think about these services, much less know their names. But when something goes wrong with your Mac, such as it slowing down or becoming unstable, it sometimes pays to investigate which process is causing the problem and which application is running it. That way, you can take steps to fix it. In this article, we’ll deal with one of those processes and show you how to fix IMDPersistenceAgent high CPU memory usage on Mac.

What is IMDPersistenceAgent on Mac?

IMDPersistenceAgent is a background process used by Messages, Contacts, FaceTime, and Handoff. It’s involved in tasks like syncing contacts, checking for incoming calls and messages, and relaying notifications related to Messages and FaceTime to Notifications Center. It’s one of many processes that run in the background in order to make features on your Mac work and, under normal circumstances, should use only a small percentage of system resources like memory and CPU. But if the process runs into trouble, it could hang and then consume far more resources.

Tip: Clear out the junk

As you use your Mac, it accumulates lots of junk. These unneeded files include old cache files, temporary files that should have been deleted but weren’t, settings files for applications no longer on your Mac, and language files for languages you don’t need. As well as taking up several gigabytes of space on your startup disk, these files can become corrupt or conflict with other files on your Mac and cause it to slow down or become unstable. But getting rid of them isn’t easy because you have to track them all down and drag them to the Trash. That’s where CleanMyMac X comes in. Its System Junk module tracks down all these junk files and then allows you to either remove them with a click or review its findings and decide for yourself what to delete and what to keep. You can download CleanMyMac X for free here. Then, open the app and click System Junk > Scan > Clean.

CleanMyMac X - System junk scan complete


How to fix IMDPersistenceAgent high CPU and memory usage on Mac

1. Use Activity Monitor

    The first thing to do is to check that it really is IMDPersistenceAgent that’s using lots of CPU cycles and memory. To do that, we need to use Activity Monitor.

    1. Go to Applications > Utilities and double-click Activity Monitor.
    2. Click CPU or memory and then click the top of the CPU or memory column to order processes according to the resources they are using.
    3. If you see IMDPersistenceAgent at the top and using a huge percentage of CPU cycles or share or RAM, you know that something is wrong with it.
    4. Select IMDPersistenceAgent and click the ‘x’ in the toolbar.
    5. Keep Activity Monitor open and watch for IMDPersistenceAgent restarting.

    If it restarts and begins using lots of resources again, you need to take further steps.

    2. Check for macOS updates

    It’s possible that the cause of IMDPersistenceAgent using lots of CPU and memory is a bug in macOS that has been fixed in a recent update. So, the next step is to check for updates.

    1. Click the Apple menu and choose System Settings.
    2. Go to General > Software Update.
    3. Wait for it to check for updates.
    4. If there is an update available, follow the instructions on the screen to restart your Mac and install the update.
    System Preferences - Software Update

    3. Use Terminal to quit the process

    If there is no update available or if updating doesn’t fix the problem, the next step is to use Terminal to quit the process:

    1. Go to Applications > Utilities and open Terminal.
    2. Type the following command: killall IMDPersistenceAgent
    3. Press Return.

    If quitting the process in Terminal doesn’t solve the problem, continue with the steps below.

    4. Check System logs

    Your Mac keeps logs of all the processes running on it and, you can check those logs using the Console app:

    1. Go to Applications > Utilities and open Console.
    2. Click System in the sidebar.
    3. Scroll to a date and time you noticed IMDPersistenceAgent had high CPU and memory usage. Look for other processes running at the same time.
    4. Repeat the process for any other time you noticed the same thing happening.
    5. If you notice the same processes running each time, use Activity Monitor to quit them.
    6. If you notice, for example, Handoff running each time, disable Handoff.

    5. Scan your Mac for malware

    It’s possible that the reason IMDPersistenceAgent has high CPU or memory usage on your Mac is that your Mac is infected with malware and that the malware is causing that process to run into problems. The solution is to scan your Mac for malware using a specialist tool and then remove any malware it finds. We recommend CleanMyMac X. It scans your Mac looking for adware, browser hijackers, crypto miners and other types of malware and compares what it finds against a database of known malware. If it finds anything suspicious, it alerts you and allows you to remove it easily. You can choose between deep, quick, and balanced scans and either invoke scans manually or set them to run automatically in the background. Here’s how to use it:

    1. Open CleanMyMac X and choose Malware Removal.
    2. Click Scan to begin a scan or Configure to set the options you want.
    3. Wait for the scan to complete. If it finds anything suspicious, click Remove to get rid of it.
    adware found with malware removal module of CleanMyMacX

    IMDPersistenceAgent is a background process that, among other things, manages the access to and syncing of contacts in apps like FaceTime and Messages. Most of the time, you won’t even realize it’s running, but when IMDPersistenceAgent has high CPU or memory usage on your Mac, it becomes a problem. If it happens to you, follow the steps above to fix it.