The Wild

cPanel to cPanel Email Migration: Step-by-Step Guide

· 6 min read · Mammals

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Migrating email from one cPanel server to another can be done without losing any messages, contacts, or settings. This guide walks you through the process using cPanel’s built-in tools, so you don’t need to touch the command line or install extra software. You’ll need access to both cPanel accounts (old and new), and you should have the email passwords for the accounts you’re moving.

What You'll Need

  • Login credentials for the source cPanel account (where emails currently live)
  • Login credentials for the destination cPanel account (where emails will go)
  • Email account passwords for all mailboxes you plan to migrate (if you don’t have them, you’ll need to reset them in the source cPanel)
  • A stable internet connection – the transfer can take a while if there are many or large emails

Step-by-Step

  1. Prepare the destination cPanel. Log into the destination cPanel and create the same email accounts you want to migrate. For each mailbox, use the exact same email address and password as on the source. If you don’t create them, the migration tool may fail or create duplicates.
  2. Check disk space on the destination. In the destination cPanel, look at “Disk Usage” or “Statistics” to ensure you have enough space for the incoming mail. If you’re not sure, estimate the total size of the source mailboxes (see Step 4).
  3. Log into the source cPanel. Go to the “Email” section and click “Email Migration” (in some versions it’s under “Mail” or “Email Deliverability”). If you don’t see it, your host may have disabled it – you’ll need to use an alternative method (see Tips).
  4. Select the mailboxes to migrate. The tool will list all email accounts on the source. Check the boxes next to the ones you want to move. If you want to migrate all, click “Select All”. Note the total size shown – this helps you estimate time.
  5. Enter the destination server details. You’ll need the destination cPanel’s hostname (e.g., server.example.com) or IP address, and the destination cPanel username and password. This is the cPanel login, not an email account login.
  6. Start the migration. Click “Migrate” or “Start”. The tool will connect to the destination and begin copying emails. The process runs in the background – you can leave the page and come back later.
  7. Monitor progress. In the same “Email Migration” screen, you’ll see a status for each mailbox: “Pending”, “Running”, “Completed”, or “Failed”. Wait until all show “Completed”. This can take minutes or hours depending on mailbox size.
  8. Verify the migration. Log into the destination webmail (e.g., Roundcube or Horde) for a few accounts and check that folders, subfolders, and recent emails are present. Also send a test email to the address to confirm delivery works.
  9. Update DNS if needed. If you’re moving the domain to a new server, update the MX records at your domain registrar or DNS provider to point to the new server. If you’re only moving email while the domain stays on the old server, skip this step.
  10. Remove old mailboxes (optional). Once you’re sure everything is on the destination, you can delete the old email accounts from the source cPanel to free up space. Wait at least a few days to ensure no important emails were missed.

Common Mistakes

  • Not creating destination mailboxes first. The migration tool expects the accounts to already exist on the destination. If they don’t, the migration will fail with an error like “Mailbox does not exist”.
  • Using the wrong credentials. The destination server details must be the cPanel login, not an email address or FTP login. Double-check the hostname and username.
  • Ignoring disk space. If the destination runs out of space mid-migration, some mailboxes may partially transfer, leaving you with missing emails.
  • Migrating while users are actively sending/receiving. If users are using their email during the migration, new messages may not be copied. It’s best to schedule the migration during a quiet time.
  • Forgetting to update MX records. If you change servers, email will still go to the old server until MX records are updated. This can cause mail to be lost.

Tips

  • Use the “Email Migration” tool if possible. It’s the easiest method. If your host has disabled it, you can use an email client like Outlook or Thunderbird to copy emails – set up both accounts as IMAP, then drag-and-drop folders from the old to the new. This is slower but works.
  • Migrate in batches. If you have many large mailboxes, migrate a few at a time to reduce the load and make it easier to troubleshoot failures.
  • Keep the old server active for a while. Don’t cancel the old hosting until you’re certain all emails have been transferred and DNS has propagated (usually 24-48 hours).
  • Check for email forwarders and filters. The migration tool only copies mailboxes, not forwarders, filters, or autoresponders. You’ll need to recreate those manually on the destination.
  • Test with a single mailbox first. Do a test migration with one small mailbox to confirm the process works before migrating everything.

Troubleshooting

  • Migration fails with “Authentication failed”. Check the destination cPanel username and password. Also ensure the destination server allows cPanel API access – some hosts restrict it. Contact your host if needed.
  • Mailboxes show “Failed” with no reason. Try migrating that mailbox again. If it still fails, check if the mailbox exists on the destination and that the password matches. Also check the source mailbox is not corrupted – you can try repairing it via the “Email Accounts” > “Check Mailbox” option.
  • Emails are missing after migration. Compare the folder list in the destination webmail with the source. If some folders are missing, they may have been empty or the migration didn’t copy them. You can manually copy them using an IMAP client.
  • The migration is very slow. This is normal for large mailboxes. You can speed it up by migrating fewer mailboxes at a time, or by doing it during off-peak hours. If it’s stuck for hours, cancel and restart.
  • New emails are not arriving on the destination. Check MX records – they may still point to the old server. Also verify that the destination mail server is accepting mail for the domain (check in cPanel “Email Deliverability”).
  • You can’t find the “Email Migration” tool. It might be under “Mail” or “Email” in cPanel, or your host may have disabled it. If so, use the IMAP client method mentioned in Tips.

Frequently Asked Questions

Does the Email Migration tool copy all folders?

Yes, it copies all folders and subfolders, including sent, drafts, trash, and custom folders, as long as they exist on the source server. Empty folders are usually created as well.

Will email forwarders and filters be migrated?

No. The tool only migrates mailbox content. You need to recreate forwarders, filters, and autoresponders manually on the destination cPanel.

Can I migrate email without changing my domain’s DNS?

Yes, if you’re moving to a new server but keeping the same domain, you can migrate email first, then update MX records when you’re ready. Until MX records change, email will still go to the old server.

What happens to emails sent during the migration?

Emails that arrive at the source server after the migration starts may not be copied. To avoid loss, either stop using the email accounts during migration or, after migration, check for any new messages and forward them manually.

How long does the migration take?

It depends on the total size of the mailboxes and the speed of both servers. A small mailbox (a few hundred MB) might take minutes, while a large one (several GB) could take hours.

Do I need to change my email client settings after migration?

If the incoming/outgoing server hostname changes (e.g., from mail.oldserver.com to mail.newserver.com), you’ll need to update the settings in your email client. If the hostname stays the same, no changes are needed.