How to Transfer Apple Mail Local Folders to a New Mac?

admin | Apple Mail how to | 5 minutes read | Modified on: 20-11-2026

Switching to a new Mac is always exciting, but transferring email archive is one of the tasks that can be tricky if you only use cloud sync for that. Although the messages located in the IMAP, iCloud, and Microsoft Exchange inbox will become accessible after logging into your account on the new device, the emails that were kept in your On My Mac (local) folders reside exclusively on the hard drive of your old Mac. Without transferring them, you may end up losing your years-long collection of receipts, client threads, and project-related correspondences. The good news is that the transfer of On My Mac folders from one Mac to another is an easy procedure once you know where these files are saved by Apple Mail and how to transfer them. In the following guide, MacMister will provide you with all the instructions for this task.

Quick Note: Utilize MacMister Apple Mail Converter Tool to export Apple Mail mailboxes into 15+ saving Options. It offers PST, PDF, MSG, EML, HTML, DOC, IMAP, Gmail, Yahoo, and more. Get its free demo and transfer 25 Apple Mail files for free.

Understanding Where Local Mail Appears

In Apple Mail, any folder that appears under On My Mac in the left sidebar will be kept local instead of being synced with your mail server. Such an arrangement is good when you want to save space in the cloud or keep offline archives, but this implies that you will have to migrate those mailboxes by yourself when using a different computer.

Under the hood, Apple Mail keeps mailbox data in the hidden user Library directory (~/Library/Mail/) in versioned folders (V10 or V11 in macOS) as .mbox files holding .emlx files for each message. Instead of rooting around in these system folders without a need to do that, Apple Mail allows you to export them via its own built-in tool into .mbox files.

Method 1: Export and Import via Apple Mail (Recommended)

Generally, moving local folders from one Mac to another by use of Export Mailbox and Import Mailboxes options offered by Apple Mail is the best thing to do.

Step 1: Export Local Folders on Your Old Mac

1. Launch Mail on your current Mac computer.

2. Go to the sidebar and then expand “On My Mac” to pick out the desired local mailbox to be migrated (you may use Command or Shift key to select multiple mailboxes).

3. Go to the menu bar above, and choose “Mailbox” > “Export Mailbox…” command.

4. Pick up a destination for your mailbox to save, such as a separate folder on your desktop or any external drive, and then click “Choose.”

5. Each exported mailbox will be saved as .mbox package. If you export the same-named mailbox again, then Mail will add some number instead of replacing your previous one.

Step 2: Move the .mbox Files to Your New Mac

Move the extracted .mbox files to the new Mac via the easiest method:

  • External SSD/USB drive: Best suited for big archives in gigabytes.
  • AirDrop: Quick and convenient way to move small chunks if both Macs are within range.
  • iCloud Drive/cloud drive: Useful if you just have a couple of mailboxes and reliable internet access.

Tip: When you are moving multiple .mbox files over a network or a cloud drive, it is advisable to pack all of them into one .zip file before moving.

Step 3: Import the Mailboxes on Your New Mac

  1. Move the .mbox files to your new computer (e.g., to the Downloads or Desktop folders).
  2. Open Mail on your new computer.
  3. Go to File > Import Mailboxes… from the menu at the top of the screen.
  4. Select Files in mbox format (or Apple Mail if asked about exporting Mail archives) and click Continue.
  5. Navigate to your .mbox files, choose them, and click Choose.
  6. Check the mailboxes found and click Continue, then Done when done importing.

Method 2: Copying Directly from Library

If you have dozens of local folders and want to grab them in bulk without clicking through each one in the app, you can look directly inside Apple Mail’s data directory:

  1. Eject Apple Mail from your old Mac by using (Command + Q) so that the active index and message files are not in the middle of writing.
  2. In Finder, use the Shift + Command + G command (Go to Folder…) to enter ~/Library/Mail/V10 (or V*) into the address bar and then hit Enter.
  3. Navigate through the account or local storage folder to find the .mbox bundles corresponding to your On My Mac folders.
  4. Copy these .mbox files to the transfer drive, transport them to the new Mac, and import them through File > Import Mailboxes….

But don’t just overwrite the whole ~/Library/Mail directory on the new Mac if you’re not restoring the entire system, since account IDs may be different from one machine to another, and from version to version of the macOS operating system.


Cleaning up After the Import

Instead of putting your emails in your On My Mac hierarchy immediately after completing the process, Apple Mail creates a new top-level folder called “Import” within the On My Mac hierarchy of the sidebar.

  • Check your emails: Check a couple of emails, threads, and attachments within the Import folder to ensure that all is in order.
  • Rebuild your hierarchy: Drag either the entire mailboxes or single emails from the Import folder to where they belong in the On My Mac hierarchy (you can create folders that mirror the original first and then drag them into the right folders).
  • Move emails to cloud accounts: If you wish to have the archived emails available to you on your iPhone, iPad, or even on webmail instead of keeping them only locally, then you can drag copies/mails to IMAP/iCloud mailbox (considering that large-scale import may use up your cloud storage space).
  • Delete the Import folder: Once you’ve organized everything, you can now go ahead and delete the unused Import folder.

Quick Troubleshooting Tips

  • Large mailboxes take time: Importing many messages at once or large attachments can take several minutes. Look out for the status icon in Mail and wait until the process finishes indexing before you move the folders.
  • Make sure to have a backup copy: Do not immediately format your old Mac or remove the .mbox file because you might want to verify if the search, attachments, and subfolders in it are correct on the new computer.
  • Subfolder nesting check: Exporting a parent folder normally includes all of its sub-folders, but when it comes to heavily nested folders, make sure you do not skip any sub-mailbox while selecting.

Epilogue

Given that On My Mac mailboxes do not use cloud servers at all, any relocation of such folders to another Mac involves some manual efforts, but the whole procedure is going to take just a few minutes after you get familiar with where everything should be. To keep all your email messages along with attachments and mailboxes themselves on your new Mac with File > Import Mailboxes…, you need to export your mailboxes on your old Mac to .mbox files. Always check imported emails and search results on your new Mac before erasing your old Mac completely.