Where .msg files are saved, and why Outlook cannot find them

Outlook does not keep your mail as .msg files. Where a .msg actually lands on Windows and Mac, how to search for it, and where opened attachments go.

By Andy Liu, who builds MsgLens ·

You saved an email as a .msg last month. Now you need it, and Outlook search finds nothing. That is expected. Outlook does not keep its mail as .msg files, and it does not look for them.

This post explains where Outlook keeps mail, where a .msg file actually ends up, and how to find one on Windows or a Mac.

Outlook keeps mail in one big file, not in .msg files

Classic Outlook for Windows keeps a mailbox in a data file. For a Microsoft 365 or Exchange account that is an .ost file, a local copy of the mailbox on the server. Mail that was archived or exported goes into a .pst file. The default places are:

FileWhat it holdsDefault folder
.ostA cached copy of a server mailbox%LOCALAPPDATA%\Microsoft\Outlook
.pstArchived, exported or POP mailDocuments\Outlook Files
.msgOne message, saved on purposeWherever it was saved or dragged

A .msg only exists when someone makes one: with File, Save As, by dragging a message out of Outlook onto the desktop or into a folder, or when an Outlook user attaches an email to an email. Outlook search covers its data files, not loose files on your disk. So a .msg you saved is invisible to it.

Where saved .msg files usually are

  • Downloads. A .msg that arrived as an attachment, or from a web page or a chat app, is saved here by default.
  • Desktop. Dragging a message out of Outlook drops it wherever the mouse was released, which is often the desktop.
  • A project or case folder. People who save mail as evidence or for a hand-over tend to file it next to the documents it belongs with.
  • A shared drive or OneDrive. If the folder is synced, the file may be online only until you open it.

How to search for it

Windows

In File Explorer, open your user folder and type *.msg in the search box. To search the whole user folder from PowerShell:

Get-ChildItem -Path $env:USERPROFILE -Filter *.msg -Recurse -ErrorAction SilentlyContinue |
  Sort-Object LastWriteTime -Descending |
  Select-Object LastWriteTime, FullName

The newest files come first. Add a word from the subject to the filter, for example -Filter *invoice*.msg. The file name is usually the subject line at the time it was saved.

Mac

In Terminal, this lists every .msg in your home folder:

find ~ -iname "*.msg" 2>/dev/null

The attachment you edited and lost

A different problem looks the same. You open a .msg attachment, or a Word file, straight from an email in classic Outlook, edit it, save it, and close it. Later the changes are nowhere.

Outlook opened a copy in a hidden temporary folder, and your save went there. The folder is under %LOCALAPPDATA%\Microsoft\Windows\INetCache\Content.Outlook\, in a sub-folder with a random name. The exact path is in the registry value OutlookSecureTempFolder. Files there are not meant to be kept, so copy anything you need out of it at once.

The habit that prevents this: save an attachment to a real folder first, then open it from there.

Getting a .msg back into Outlook

Double-clicking a .msg opens it in its own window, but it does not add it to your mailbox. In classic Outlook, drag the file from File Explorer onto a mail folder. It is then stored in the mailbox like any other message, and Outlook search finds it.

If you have no Outlook at all, you can still read the file. The browser viewer opens it without an upload, and how to open a .msg file without Outlook covers the other ways.

Find yours now

  1. Run the PowerShell or Terminal command above.
  2. If nothing appears, search your Downloads folder in your browser's download list.
  3. When you find the file, move it to a folder with a clear name, so you need not search again.

Found a mistake, or something this page should cover? Email us

Open a .msg file right now

No sign-up, no upload, no software to install.

Open the free .msg viewer