IMAP and SMTP settingsWork and paid mail
Fastmail IMAP and SMTP settings
imap.fastmail.com and smtp.fastmail.com with SSL/TLS, your full address, and an app password. Your normal Fastmail password never works in a mail app.
Fastmail's IMAP server is imap.fastmail.com on port 993 with SSL/TLS, and its SMTP server is smtp.fastmail.com on port 465 with SSL/TLS. The username is your full Fastmail address, domain included. The password has to be an app password: Fastmail's own words are "You cannot use your regular Fastmail password."
| Setting | Fastmail |
|---|---|
| Incoming server (IMAP) | imap.fastmail.com |
| IMAP port | 993, SSL/TLS (not STARTTLS) |
| Outgoing server (SMTP) | smtp.fastmail.com |
| SMTP port | 465, SSL/TLS; 587 with STARTTLS if the app only does STARTTLS |
| Username | Your Fastmail address, including the domain |
| Password | An app password made in Fastmail's settings |
| Folder settings | Root folder or IMAP prefix blank; separator / (forward slash) |
| POP | pop.fastmail.com, port 995, SSL/TLS |
Fastmail's Basic plan doesn't include IMAP, SMTP, CalDAV or CardDAV, so no mail app can connect to it, whatever password you use.
Why only an app password works
Fastmail explains it on its own help page: mail apps save your password because they need it all the time, and they can't do two-step verification, so a stolen saved password would be a stolen account. An app password limits the damage. It works only in apps, never on the website or in Fastmail's own app, and it can be restricted to mail alone, so it can't change your settings or your password.
Each one is 16 characters of letters and digits, leaving out 0, 1, O and I so it's easy to copy. Fastmail also says you must use SSL/TLS on every protocol, and not to turn on "secure password authentication" (SPA), which won't work.
Make a Fastmail app password
- On the Fastmail website, go to Settings › Privacy & Security.
- In Connected apps & API tokens, click Manage app passwords and access, then New app password.
- Pick a name and the access it gets. The default, Mail, Contacts & Calendars, covers IMAP and SMTP.
- Click Generate password and paste it into the mail app. Check the account works before you click Done on Fastmail's page.
On a Mac
Fastmail offers a configuration file for Macs on the same screen that shows a new app password: open it and macOS sets the account up in Apple Mail without typing servers. Otherwise choose Other Mail Account in Mail, paste the app password, and type the servers from the table if Mail asks.
In Roost
Roost recognizes Fastmail from the domain's MX records, which point at messagingengine.com, Fastmail's mail servers. That covers fastmail.com and your own domain hosted at Fastmail. It fills in the servers above, labels the inbox Fastmail and asks for an app password; if you paste your normal password, it says Fastmail needs an app password and where to make one. That's new in Roost 1.4.1 (18 November 2026). Before that, Roost didn't know Fastmail's mail servers, its last check asked Microsoft about the domain, Microsoft's sign-in happens to know fastmail.com, and a Fastmail user who wrote to me was shown "Microsoft 365". More: Add any other address to Roost.
Questions
What are Fastmail's IMAP and SMTP settings?
imap.fastmail.com on port 993 and smtp.fastmail.com on port 465, both SSL/TLS, with your full address and an app password. SMTP on 587 with STARTTLS also works.
Can I use my Fastmail password in a mail app?
No. Fastmail requires an app password for every outside app; its server page says your regular password can't be used.
Does my own domain on Fastmail use different servers?
No. Use imap.fastmail.com and smtp.fastmail.com, with your address on your domain as the username.
Why can't my mail app connect to Fastmail at all?
Check your plan first: Fastmail's Basic plan has no IMAP or SMTP access. Then check the app password was made with mail access.
Sources
- Fastmail Help, Server names and ports, read 19 November 2026.
- Fastmail Help, App passwords, read 19 November 2026.
- DNS lookup of fastmail.com's MX records, 19 November 2026.