Skip to main content
Prism MigrationPrism Migration
Email Backup

How to Backup iCloud Emails to Hard Drive on PC & Mac (2026 Guide)

M
Marcus Brody Author

Principal Systems Recovery Specialist

8 min read · Published August 16, 2026
Executive Summary & Key Takeaway

Running out of 5GB free iCloud storage? Learn how to export and backup all iCloud mailboxes to local hard drive with attachments and folder hierarchy intact.

On This Page (9 sections) ▾
✦Tip

⚡ Quick Direct Answer: Backup iCloud Mail to External Hard Drive

Apple iCloud provides 5 GB of free shared storage and does not include a bulk mailbox export function in webmail. To archive messages locally:

  1. Generate App-Specific Password: Sign in to appleid.apple.com, navigate to Sign-In and Security > App-Specific Passwords, and create a 16-character code.
  2. Connect Desktop Engine: Open Prism iCloud Backup Tool (compatible with Windows and macOS), and enter your iCloud email address and App-Specific Password.
  3. Export to Local Disk: Select your target directory on an internal or external drive, choose your desired format (Unicode PST, searchable PDF, or MBOX), and click Start Backup.
ℹNote

Trial Version Notice: The free evaluation version of Prism iCloud Backup Tool exports up to 50 items per folder, allowing you to test Apple IMAP SSL connectivity, App-Specific Password authentication, and local folder extraction before licensing.

Apple provides 5 GB of free iCloud storage shared across device backups, photos, iCloud Drive, and iCloud Mail.

When account storage reaches capacity, incoming emails can bounce with delivery failure notices, and client applications display storage warnings. Exporting and archiving your iCloud mailbox onto a local hard drive or external SSD allows you to retain historical records while reclaiming active cloud quota.

CODE / SCRIPTCode / Script
┌──────────────────────────────────────────────────────────────────┐
│  ICLOUD STORAGE DILEMMA & LOCAL RETENTION RESOLUTION             │
├──────────────────────────────────────────────────────────────────┤
│  FREE ICLOUD QUOTA (5 GB SHARED ACROSS ALL SERVICES):            │
│  - Device backups, photos, and files share the 5 GB pool         │
│  - Email delivery halts when account storage is exhausted        │
│  - Webmail (iCloud.com) lacks a bulk export button               │
│                                                                  │
│  LOCAL OFFLINE ARCHIVE (EXTERNAL DRIVE / PC / MAC):              │
│  - Retain correspondence without ongoing cloud upgrades          │
│  - Export to standardized PST, MBOX, EML, or PDF formats         │
│  - Independent searchability without active cloud connection     │
└──────────────────────────────────────────────────────────────────┘

Technical Constraints of Web Extraction via iCloud.com

The web interface at icloud.com/mail allows users to view messages and download individual items, but does not provide an automated "Export All" function.

In addition, Apple enforces security and protocol requirements for client access:

  1. Mandatory Two-Factor Authentication: Direct login using primary Apple account passwords is blocked for third-party desktop connections.
  2. App-Specific Passwords: Third-party IMAP clients must authenticate using an authorized 16-character token generated from Apple's security dashboard.
  3. IMAP Rate Limiting: High-frequency socket requests during large downloads can trigger temporary server-side throttling.

Method 1: Exporting iCloud Mail via Apple Mail on macOS

If you are using a Mac, Apple Mail can export individual folders as standard Unix MBOX containers.

Step 1: Ensure Full Local Message Caching

To ensure that email bodies and attachments are fully downloaded to the local drive:

  1. Open Apple Mail and go to Settings (Cmd + ,).
  2. Select Accounts and choose your iCloud account.
  3. Under Account Information, set Download Attachments to All.
  4. Allow Apple Mail to finish synchronizing all folder items.

Step 2: Export Mailbox to MBOX

  1. In the sidebar, select the mailbox folder you wish to export (e.g., Inbox or Archive).
  2. Right-click the folder and select Export Mailbox....
  3. Choose a destination folder on your local drive or external storage and click Choose.
CODE / SCRIPTCode / Script
~/External_Drive/
└── iCloud_Archive_2026/
    ├── Inbox.mbox/
    │   └── mbox (Raw Unix MBOX format)
    └── Sent Messages.mbox/
ℹNote

Apple Mail exports .mbox packages containing Apple-specific index structures (table_of_contents and nested .emlx files). Windows email clients generally cannot open these packages directly without format conversion.


Method 2: Automated Local Backup via Prism iCloud Backup Tool

For Windows users, mixed-platform environments, or compliance workflows requiring Outlook PST or searchable PDF documents, Prism iCloud Backup Tool establishes an encrypted IMAP session directly with Apple's mail infrastructure.

Generating an Apple App-Specific Password:

  1. Navigate to appleid.apple.com and sign in.
  2. Under Sign-In and Security, select App-Specific Passwords.
  3. Click Generate an app-specific password (or click +).
  4. Enter an identifier (such as Prism-Backup) and click Create.
  5. Copy the 16-character code (xxxx-xxxx-xxxx-xxxx).
CODE / SCRIPTCode / Script
┌────────────────────────────────────────────────────────┐
│  APPLE APP-SPECIFIC PASSWORD SETUP                     │
├────────────────────────────────────────────────────────┤
│  1. Sign in to https://appleid.apple.com               │
│  2. Sign-In and Security > App-Specific Passwords      │
│  3. Enter label: Prism-Backup                          │
│  4. Generated token: abcd-efgh-ijkl-mnop               │
│  🔒 Master Apple ID password remains protected         │
└────────────────────────────────────────────────────────┘

Backup Execution Procedure:

  1. Launch Prism iCloud Backup Tool on Windows or macOS.
  2. Enter your Apple ID email address (@icloud.com, @me.com, or @mac.com) and paste your 16-character App-Specific Password.
  3. Select your desired output format:
  • PST: For direct access and search inside Microsoft Outlook (Windows or Mac).
  • MBOX: For Mozilla Thunderbird, Apple Mail, or Unix systems.
  • PDF: For indexed, searchable documents with embedded attachments.
  • EML: For individual RFC 822 message files.
  1. Choose your target destination directory on an internal or external drive.
  2. Click Start Backup to download your mailboxes.

Target Format Comparison Matrix

FormatRecommended Use CaseWindows CompatibilitymacOS CompatibilityAttachments
Outlook PSTMicrosoft Outlook, Windows Desktop SearchNative Win32 defaultOutlook for MacEmbedded MAPI stream
Unix MBOXThunderbird, Long-term Cold StorageVia ThunderbirdNativeInline RFC 2822 MIME
PDF/A DocumentLegal discovery, audits, Bates stampingUniversal PDF readerUniversal PDF readerEmbedded or companion
EML / MSGSingle-message indexing, sortingNativeNativeInline Base64 MIME

Archiving iCloud+ Custom Domains & "Hide My Email" Aliases

If your account uses iCloud+ custom email domains or "Hide My Email" relay addresses:

1. Unified Mailbox Routing

Apple routes messages sent to custom domain addresses and private relay aliases into your single primary iCloud inbox. They are not stored in separate IMAP mailboxes.

2. Header Preservation

During export, the tool retains all original delivery headers:

  • X-Original-To: Records the specific "Hide My Email" alias.
  • Delivered-To: Confirms the destination account routing.
  • Authentication-Results: Contains Apple's SPF and DKIM authentication tokens.

This ensures you can sort and filter your local archive by specific aliases after export.


Technical Reference: Apple iCloud IMAP Parameters

When configuring mail clients or verifying connectivity to Apple's mail infrastructure:

ParameterConfiguration ValueNotes
Incoming Mail Serverimap.mail.me.comOfficial Apple IMAP cluster
Port993Requires SSL/TLS
Authentication16-Character App-Specific PasswordStandard account password rejected
SSL / TLS VersionTLS 1.2 or TLS 1.3Older SSLv3/TLS 1.0 disabled
UsernameFull Apple ID email addresse.g., user@icloud.com

Safely Freeing iCloud Storage Quota

After completing and verifying your local backup:

  1. Open icloud.com/mail or Apple Mail.
  2. Select older messages or heavy attachments that have been archived locally.
  3. Move items to Trash.
  4. Verify your local backup before clearing Trash: Open the exported PST, MBOX, or PDF files to verify message readability and attachment access.
  5. Empty the Trash folder in webmail to release your cloud storage quota.

Frequently Asked Questions (FAQs)

Can I back up iCloud email without exposing my primary Apple account password?

Yes. Apple requires App-Specific Passwords for third-party IMAP access. Your master Apple account password and 2FA credentials remain private.

Will downloading emails remove them from my iPhone or iPad?

No. The backup process downloads a duplicate copy to your local drive. Emails remain accessible on your mobile devices unless you deliberately delete them after verifying the local archive.

Can I access exported emails if I downgrade or cancel my iCloud plan?

Yes. Once exported to PST, MBOX, or PDF, your email archives are completely independent of Apple's servers and can be searched and opened offline indefinitely.

How can I export iCloud Contacts and Calendars?

In icloud.com, navigate to Contacts > Settings > Export vCard to download your contacts as a .vcf file. For calendars, you can export events as a standard .ics file.


Summary

Backing up iCloud Mail to a local hard drive protects correspondence against unexpected storage exhaustion and service disruptions. While macOS users can export individual folders via Apple Mail, Prism iCloud Backup Tool provides a dedicated cross-platform utility to archive mailboxes directly into PST, MBOX, and PDF formats.

Related Guides:

Recommended Automated Utility Windows 11 & 10 (32 & 64-bit) & macOS

iCloud Backup Tool

Safely backup, convert, and migrate Apple iCloud Mail (@icloud.com, @me.com, @mac.com) to PST, PDF, MBOX, EML, EMLX (Apple Mail), MSG, or Microsoft 365. Ultra-fast SSL streaming with direct provider connection, local processing, and native Apple Silicon parity.

Windows 11 & 10 (32 & 64-bit) & macOS 1, 2 & 3-Year License Options Free Trial (50 items/folder)