Blog/ Other providers

How to Export Yahoo Mail to PST, Gmail or Another Provider

Nafiul HasanNafiul Hasan· 16 min read
Diagram of exporting Yahoo Mail to another provider: a Yahoo mailbox copied folder by folder over IMAP into a new email account, with contacts exported separately as a CSV file

The short answer

To export Yahoo Mail, create a Yahoo app password and add the account to a desktop mail client over IMAP, using Yahoo's export server (export.imap.mail.yahoo.com, port 993) for a full download. Then drag folders to a new provider, or in classic Outlook use File, Open and Export, Import/Export to save a PST. Yahoo's own data download is JSON, not importable mail.

How to export Yahoo Mail without losing folders: IMAP copy, PST export through Outlook, contacts as CSV, and why Yahoo's data download is not enough.

On this page
  1. 01How to export Yahoo Mail
  2. 02Which Yahoo export do you need?
  3. 03Before you start: checklist
  4. 04How to export Yahoo Mail over IMAP, step by step
  5. 05Export Yahoo Mail to a PST file or Outlook
  6. 06Export Yahoo Mail to a file you can keep (MBOX or EML)
  7. 07What actually moves, and what doesn't
  8. 08What about Yahoo's own data download?
  9. 09What breaks on the day, and what to do about it
  10. 10Rollback plan and overlap period
  11. 11Should you delete the Yahoo account afterwards?
  12. 12Where AI Emaily fits

How to export Yahoo Mail#

The short answer to how to export Yahoo Mail: use IMAP, not Yahoo's download button. Create a Yahoo app password, connect Yahoo to a desktop mail client, and let it download every folder. From there you either drag folders into a new provider's account, or save them to a file such as an Outlook PST. Messages keep their folder structure, read state and dates.

Yahoo's own data download is a privacy export, not a migration tool. It arrives as JSON, can take up to 30 days to become available, and is not something you can import into a new mailbox. It is a useful archive but a bad way to move.

This guide covers what moves and what does not, the order to do it in, how to export Yahoo Mail to PST or Outlook, and the Yahoo-specific trap that catches people months later.

Which Yahoo export do you need?#

There are only a few mechanisms, and the differences decide how much you lose. Pick the row that matches the result you want, then jump to that section.

You wantRouteKeeps folders?
A file you can open in OutlookIMAP into classic Outlook, then export a PST (see the PST section below)Yes
Your mail in Gmail, Fastmail, iCloud or another accountIMAP copy in a desktop client, dragging folders acrossYes
Standard message files as a backup (EML or MBOX)IMAP download in Thunderbird, then a third-party export add-onYes
A small, flat mailbox, no fussThe destination provider's own import toolOften not
A record of what Yahoo holds on youYahoo Download My Data (JSON)Not applicable; not importable mail

Gmail's import tool is not the safe choice it used to be

Google's documentation states that importing from another account brings messages but not folders or labels, and forwards new mail for 30 days afterwards. Google has also announced that Gmailify and POP fetching are being retired: the feature no longer supports new users after the first quarter of 2026, and existing users can use it only until January 2027. If you're moving to Gmail, copy over IMAP and treat the import tool as a fallback. Check Google's current help page before relying on either.

Before you start: checklist#

Do this before copying a single message. Each item takes a few minutes now and is painful to reconstruct later.

  • Create the destination account first, and verify you can send from it.
  • Generate a Yahoo app password. Yahoo says third-party mail apps that do not use its own sign-in page need one; your normal password will be rejected.
  • Check free disk space. Years of attachments can add up to tens of gigabytes, and the copy lands on your machine first.
  • Export Yahoo Contacts to CSV before touching the mail.
  • Export your Yahoo Calendar if you use it, using the export option in Yahoo Calendar. Its menu labels change, so check Yahoo's help if you cannot find it.
  • Screenshot your Yahoo filters, signature and vacation-reply text.
  • List every service that emails your Yahoo address: bank, tax, utilities, domain registrar, two-factor recovery. This list is the real migration, and it's longer than you think.
  • Pick a date you can leave both mailboxes running for at least a month afterwards.

Treat the app password like a key, not a password

A Yahoo app password grants full mailbox access. Generate one per client, delete it from Yahoo Account Security the moment the migration is finished, and never paste it into a web-based migration service you can't audit.

How to export Yahoo Mail over IMAP, step by step#

Thunderbird is the usual tool here: free, cross-platform, and happy to hold two IMAP accounts side by side. Apple Mail and Outlook do the same job with a near-identical sequence.

  1. 1

    Generate a Yahoo app password

    Sign in to Yahoo Account Security, open the External connections section and choose Create app password. Copy it somewhere temporary.

  2. 2

    Add Yahoo to the desktop client with the export server

    Incoming: export.imap.mail.yahoo.com, port 993, SSL/TLS. Yahoo's guide to downloading your email with IMAP uses this host, and its everyday IMAP page points to it for anyone not seeing all their old messages. Outgoing: smtp.mail.yahoo.com, port 465 or 587, authentication required. Username is your full Yahoo address; password is the app password. For ordinary day-to-day use afterwards, imap.mail.yahoo.com is the regular server.

  3. 3

    Tell the client to download full messages

    Yahoo's guide says to set your app to download the full contents of each email, not just previews, and to answer yes if it asks whether to keep mail on the server, otherwise messages can be removed from your Yahoo account after download. Yahoo also warns that folders with around 100 thousand or more messages may not download completely, so split very large folders first.

  4. 4

    Add the destination account in the same client

    Use the new provider's IMAP settings. Both accounts now sit in the same folder tree, which is what turns the copy into a drag rather than an export-import.

  5. 5

    Force a full download of the Yahoo side

    In Thunderbird, right-click the Yahoo account, choose Subscribe, and tick every folder, then open each one once so the client fetches the headers. Nothing copies that it hasn't seen. Yahoo says accounts with a lot of content can take several days or longer to download.

  6. 6

    Create the destination folders, then copy in batches

    Make an empty folder on the new account, select a few hundred messages in the matching Yahoo folder, and drag them across. Small batches are slower to start but far easier to resume than one huge drag.

  7. 7

    Work oldest to newest, one folder at a time

    Start with archives, finish with the inbox. If the copy stalls, you know exactly where, and today's mail is still where you left it.

  8. 8

    Verify by count, not by feel

    Compare each folder's message count on both sides, then open the oldest and newest message in a few folders and confirm attachments open.

  9. 9

    Import contacts on the destination

    Export Contacts from Yahoo as CSV, then import that file into the new address book. Yahoo's help describes an Export (CSV) option under the contacts menu, though labels vary by version. Expect to fix a handful of field mappings by hand.

Illustration of a bridge carrying mail from one mailbox to another, showing messages and folders crossing while contacts, filters and signatures stay behind on the original side
The copy carries messages and folders. Contacts, filters and signatures have to be walked across separately.

Export Yahoo Mail to a PST file or Outlook#

People who search for how to export Yahoo Mail to PST usually want one of two things: a backup file Outlook can open, or all their Yahoo mail inside Outlook. Both start the same way, with Yahoo added to Outlook over IMAP. The free manual route uses classic Outlook for Windows. Third-party converter tools exist too, but they also need your app password, so the manual route costs nothing and keeps credentials on your machine.

  1. 1

    Create a Yahoo app password

    Same as the IMAP steps above: Yahoo Account Security, External connections, Create app password.

  2. 2

    Add Yahoo to classic Outlook over IMAP

    Add the account in Outlook. If it does not detect the settings, enter them manually: incoming export.imap.mail.yahoo.com (or imap.mail.yahoo.com for ordinary use), port 993 with SSL, outgoing smtp.mail.yahoo.com on 465 or 587, and the app password. Setup screens differ a little between Outlook versions.

  3. 3

    Wait for the folders to sync

    Let Outlook finish downloading every folder you want in the file. A mailbox that is still syncing will give you an incomplete PST.

  4. 4

    Open the export wizard

    In classic Outlook, choose File, then Open & Export, then Import/Export.

  5. 5

    Export to an Outlook Data File

    Choose Export to a file, then Outlook Data File (.pst), and click Next.

  6. 6

    Pick the Yahoo account and save

    Select the Yahoo mailbox at the top of the list and keep Include subfolders ticked to take everything. Browse to a save location, name the file, and finish. Microsoft's guide says Outlook starts the export straight away unless you create a new file or set a password.

The new Outlook works differently

Those menu names belong to classic Outlook for Windows. Microsoft's guide says the new Outlook for Windows has its own route, through Settings, then Files, then Export, with a wizard for choosing a mailbox or folders, and that calendar and contact items saved in PST files are not available there. Outlook on the web has no PST export.

Export Yahoo Mail to a file you can keep (MBOX or EML)#

If you want standard message files rather than a PST, connect Yahoo in Thunderbird as above and let it download every folder. Thunderbird keeps mail in MBOX internally, and a third-party add-on such as ImportExportTools NG can export folders as MBOX or EML. It is not from Yahoo or Mozilla, so check that your version of Thunderbird supports it. Our guide to export and import email between clients covers the add-on in more detail.

Do not expect AI Emaily to import these files: it does not read MBOX or EML. Keep them as an archive, or load them into the new provider through its own import route.

What actually moves, and what doesn't#

Almost everyone underestimates this, then discovers the gap after they've stopped checking Yahoo. Mail moves well; everything attached to the mailbox rather than inside it moves badly or not at all.

IMAP, as defined in RFC 9051, is a protocol for synchronising messages and folders, full stop. It has no concept of filters, signatures, contacts or calendars, so none of those travel with a copy. For Yahoo's own server settings, see our Yahoo Mail IMAP settings guide.

ItemMoves with an IMAP copy?How to handle it
Messages, including attachmentsYesCopied folder by folder; body, headers and attachments intact
Folder structureYesRecreated on the destination as you copy; nesting usually survives
Read / unread stateUsuallyPreserved by most clients; spot-check one folder after the first copy
Starred and flagged messagesPartlyDepends on how Yahoo exposes them over IMAP; check a starred message after the first copy
ContactsNoExport separately from Yahoo Contacts as CSV, then import
Calendar eventsNoExport from Yahoo Calendar if your version offers it, then import into the new calendar
Filters and rulesNoScreenshot them and rebuild by hand on the new provider
Signatures, vacation replies, aliasesNoCopy the text out before you stop using Yahoo
Your Yahoo address itselfNoIt stays a Yahoo address; the only way to keep receiving on it is to keep the account alive

What about Yahoo's own data download?#

Yahoo does offer an export. Under Manage Your Information in your privacy controls, Download My Data lets you select products and request a download; Yahoo emails you when it's ready.

Two things make it unsuitable as a migration route. Yahoo's help page says it can take up to 30 days to become available and stays downloadable for only 30 days after that. The data arrives as JSON, which Yahoo says you can open in a plain text editor.

JSON is not MBOX and not EML, and no mail client imports it as mail. Request it for a personal record of what Yahoo held, and treat it as a filing-cabinet copy alongside your migration, never as the migration itself.

What breaks on the day, and what to do about it#

None of these are catastrophic on their own, but all of them are annoying to discover a week after you've told people your new address.

What breaksWhyFix
Yahoo rejects your password in the mail clientThird-party mail apps need an app password, not the account passwordGenerate an app password in Yahoo Account Security and use that
Old messages are missing after the downloadThe everyday IMAP server may not show everything; Yahoo points to its export server for a full downloadUse export.imap.mail.yahoo.com on port 993, with full-message download turned on
The copy stops partway through a huge folderYahoo warns that folders with around 100 thousand or more messages may not download completelySplit the folder into smaller ones, then copy one folder at a time in batches of a few hundred
Sent mail lands in the wrong folder on the new accountProviders name special folders differently (Sent vs Sent Items vs Sent Messages)Map the destination's special folders in client settings before copying
Spam folder arrives with the restIt is an IMAP folder like any otherSkip it deliberately; there is no value in importing years of spam
Automatic forwarding is missing from Yahoo settingsYahoo offers forwarding with Yahoo Mail Plus, and its help page says it is not available in all localesEither subscribe for the forwarding window if it is offered to you, or pull mail into the new client from Yahoo over IMAP instead
Threads split apart on the new providerThreading is rebuilt from headers by each provider's own rulesNothing to fix; the messages are intact, only the grouping differs

Rollback plan and overlap period#

An IMAP copy is not a move, and that is the whole safety story. The Yahoo originals sit untouched on Yahoo's servers while you copy. So rollback is mostly about not destroying the source: don't delete anything from Yahoo during the copy, and avoid any tool that offers to move mail rather than copy it. If a drag between accounts behaves like a move, hold the modifier key that forces a copy and verify the Yahoo folder count is unchanged afterwards.

If the destination turns out wrong for you, just keep using Yahoo and redo the copy into a different provider. The one irreversible action is closing the Yahoo account. Yahoo says you can recover a closed account by signing in within 30 days in most countries and regions, 90 days in Australia and New Zealand, and 180 days in Brazil, Hong Kong, India and Taiwan.

The goal during the move is that no message is ever reachable only in a mailbox you've stopped opening. Yahoo offers automatic forwarding with Yahoo Mail Plus, and its help page notes it is not available in all locales, so the classic forward-everything plan either costs money or isn't available depending on where you live.

The free alternative is to pull rather than push: leave Yahoo connected over IMAP in whichever app you now live in, alongside the new account. New Yahoo mail keeps arriving in front of you, you reply from the new address, and the mailbox stays active while you work through your list of services. Update senders in priority order: anything that can lock you out first (bank, domain registrar, two-factor recovery), then billing, then people. When the copy is finished, leave the accounts in your desktop client; it now holds a complete local copy of everything you moved, the cheapest possible backup while you're still finding out what you forgot.

Should you delete the Yahoo account afterwards?#

Usually not, and certainly not in the first year. A live Yahoo address you check occasionally is a cheap safety net for every account you forgot to update; a deleted one turns those into silent failures.

But leaving it alone isn't the same as leaving it running. Yahoo's inactive mailbox policy says a mailbox becomes inactive after 12 months without access; it stops receiving new mail and its contents are permanently removed. Yahoo sends reminders 90, 60 and 30 days before deletion. Signing in again restores access to the mailbox but not the deleted emails, folders, contacts or settings.

The same help page says that if you do not sign in to your Yahoo account for a further 6 months (18 months in total), the account is scheduled for deactivation and deletion. So the honest options are: open the mailbox once or twice a year on purpose, or close it deliberately once your update list is finished. Just don't drift into deletion by accident and lose the safety net.

Set the calendar reminder now

A recurring six-monthly reminder to open the Yahoo mailbox costs nothing and defuses the 12-month rule entirely. Check Yahoo's inactive mailbox page for the current policy before depending on the exact months.

Where AI Emaily fits#

We build AI Emaily, so treat this as the interested part of the page. It is not a migration tool: it won't copy your Yahoo archive anywhere, and the IMAP drag above is still the right way to move the mail.

What it does cover is the overlap period. AI Emaily connects Yahoo over IMAP alongside Gmail, Outlook or any other account in one inbox, so watching what still arrives at the old address doesn't mean living in two apps. Sending stays approval-first, with an audit trail and undo. It has a 7-day free trial on Pro and Autopilot; there is no free plan.

Frequently asked

Nafiul Hasan

Written by

Nafiul Hasan

Nafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.

EntrepreneurAI Automation System BuilderAI EnthusiastBuilds AI Enterprise Solutions10+ years experience
More from Nafiul
Ready when you are

Run Yahoo and your new address in one inbox

AI Emaily connects Yahoo over IMAP alongside Gmail, Outlook and any other account, so the overlap period only costs you one app. 7-day free trial on Pro or Autopilot.

  • 7-day free trial
  • Cancel anytime
  • Every provider