S/MIME, or Secure/Multipurpose Internet Mail Extensions, is an email security standard that uses X.509 certificates to digitally sign and encrypt messages. Signing proves who sent a message and that it was not changed, while encryption ensures only the intended recipient can read it. It is defined in RFC 8551, built into Outlook, Apple Mail and other major clients, and widely used in corporate and government email.
Key takeaways
- S/MIME does two jobs: digital signatures prove identity and integrity, and encryption keeps message content private.
- It needs an X.509 certificate for each sender and recipient, issued by a trusted certificate authority.
- S/MIME protects the message itself, unlike TLS, which only protects email while it moves between servers.
Most email travels in plain text between servers, protected only while it is moving. S/MIME changes that: it signs and encrypts the message itself, so the recipient can prove who sent it and no one else can read it.
What is S/MIME?
S/MIME is a standard for public-key encryption and digital signing of email. It lets a sender sign a message to prove their identity, encrypt it so only the intended recipient can read it, or do both at once.
The full name is Secure/Multipurpose Internet Mail Extensions. The current version, S/MIME 4.0, is defined in RFC 8551, published by the IETF in April 2019. That document defines how secure MIME data is created, including digital signatures for authentication, message integrity and non-repudiation, and encryption for confidentiality.
S/MIME is built on two older technologies: X.509 certificates, the same kind that secure websites, and Cryptographic Message Syntax, derived from PKCS #7. Because it uses the same certificate system as the web, it fits naturally into corporate and government email, where certificates are already managed centrally.
How does S/MIME work?
S/MIME uses asymmetric cryptography: each person has a public key, shared in a certificate, and a private key, kept secret. Signing uses the sender's private key; encryption uses the recipient's public key.
When you sign a message, your mail client calculates a hash of the message and its attachments, then signs that hash with your private key. The signature and your certificate travel with the message, usually as an attachment called smime.p7s. The recipient's client verifies the signature with your public key and checks the certificate against a trusted authority.
Encryption works in two layers. The client creates a random symmetric key, encrypts the message body and attachments with it using AES, then encrypts that short key with each recipient's public key. Only the holder of the matching private key can open it. This hybrid approach is fast and works for multiple recipients.
To encrypt a message to someone, you first need their certificate. In practice, you get it when they send you a signed message, or your organisation publishes certificates in a directory. That is why S/MIME works best inside an organisation, where everyone already has a certificate.
What is the difference between signing and encryption?
Signing and encryption solve different problems, and you can use either one alone or both together. Signing proves identity and integrity; encryption provides confidentiality.
| Signing | Encryption | |
|---|---|---|
| What it proves | Who sent it, and that it was not changed | Only the recipient can read it |
| What you need | Your own certificate and private key | The recipient's public certificate |
| Can anyone read it? | Yes, the content stays readable | No, only the recipient can decrypt it |
| Visible sign | A signature badge or ribbon icon | A lock icon, content hidden until opened |
| Use it for | Instructions, approvals, anything where identity matters | Contracts, personal data, anything confidential |
Most organisations that adopt S/MIME start with signing, because it needs only your own certificate and it gives recipients a visible trust signal. Encryption follows once certificates are exchanged. Using both together is the strongest option: the recipient knows who sent it and that no one else read it.
How is S/MIME different from TLS and DMARC?
TLS, S/MIME and DMARC protect email at different layers, and they complement each other. Confusing them is the most common mistake in email security.
TLS protects email in transit between mail servers. Once the message arrives and sits on a server, TLS no longer protects it. S/MIME protects the message itself, end to end, including while stored. DMARC, SPF and DKIM authenticate the sending domain, not the individual sender — they prove the message came from an authorised server for that domain.
Think of it this way: DMARC proves the envelope came from the right post office, TLS proves no one opened it on the road, and S/MIME proves who wrote the letter and seals it so only the addressee can read it. A strong email setup uses all three. You can learn more in our guide to what DMARC is.
How do you set up S/MIME in Outlook?
Setting up S/MIME in Outlook starts with getting a digital ID, also called a digital certificate, and adding it to your computer. Without a certificate, Outlook cannot sign or encrypt.
In new Outlook, go to Settings, then Mail, then S/MIME, as described in Microsoft's S/MIME setup guide. There you can choose to encrypt contents and attachments for all messages you send, add a digital signature to all messages, and automatically choose the best certificate for signing. You can also import or export digital IDs from the same screen.
In classic Outlook, the path is File, Options, Trust Center, Trust Center Settings, then Email Security. Microsoft's own support page notes that new Outlook does not automatically import digital certificates, so you must install the certificate manually or ask your administrator to configure policies to install it automatically.
To send an encrypted message to an external recipient, you must first have their certificate installed on your machine. If Outlook cannot verify that all recipients can decrypt the message, it shows a warning about the recipients who might not be able to read it. That warning is worth heeding: an encrypted message no one can open is worse than no encryption at all.
How do you set up S/MIME in Apple Mail and Gmail?
Apple Mail has built-in S/MIME support on Mac, iPhone and iPad. Install your certificate in Keychain, then Mail will offer signing and encryption options when you compose. Apple Mail can also read S/MIME messages sent from Outlook, as long as the certificates are valid.
Gmail's support is narrower. Google Workspace administrators can enable S/MIME and upload certificates for users, but personal Gmail accounts do not offer the same built-in S/MIME setup. If your organisation uses Gmail, ask your administrator whether S/MIME is enabled for your account.
Thunderbird also supports S/MIME, using certificates stored in its own certificate manager. The setup is similar in principle: import your certificate, then enable signing and encryption for the account. Whichever client you use, the certificate is the hard part; the client settings take minutes once the certificate is installed.
What kinds of S/MIME certificates are there?
S/MIME certificates come in validation levels, similar to website certificates. The level determines how much the certificate authority checked before issuing it.
Domain-validated certificates confirm control of the email domain. Organisation-validated certificates also confirm the organisation's identity. Individual-validated certificates confirm the person's identity as well. Higher validation gives recipients more confidence, and it is what regulated industries usually require.
Since September 2023, publicly trusted S/MIME certificates have followed the CA/Browser Forum's S/MIME Baseline Requirements. Those rules standardise how certificates are issued and validated, which makes trust more consistent across providers.
Certificates expire, usually after one to three years. Renew before expiry, and back up your private key securely. If you lose the private key, you lose access to old encrypted messages sent to you, because no one else can decrypt them.
What are the limits of S/MIME?
S/MIME does not protect email headers by default in older implementations, although RFC 8551 adds a mechanism for header protection. The subject line, for example, is not encrypted unless header protection is used, so do not put sensitive details in the subject.
S/MIME also does not hide who you emailed or when. Metadata — sender, recipient, time, and message size — remains visible to mail servers. It protects content, not metadata.
Key management is the practical limit. Certificates must be issued, renewed, revoked when someone leaves, and backed up. If a private key is lost or compromised, old messages may become unreadable or untrustworthy. That overhead is why S/MIME is common in regulated organisations and rare for personal email.
Finally, S/MIME does not verify that a sender is trustworthy, only that they hold a certificate for that address. A signed phishing email is still phishing. Combine S/MIME with DMARC, phishing-resistant MFA and the verification habits in our spear phishing guide.
Who should use S/MIME?
S/MIME suits organisations that send sensitive information by email: finance, legal, healthcare, government and any team that exchanges contracts, personal data or confidential instructions. It is also the standard choice in US federal email, where personal identity verification cards carry S/MIME certificates.
For most small businesses, DMARC at p=reject, phishing-resistant MFA and staff training deliver more protection per hour than S/MIME. Add S/MIME when you have a specific need — for example, sending signed instructions that recipients must trust, or encrypted data to a known partner.
If you do adopt it, start with a small group, such as finance and legal, and expand once the certificate process works smoothly. Check your domain's email authentication first with our free DMARC checker.
The bottom line
S/MIME is the standard way to sign and encrypt email with certificates. Signing proves who sent a message and that it was not altered; encryption ensures only the intended recipient can read it. It is defined in RFC 8551 and built into Outlook, Apple Mail and other major clients.
It is not a replacement for TLS or DMARC, and it does not stop phishing on its own. Use it where message-level trust matters, keep certificates renewed and backed up, and pair it with the domain protections in our free email security score check.
Frequently asked questions
What does S/MIME stand for?
S/MIME stands for Secure/Multipurpose Internet Mail Extensions. It is a standard for adding digital signatures and encryption to email, defined in RFC 8551 as version 4.0 of the specification.
What is the difference between S/MIME and TLS?
TLS protects email while it travels between mail servers. S/MIME protects the message itself, from the sender's device to the recipient's inbox and while it sits stored on a server. They solve different problems and are often used together.
Do I need a certificate to use S/MIME?
Yes. To sign, you need your own certificate with a private key. To encrypt a message to someone, you need their public certificate. Certificates are issued by a trusted certificate authority or by your organisation.
Does Gmail support S/MIME?
Gmail supports S/MIME for Google Workspace accounts with an enhanced security setup, where an administrator enables it and uploads certificates. Personal Gmail accounts do not offer S/MIME in the same way. Outlook and Apple Mail have broader built-in support.
Is S/MIME the same as PGP?
No. S/MIME and PGP, also called OpenPGP, are the two long-standing standards for signed and encrypted email. S/MIME uses X.509 certificates issued by a certificate authority, while PGP uses a web of trust. S/MIME dominates corporate and government mail.
Can S/MIME stop phishing?
S/MIME helps, but it does not stop phishing on its own. A signed message proves the sender holds the certificate for that address, which makes impersonation harder. It does not stop look-alike domains, and it only helps if recipients check the signature.
What happens if my S/MIME certificate expires?
You can no longer sign new messages with it, and recipients may see warnings on older signed messages. You need to renew the certificate before it expires and keep a backup of the private key, or you may lose access to old encrypted messages.
Is S/MIME free?
The standard itself is free, but certificates usually cost money unless your organisation issues them. Some providers offer free personal S/MIME certificates, while business certificates are typically bought per user per year from a certificate authority.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against RFC 8551, Microsoft Support guidance for Outlook, and US federal guidance on signing and encrypting email.
How we write and fact-check →