How to restore lost Apple Mail messages from Time Machine
By Kayabyte · Last updated 30 October 2026
Short answer: Time Machine keeps older copies of your Mail folder, but it can’t put one lost message back into Mail for you. The method that is safest on current versions of macOS is to copy a mailbox out of a backup, import that copy with File, Import Mailboxes in Mail, and drag the messages you want where they belong. Don’t restore over your live Mail folder.
This guide is for people whose messages were stored on the Mac (an “On My Mac” mailbox, or downloaded copies of an IMAP account such as iCloud or Gmail) and who have a Time Machine backup made before the mail disappeared. The steps are about 20 to 30 minutes. We tested them on macOS 26.6.2 (Tahoe) with test messages; menu names can differ a little between versions of macOS, and where we did not test something, we say so.
Before you start: check the easy places
- The Trash and Junk. In Mail, open the Trash and Junk mailboxes of the account. Drag a message back to the Inbox, or choose Message, Move to. For IMAP accounts also check the provider’s own webmail (iCloud.com, Gmail’s Trash): servers often keep deleted mail for some weeks.
- Search all mailboxes. Click the search field and choose “All Mailboxes”, or look in the “Recovered Messages” mailbox if you have one.
- Don’t rebuild yet. Some people report that rebuilding a mailbox (Mailbox, Rebuild) made messages disappear when the server did not have them, because a rebuild can discard locally stored messages the server doesn’t hold. If you haven’t rebuilt, leave it for now; if the mail is only on this Mac, make the copy in this guide first.
- Check you have a backup from before the loss. Time Machine keeps hourly backups for 24 hours, daily backups for the past month and weekly backups after that, until the disk is full. A message that arrived and was deleted between two backups is not in any of them.
Step 1: Open the hidden Library folder
Your mail lives in a folder named Mail inside your user Library, which Finder hides.
- In Finder, click the Go menu, hold down the Option key and choose Library.
- You’ll see a folder named Mail with one or more folders starting with a V inside, such as V10. Use the V folder that is there; its number depends on your macOS version. Don’t open or change files inside it.
Step 2: Find the older copy in Time Machine
- With the Library folder (or the Mail folder) open in Finder, open Time Machine: choose Browse Time Machine Backups from the Time Machine icon in the menu bar, or open Time Machine from System Settings, General.
- Use the arrows or the timeline to move to a backup made before the messages were lost.
- Select the V10 folder (or the V folder you saw in step 1). Mail’s folder is large, since it holds all your accounts. If you only need one account, open the V folder and select just the account folder, a long name made of letters and digits.
Step 3: Restore a copy, not the original
This is the step that goes wrong most often. If you restore over your live mail, Mail can end up with old and new files mixed, and you can lose the mail that arrived since the backup.
- Quit Mail first (Mail, Quit Mail), and don’t delete, move or rename anything inside ~/Library/Mail.
- Check free disk space. Mail folders can be many gigabytes, and a copy that runs out of space halfway is no use.
- In Time Machine, Control-click the selected folder and choose Restore “V10” to… (the name matches the folder you selected). In our test on macOS 26.6.2 this did not ask for a destination folder. Instead macOS said that the location already contains an item with the same name, with three buttons: Keep Original, Keep Both and Replace.
- Choose “Keep Both”, never “Replace”. The older copy arrives next to the current one, in the same Mail folder, named V10 (from backup). If your version of macOS shows only a Restore button, click it and expect the same question. If you are not offered “Keep Both”, stop and don’t continue with this method.
- Leave the real V10 folder alone. In Finder, copy V10 (from backup) to your Downloads folder (select it, Edit, Copy, open Downloads, Edit, Paste Item) and rename the copy so you can tell it apart, for example V10 restored. Import from that copy in the next step, not from the one inside the Mail folder.
If Time Machine or Finder says it isn’t allowed to read the folder, give Finder access in System Settings, Privacy & Security, or copy the folder from the backup disk in Finder instead. Tools such as Terminal need Full Disk Access to read ~/Library/Mail at all, and it only applies after you restart them.
Step 4: Import the copy into Mail
- Open Mail and choose File, Import Mailboxes…
- Choose Apple Mail and click Continue. (The other choice, “Files in mbox format”, is for exports from other programs.)
- Select the restored copy (V10 restored), or a single account folder inside it, and click Choose. In the file window, press Command-Shift-G and type the path (for example ~/Downloads/V10 restored) to go straight to it.
- Mail shows a list of the items it found. Mailboxes are listed by the long account ID, not by the name of your account, so tick everything if you are not sure which is which, and click Continue.
- When it says “You can find the imported mailboxes in the folder named”Import” in the mailboxes list”, click Done and look in Mail’s sidebar under On My Mac. In our test the folder was called Import, and Import-2 the second time we imported. Inside it is a folder per account ID, and your mailboxes (Inbox, or the names you gave them) inside those.
Import adds the messages to a new folder and does not touch your existing mail, but make sure you have a current backup before you do it. Import does not skip messages you already have: everything in the copy is added again, so a message that is still in your live mailbox will appear twice. Find the messages that are missing, drag those out, and delete the rest of the Import folder afterwards. In our test, a mailbox we had deleted after the backup came back with all its messages. Import can still fail: some people get an empty result or no Import folder. If that happens, try a smaller piece (one account folder, or one .mbox mailbox folder) and make sure you picked the copy, not the live folder.
Step 5: Put the messages where they belong
- Open the Import folder in the sidebar, then the account and mailbox folders inside it, and find your messages.
- Drag them to the mailbox you want. For an IMAP account (iCloud, Gmail, Outlook and others), dragging a message into one of its mailboxes normally uploads it back to the server, so it shows up on your other devices too. Apple doesn’t document this, so check one message on another device before you move a lot.
- When you are sure everything is where it should be, delete the Import folder in Mail (select it, then choose Mailbox, Delete Mailbox…) and move your restored copy to the Trash.
What can’t be recovered
- Mail that was never in a backup, or that arrived and was deleted between two backups.
- Mail that exists only on the server and was deleted there. If your provider removed it and Mail had never downloaded it, Time Machine has no copy. Apple’s Mail help explains that when the provider’s server deletes old messages, they are deleted whatever Mail’s settings say.
- Parts of messages Mail never downloaded, such as large attachments left on the server. A message can come back without its body or attachment. Mail stores such messages as “partial” files.
- Mail from before your oldest backup, and anything on a backup disk that was erased or replaced.
- Backups where Mail was excluded. Open Time Machine settings, Options, and check that your Mail folder (your user Library) was not in the excluded list.
If something goes wrong
- The Import folder is empty: pick a smaller folder inside the copy, or a backup from another date. Mailboxes that were empty on that date import as empty.
- Mail shows odd or missing mail after you replaced the live folder anyway: quit Mail. The files you replaced are in the Time Machine backup of the live folder as well, so go back to a backup from just before the swap and restore a copy with Keep Both, as above.
- Mail’s own Time Machine view: older guides tell you to use Mail, Enter Time Machine. On macOS 26.6.2 we found no such item in any of Mail’s menus, and opening Time Machine with Mail in front showed the list of disks, not your messages. If your Mac still has it, treat it as a quick try; the Finder method above is the one we tested.
A simpler way: MailRescue, planned and not released
The steps above are the manual method. They work, but they involve hidden folders, a large copy of your whole Mail folder, and an import that can fail without saying why.
We are testing whether people want a Mac app for this. MailRescue is not released yet; you can’t download or buy it. The idea: read the Mail folder inside your Time Machine backups directly, show which messages were in an older backup and are missing from Mail today, and let you restore only those into an importable mailbox, without touching your live mail or your backups. Planned price USD 29 one time; nothing runs in the cloud and there is no AI. If you’d like it, join the waitlist. It costs nothing and you get one email, if it is ever released.
Questions
Can Time Machine restore a single email? Not by itself. Time Machine restores files and folders. Mail keeps each message as its own file inside mailbox folders, so you can restore a mailbox folder, then import it into Mail and pick out the messages.
Does Time Machine back up Apple Mail at all? Yes, it copies your Mail folder with the rest of your user Library. In our test on macOS 26.6.2, a backup contained the Mail folder with every message file, and an older backup still held a mailbox and messages we had deleted afterwards. If your Mail folder is missing from a backup, it was probably excluded in Time Machine’s options, or the backup is from before you set Mail up.
Where is the Mail folder on a Mac? In your user Library, at ~/Library/Mail. The Library folder is hidden: in Finder hold Option and open the Go menu, then choose Library.
Why are my Gmail or iCloud messages not in the backup? Mail only stores a local copy of what it has downloaded. Messages deleted on the server before Mail downloaded them have no copy on your Mac. Check the provider’s Trash and webmail first.
Is it safe to replace the Mail folder with the backup? We don’t recommend it. It replaces your newest mail and your index with older files, and Mail may then re-sync or rebuild in ways that are hard to undo. Restore a copy and import it instead.
Mac, macOS, Time Machine and Mail are trademarks of Apple Inc. Kayabyte is not affiliated with or endorsed by Apple Inc.