# How to Log Out of Messages on Mac Without Losing Your Chats

Your Mac can quietly become one more place where your private conversations show up. That’s handy until you’re on a shared computer, lending your laptop to someone, or just want your texts kept on your phone. The good news is you don’t have to sign out of your whole Apple Account. Let’s see **[how to log out of iMessage on Mac](https://datarecovee.com/knowledge-base/how-to-sign-out-of-imessage-on-mac/)**.
## Why Log Out of iMessage on a Mac?
* The Mac is shared or loaned.
* You are passing the computer to another person.
* You don't want to get iMessages on that machine anymore.
* You are having issues with iMessage or iCloud sync.
* How to Log Out of Messages on Mac
## Open the Messages application.
* Select Messages from the menu bar and then click on Settings (Preferences on older versions of macOS).
* Click on the iMessage tab.
* Click Sign Out and confirm.
All you need to do is log out of iMessage on Mac. Your Apple Account remains active, and iMessage continues to function on your iPhone, iPad, and more.
## What Happens After You Sign Out?
You will no longer receive iMessages from that account on your Mac. Your Apple Account is not deleted, nor are your conversations removed. Signing out stops iMessage from using that account on your Mac. Messages in iCloud can continue syncing across other devices where the feature remains enabled.
## Still Seeing Messages? Try These Fixes
If texts keep appearing after you sign out, check how they’re reaching your Mac:
* Restart your Mac, then reopen Messages and check the iMessage settings again.
* Check your internet connection, since connectivity problems can interfere with account actions.
* Review Messages in iCloud under Messages > Settings > iMessage.
* Check Text Message Forwarding. Green bubbles are usually SMS, MMS, or RCS messages forwarded from your iPhone. On your iPhone, open Settings > Apps > Messages > Text Message Forwarding and switch off your Mac.
## Selling or Giving Away Your Mac?
Logging out of iMessage isn't sufficient. Be sure to log out of your Apple Account and follow Apple's instructions for preparing a Mac for a new owner. Signing out of your Apple Account disconnects the Mac from iCloud and other associated Apple services.
## Need More Help With Messages and Data? Try Datarecovee
If you've accidentally lost important files or need to recover deleted data, **[Datarecovee](https://datarecovee.com/)** offers data recovery and migration tools for files, partitions, emails, and databases. Its tools can help you scan for potentially recoverable data and select the files you want to restore.