How to Move the Apple Mail Library Folder to an External Drive?

admin | Apple Mail how to | 4 minutes read | Modified on: 05-12-2026

The buildup of years of newsletters, projects, invoices, and large media files may cause Apple Mail’s library to become a multi-gigabyte storage issue within your Mac computer’s built-in SSD. Although the Photos and Music applications have a simple “Move Library” option within their preferences window, Apple Mail lacks such an option. You can, however, move your mail’s data to an external hard drive, allowing Apple Mail to access it through the hard drive connection to your Mac OS.


Where Apple Mail Stores Its Data?

Before anything else, you should first be aware of the directories that contain your emails and attachments. In macOS, Apple Mail saves its mailboxes, email messages, account information, and indexing database in the hidden user Library at ~/Library/Mail/; however, the attachments and container data are stored in the directory ~/Library/Containers/com.apple.mail/.

However, since this library might contain huge amounts of information, there are two important things that you have to confirm prior to the transfer:

File System: Your external storage must use either APFS or Mac OS Extended (Journaled) file system, which would properly support the file permissions and metadata operations on macOS.

Space and speed: Make sure that your external drive has enough space apart from your emails’ size; if you often have to look up in your emails, an SSD via USB-C or Thunderbolt connection would be preferable.

Step-by-Step Guide to Moving the Mail Folder

Close Apple Mail entirely before moving or linking your library files because an active database operation might interfere with the file transfer process.

1. Leave Apple Mail and create a backup of your library:

Avoids data corruption while transferring data.

Use the keyboard shortcut “Command + Q” to close the Apple Mail application. Launch the Finder, use the keyboard shortcut “Shift + Command + G”, type “/Users/YourUsername/Library/Mail”, and save a copy of the Mail library elsewhere for backup purposes.

2.Copy the Mail folder to the external drive:

Set up an archive directory on your external hard drive, such as “MailArchive,” and copy the whole “Mail” directory in ~/Library/Mail to that directory rather than dragging individual subdirectories. This will ensure that all mailboxes and attachments are copied over properly.

3.Rename or remove the original Mail folder:

After checking the data on the external drive, go back to the ~/Library/ folder and rename the existing Mail folder as Mail_Backup so that in case there are any changes to be made, you can revert back to it.


4.Create a symbolic link at ~/Library/Mail:

Type Open Terminal, then type this command in Terminal to make the symbolic link for ~/Library/Mail pointing to your external drive path, e.g., ln -s /Volumes/ExternalDrive/MailArchive/Mail ~/Library/Mail, where ExternalDrive is replaced by your real name of external drive. Symbolic linking causes Mac OS X and Mail to see the external directory as the local one.


5.Reopen Apple Mail and verify mailboxes:

Make sure that your external drive is mounted and open Apple Mail. Verify the loading of all your recent emails, folder structure, and attachments. In case Mail asks for rebuilding or importing the indexes when you first launch it, wait for it to do so before removing Mail_Backup.

Tip: Using MacMister Professional Approach for Archiving and Migration

However, if relocation of the raw Mail folder using a symbolic link ensures smooth functioning of the existing Apple Mail environment from an external drive, there comes a time when you need something more portable in the form of individual files that can be transferred elsewhere and not just a live library connected to the structure of Apple Mail.

MacMister Apple Mail Converter is a tool intended for exporting emails and their attachments from Apple Mail to various formats, including PST, MBOX, PDF, EML, MSG, HTML, and CSV files, or even migrating some specific mailboxes to other email applications, such as Outlook, Thunderbird, Gmail, and Microsoft 365, while keeping the folder structure and metadata (To, From, Cc, Bcc, dates, subjects), as well as attachments. This tool, used together with an external drive configuration, will allow you to create readable copies (for example, in PDF or MBOX format) on external drives.

Try out the converter; begin by testing it with selective folders or a trial batch and make sure that the attachments and folder structure coincide with your expectations before storing your destination folder in an organized manner on your external drive.


Epilogue

Moving the Apple Mail library to an external disk not only clears up space from your internal disk but enables you to work within the same application. With backup, full Mail library copying, symbolic link creation at ~/Library/Mail and the use of MacMister Apple Mail Conversion Tool whenever you require portable and client-side archives, you will be able to maintain your email record intact.