Migrate
How to Migrate Yahoo Mail to Gmail
Move Yahoo Mail to Gmail or Google Workspace using IMAP, Yahoo app passwords, and the right path for personal Gmail or Workspace tenants.
Dan Okafor
MSP Practice Lead
Yahoo-to-Gmail migrations look easy until you discover three things: legacy Yahoo accounts can be enormous (30 to 60GB is normal for a 20-year-old mailbox), Yahoo's IMAP server throttles aggressive parallel connections, and the destination matters more than you think. A consumer Gmail account, a Google Workspace tenant, and Gmail's own "Check mail from other accounts" all have different procedures. This guide walks you through each path, with the operational specifics for a clean Yahoo-to-Gmail move that does not stall halfway through.
Skip the manual setup — let Mailbox Taxi handle it
One desktop app, every IMAP provider, zero data leaving your machine.
Why Yahoo as a source is its own thing
Yahoo Mail accounts have been around since 1997. The active ones have a lot of history. It is not unusual to inherit a Yahoo mailbox that is 40GB, contains 250,000 messages, and has folders the user has not opened in twelve years. Three things follow from that.
First, sizing matters. A 40GB source mailbox needs a destination that can take it. Consumer Gmail gives 15GB shared across Drive and Photos; Workspace tenants get more per user. Either upgrade Google One on the destination or accept that some messages will not fit.
Second, throughput matters. At a safe two-to-four-thread concurrency, a 40GB mailbox takes one to two days end-to-end. Plan the cutover window accordingly. Pushing more threads to speed it up does not work — Yahoo will refuse the connections.
Third, the source has app-password requirements that catch people off guard. Yahoo no longer accepts the normal account password for IMAP. You have to enable two-step verification on the Yahoo account, then generate an app password at account.yahoo.com. The string looks like abcdefghijklmnop and Yahoo shows it once.
Prerequisites and pre-flight checks
Setup work is light on the Yahoo side but matters on the Gmail destination side, especially if you are migrating to Workspace.
On the Yahoo side
- Two-step verification enabled at account.yahoo.com → Account Security. App passwords do not exist without it.
- A generated app password labelled for the migration. Copy the 16-character string immediately — it cannot be viewed again.
- A mailbox size estimate. The Yahoo web interface does not show total size cleanly; the easiest way is to add the account to a desktop client and let it index briefly.
- Forwarding rules and filters documented. They will not migrate over IMAP. If they matter, recreate them on the Gmail side after.
On the Gmail destination side
- A provisioned destination mailbox. For consumer Gmail, the account must exist and IMAP must be on. For Workspace, the user must exist in the tenant.
- IMAP enabled at gmail.com → Settings → See all settings → Forwarding and POP/IMAP.
- Sufficient storage. Yahoo legacy mailboxes can be huge. For 40GB+ sources, the destination Gmail account needs Google One storage or a Workspace plan that covers it.
- Either OAuth set up through your migration tool (preferred) or an app password generated at myaccount.google.com → Security → App passwords. 2-Step Verification must be on.
Plan for size before you start
The most common Yahoo-to-Gmail failure mode is destination quota. You discover halfway through a 40GB migration that the consumer Gmail account is full. Either upgrade Google One before starting, or use a Workspace mailbox that has the headroom.
For background on what an app password is and why both providers require one, see the app password glossary entry. For the IMAP terminology that surfaces in the migration logs, the IMAP protocol glossary is the quick reference.
The migration procedure
Three real paths exist. Pick one based on scale and destination.
- Gmail's built-in import ("Check mail from other accounts" or "Import mail and contacts") for a single consumer Gmail destination, small to medium mailbox. Easiest to start, weakest control.
- Google Workspace Data Migration Service for tenant-wide moves into Workspace. Runs server-to-server, scales across many users.
- Desktop IMAP migration tool for everything else, especially large mailboxes or migrations with mapping requirements.
The procedure below covers the IMAP path because it is the most general; the path-specific notes are called out where they differ.
Confirm the destination Gmail or Workspace mailbox
Sign in to the destination Gmail or Workspace mailbox through the web interface. Confirm IMAP is on at Settings → See all settings → Forwarding and POP/IMAP. If using Workspace, confirm the user exists in the admin console and the right licence is assigned. If using consumer Gmail and you expect over 15GB, upgrade Google One first.
Enable two-step verification on Yahoo
Go to account.yahoo.com → Account Security. Turn on two-step verification. Yahoo will verify via SMS or call. Save the backup codes. The Generate app password option appears only after 2SV is on.
Generate a Yahoo app password
Still in Account Security, click Generate app password. Label it
Mailbox Taxi migrationor similar. Yahoo shows the 16-character string once in a modal in the formabcdefghijklmnop. Save it to your password manager immediately. The label is just for your reference — Yahoo does not enforce it.Audit the Yahoo source
Add the Yahoo account to a desktop client temporarily so you can see the folder list and rough size. Note:
- Total mailbox size in GB.
- The folder tree. Yahoo uses real IMAP folders, so this is what you actually have.
- Sent and Draft folders' contents (they migrate separately from regular folders).
- Bulk Mail (Yahoo's spam folder) — usually skipped.
- Any forwarding rules and filters, which will need to be recreated on the Gmail side after.
Pick your migration path
Three options:
- Gmail's built-in import: At gmail.com → Settings → See all settings → Accounts and Import → Import mail and contacts. Enter the Yahoo address and app password. Gmail will pull messages in the background. Adequate for under 5GB.
- Workspace Data Migration Service: At admin.google.com → Data Migration. Set up an IMAP source pointing at
imap.mail.yahoo.com, add users with their app passwords, start the migration. Best for tenant-wide moves. - Desktop IMAP tool: Add Yahoo as source (
imap.mail.yahoo.com:993SSL) and Gmail as destination (imap.gmail.com:993SSL). Configure mappings. Run.
Configure folder-to-label mapping
Set explicit mappings for Yahoo's special folders:
- Yahoo
Sent→ Gmail[Gmail]/Sent Mail - Yahoo
Draft(singular) → Gmail[Gmail]/Drafts - Yahoo
Bulk Mail→ skip (or →[Gmail]/Spamif you really want it) - Yahoo
Trash→ skip
For every other Yahoo folder, decide whether to preserve nesting (Gmail will create nested labels with slash separators) or flatten. Gmail handles nesting fine, so preserving is usually right.
- Yahoo
Pilot one mailbox
Run one mailbox or one folder end-to-end. Open the result in Gmail's web interface. Verify:
- Sent label has the expected message count, with the correct From addresses.
- Drafts label has drafts (and not just empty placeholders).
- Attachments open.
- Unicode subjects render correctly.
- Dates match the original Yahoo dates, not the migration date.
- Nested folders translated to slash-separated labels cleanly.
A clean pilot saves a full-batch rerun.
Run the full migration
Start the full run with 2 to 4 IMAP threads per mailbox. Yahoo will throttle anything above that. Monitor the log for:
AUTHENTICATIONFAILED— usually means the Yahoo app password was revoked.Too many simultaneous connections— drop concurrency.Message too large for destination— Gmail's 25MB inline limit being hit. Log these for manual handling.OAuth2 token expiredon the Gmail side — re-authenticate and resume.
Expect rough throughput of one to two GB per hour per mailbox at safe concurrency.
Verify and cut users over
Compare per-folder message counts. Allow small variance on Drafts (Gmail and Yahoo handle draft auto-saves differently). Once verification looks clean, update the user's mail client to point at
imap.gmail.com(port 993, SSL) andsmtp.gmail.com(port 465 or 587). Tell the user when to switch. If you set up forwarding from Yahoo to Gmail during overlap, leave it running for two weeks so any senders who still have the Yahoo address do not lose mail.
Gotchas specific to Yahoo-to-Gmail
The pair-specific issues that come up often enough to plan for.
Throttling is real and the symptoms are vague. Yahoo will accept a fifth IMAP connection, take a few commands on it, then start dropping responses. The migration log shows hangs and timeouts rather than a clean error. Drop concurrency to 2 if you see slow progress.
Legacy Yahoo accounts have weird Sent folders. Old Yahoo accounts sometimes have Sent, Sent-old, Sent Items, and Sent Messages all from various client reconfigurations. Inspect the folder list and consolidate before mapping.
Yahoo's Drafts folder is Draft, singular. Many tools default to mapping Drafts (plural) which does not exist on Yahoo. The Yahoo drafts then look empty. Map Draft explicitly.
Gmail's import wizard misses messages. Gmail's built-in import is convenient for under 5GB but it is known to skip messages silently when it hits errors. For anything important, use a desktop IMAP tool with proper logging.
Yahoo Mail Plus accounts behave the same as free. Yahoo Mail Plus removes ads and gives more storage, but the IMAP behaviour is identical. Throttling limits are the same. Do not assume Plus lets you push more threads.
Forwarding loops are easy to create. If you set up Yahoo-to-Gmail forwarding during the overlap window and Gmail also forwards to Yahoo (because of an old rule), you get a loop. Audit forwarding rules on both sides before enabling either direction.
Two weeks of overlap is the right answer
Leave Yahoo receiving and forwarding to Gmail for two weeks after the main migration. Senders who have not updated their address book still reach the user. The user only sees one inbox (Gmail). After two weeks, anyone still sending to the old Yahoo address gets a bounce, which is the right signal to actually update their contact.
Errors you will see
The pattern-matching list for the most common log lines.
AUTHENTICATIONFAILEDfrom Yahoo. App password revoked or two-step verification disabled. Regenerate.AUTHENTICATIONFAILEDfrom Gmail. App password revoked, or OAuth scopes wrong. Re-authorise.Too many simultaneous connectionsfromimap.mail.yahoo.com. Drop concurrency to 2.Message too large for destination— Gmail's 25MB inline ceiling. Log and handle by manual upload to Google Drive.STARTTLS handshake failed. Port or TLS mode misconfiguration. Use 993 with SSL on both sides.OAuth2 token expired. The token refresh failed mid-run. Re-authenticate and resume.Folder UTF-7 conversion erroron Yahoo folders with non-ASCII names. Rename the folder on the Yahoo side, then retry the affected folder.
If you are migrating in the reverse direction, see migrate Gmail to Yahoo. If the destination is Microsoft 365 instead of Gmail, see migrate Yahoo to Office 365. For another classic-provider source, see migrate AOL to Gmail.
Communicating the cutover
For Yahoo-to-Gmail migrations the cutover is usually simpler than a business move because the source domain is consumer (no MX change), but user communication still matters.
A reasonable cadence for a multi-user move: one week out, send a setup guide with Gmail IMAP and SMTP settings and screenshots for the most common mail clients. Three days out, a reminder. The day of cutover, a 30-minute heads-up. The day after, a wrap-up with a contact for any issues. If the migration is just for one user (a relative moving off Yahoo), a phone call works better than email.
Schedule cutover for a Friday evening or Saturday morning. Migrations take a long time on the Yahoo side, so the run itself probably started a day or two earlier. The cutover is just the client reconfiguration and the forwarding turn-on. Plan a 14-day Yahoo-to-Gmail forwarding overlap so anyone with the old address keeps reaching the user.
For broader strategy around DNS, scheduling, and rollback in larger migrations, see the complete email migration guide. It is written for the multi-mailbox case but the planning approach is the same.
Migrate your mailbox the easy way
Join the waitlist for early access and lock in launch pricing.
Related reading
migrate
How to Migrate Gmail to Yahoo Mail
Migrate Gmail to Yahoo Mail using IMAP, app passwords on both sides, and a label-to-folder plan that keeps Sent, Drafts, and threads intact.
migrate
How to Migrate Yahoo to Office 365
Move Yahoo mailboxes to Office 365 with EAC IMAP batches, app passwords, and a clean MX cutover that keeps mail flowing during the swap.
migrate
Migrate AOL Mail to Gmail: A Practical IMAP Walkthrough
Move AOL Mail to Gmail with folder mapping, app passwords, and verified IMAP settings. A field-tested migration path that preserves dates and read state.
glossary
What Is an App Password? A Plain-English Guide
What an app password is, how to generate one in Gmail, Yahoo, and Apple, and when OAuth is the better path for connecting a migration tool.
blog
The Complete Email Migration Guide for 2026
Plan, execute and validate an email migration without losing folders, flags, or sleep. A pillar guide that walks the full process end to end.
glossary
What Is IMAP? A Plain-English Definition
IMAP (Internet Message Access Protocol) is the standard that lets email clients read mail from a server. Here's what it does, how it differs from POP3, and why it matters for migrations.
Migrate your mailbox the easy way
Join the waitlist for early access and lock in launch pricing.