FASTMAIL SETUP GUIDE
Fastmail IMAP and SMTP settings for Mac
Fastmail IMAP and SMTP settings for Mac email apps, with app-password setup, custom-domain guidance, port choices and common authentication fixes.

QUICK ANSWER
Use imap.fastmail.com on port 993 with SSL/TLS for incoming Fastmail and smtp.fastmail.com on port 465 with SSL/TLS for outgoing mail. If two-step verification is enabled, create a Fastmail app password for the Mac client and use your complete login address as the username.
What are the Fastmail IMAP and SMTP settings?
Fastmail uses one set of hostnames for its hosted accounts. Custom domains still use Fastmail as the mail service when the domain is connected to the same account.
| Setting | Incoming mail (IMAP) | Outgoing mail (SMTP) |
|---|---|---|
| Server | imap.fastmail.com | smtp.fastmail.com |
| Port | 993 | 465 |
| Security | SSL/TLS | SSL/TLS |
| Username | Full Fastmail login | Full Fastmail login |
| Password | Fastmail app password | Fastmail app password |
How do you create a Fastmail app password?
Open Fastmail Settings, go to Privacy and Security, choose App Passwords and create a password with mail access. Use that password in the Mac client.
- Sign in to Fastmail on the web.
- Open Settings and find App Passwords under Privacy and Security.
- Create a password named for the Mac mail app.
- Choose the smallest access scope that allows IMAP and SMTP.
- Copy the password once and store it in the macOS Keychain.
A custom-domain address can still use the Fastmail login as the username. Check the account identity settings if the app rejects the domain address.
How do you add Fastmail to Glassmail?
Add a Fastmail account, enter the full login and use the app password. If the account serves a custom domain, verify which address is the login and which addresses are aliases.
After the account connects, check the identity, signature and Sent folder. A custom-domain setup can have several sending identities under one Fastmail login. Confirm that replies use the intended From address and that Sent mail is stored in the expected folder.
If the account uses labels rather than folders, verify how the Mac client maps those labels. Search and archive behavior can differ if folders and labels are treated as separate systems.
Why does Fastmail fail to connect on a Mac?
Most Fastmail failures are caused by an app password with the wrong scope, a custom-domain address used as the login, or an incorrect SMTP security mode.
| Error | Likely cause | Fix |
|---|---|---|
| Authentication failed | Normal account password or expired app password | Create a new mail-scoped app password |
| Custom-domain address rejected | Address is an alias, not the login | Use the Fastmail login as the username |
| Cannot connect to server | Wrong hostname or port | Use imap.fastmail.com:993 SSL/TLS |
| Can receive but not send | SMTP port or identity mismatch | Use smtp.fastmail.com:465 SSL/TLS and verify the From identity |
| Wrong Sent folder | Folder role not assigned | Set the Sent folder role and send a test message |
How should you protect a Fastmail login?
Use a unique app password for each device, keep two-step verification enabled and review app passwords when a device is replaced.
A mail-scoped app password limits what the client can do, but it still gives access to the mailbox. Use separate passwords for a Mac, a phone and any automation so one credential can be revoked independently.
If you manage a custom domain, keep DNS, registrar and Fastmail account recovery controls separate from the day-to-day mail password. Losing control of the domain can affect mail delivery even when the mailbox itself is healthy.
Official Fastmail references
Use Fastmail’s current instructions when creating an app password or changing a custom-domain identity.
Frequently asked questions
What is the Fastmail IMAP server?
Use imap.fastmail.com on port 993 with SSL/TLS. The username is the complete Fastmail login address.
What is the Fastmail SMTP server?
Use smtp.fastmail.com on port 465 with SSL/TLS for outgoing mail.
Do I need a Fastmail app password?
Yes, when two-step verification is enabled, create an app password for the Mac client rather than using your main account password.
Can I use a custom-domain address with Fastmail?
Yes. Connect the domain to Fastmail, then use the Fastmail login as the server username and configure the custom address as a sending identity.
Why is Fastmail Sent mail missing?
Check the SMTP authentication and the Sent folder role. Some clients store a copy locally instead of in the provider’s Sent folder if the mapping is wrong.