← All processes

macOS process library · Messages and calls

What is imagent on Mac?

imagent is the background agent for Messages. It keeps your Mac connected to iMessage, and to SMS through your iPhone if you’ve set that up, so new messages arrive and sync even when the Messages app isn’t open.

Part of
Messages, part of macOS.
Safe?
Yes. It lives in macOS’s IMCore framework in /System/Library.
Can I quit it?
Yes, from Activity Monitor. macOS restarts it, and Messages reconnects.

The short answer

imagent is supposed to be running, in your account. It’s busiest while Messages syncs history or attachments from iCloud. If it stays busy, a stuck sync or sign-in problem is the usual cause.

Normal use

What imagent usually looks like.

imagent uses little CPU when messages are in sync. During a big sync, especially on a new Mac with Messages in iCloud, it can stay busy for a while.

Why imagent uses so much CPU or memory

How to calm imagent down

Start at the top. Each step is more disruptive than the one before.

  1. Let Messages sync

    Open Messages and leave it on Wi-Fi and power until the sync finishes.

  2. Check Messages settings

    In Messages → Settings → iMessage, confirm you’re signed in and see whether Messages in iCloud is syncing.

  3. Quit it once

    Quitting imagent in Activity Monitor makes macOS start a fresh copy.

  4. Restart your Mac

    A restart resets Messages’ connections.

Seeing it in Spare

Find what it’s reacting to.

imagent runs in your account, so Spare measures it directly and lists it as part of macOS. If it’s busy, check whether Messages is syncing.

Spare never offers to stop macOS processes like imagent.

SpareMemory pressure · Normal
◎
imagentmacOS · Messages and calls
16% CPU120 MB
◉
MessagesApp · 3 processes
7% CPU430 MB
◎
identityservicesdmacOS · Messages and calls
3% CPU60 MB
Illustration with example readings

Common questions

About imagent

Is imagent safe?

Yes. It’s Apple’s Messages agent.

Why does imagent run when Messages is closed?

So messages can arrive and sync in the background.

What does “im” stand for?

Instant messaging. imagent belongs to IMCore, the framework behind Messages.

Related processes

Sources: Apple: Set up iCloud for Messages on all your devices, Apple: Set up Messages on Mac. Reviewed October 13, 2026.

Get Spare

Free to use. Yours to explore.

Download Spare for Apple silicon, or explore the MIT-licensed source on GitHub. Free to use, with no subscription or account.

macOS 14+ · Apple silicon · Signed and notarized