How to Add MX Records in Namecheap - Step-by-Step Guide
Complete guide to adding and managing MX records in Namecheap for Google Workspace, Microsoft 365, and other email providers.
Namecheap is a popular domain registrar with built-in DNS management. Adding MX records is straightforward through their dashboard. This guide covers setup for Google Workspace, Microsoft 365, and other email providers.
Before You Start
Make sure you have:
- Access to your Namecheap account
- The MX records from your email provider (mail server and priority)
- Your domain using Namecheap's DNS (not pointing to external nameservers)
Check which DNS service your domain uses: If you see "Namecheap BasicDNS" or "Namecheap Web Hosting DNS" in your domain settings, you can manage MX records through Namecheap. If it shows custom nameservers, you'll need to manage DNS at that provider instead.
Accessing DNS Management
- Log into Namecheap at namecheap.com
- Go to Domain List from the left sidebar
- Find your domain and click Manage
- Click the Advanced DNS tab
You'll see sections for Host Records and Mail Settings. MX records can be managed in either location depending on your setup.
Adding MX Records: Method 1 (Custom MX)
If using a third-party email provider (Google Workspace, Microsoft 365, etc.):
- In the Mail Settings section, click the dropdown
- Select Custom MX
- Click Add New Record for each MX entry
- Enter:
- Host: Usually
@for root domain - Value/Mail Server: The hostname from your provider
- Priority: The priority number
- Host: Usually
- Click the checkmark to save each record
- Click Save All Changes when done
Adding MX Records: Method 2 (Host Records)
You can also add MX records in the Host Records section:
- Scroll to Host Records
- Click Add New Record
- Select MX Record as the type
- Enter:
- Host:
@for root domain - Value: Mail server hostname
- Priority: Priority number
- TTL: Automatic or custom
- Host:
- Click the checkmark to save
- Repeat for additional MX records
Use one method consistently
Don't mix Mail Settings and Host Records for MX configuration. Pick one method and add all your MX records there to avoid confusion.
Adding Google Workspace MX Records
For Google Workspace, add these five records:
| Host | Value | Priority |
| @ | aspmx.l.google.com | 1 |
| @ | alt1.aspmx.l.google.com | 5 |
| @ | alt2.aspmx.l.google.com | 5 |
| @ | alt3.aspmx.l.google.com | 10 |
| @ | alt4.aspmx.l.google.com | 10 |
In Namecheap's Custom MX interface:
- Select Custom MX from Mail Settings
- Add each record with the values above
- Save all changes
Adding Microsoft 365 MX Records
Microsoft 365 needs one MX record:
| Host | Value | Priority |
| @ | yourdomain-com.mail.protection.outlook.com | 0 |
Replace yourdomain-com with your actual domain using hyphens. Find the exact value in your Microsoft 365 admin portal.
Adding Other Provider MX Records
Zoho Mail:
@ → mx.zoho.com (priority 10)
@ → mx2.zoho.com (priority 20)
@ → mx3.zoho.com (priority 50)
ProtonMail:
@ → mail.protonmail.ch (priority 10)
@ → mailsec.protonmail.ch (priority 20)
Fastmail:
@ → in1-smtp.messagingengine.com (priority 10)
@ → in2-smtp.messagingengine.com (priority 20)
Check your provider's current documentation for exact values.
Namecheap Private Email
If you're using Namecheap's Private Email service:
- Go to Mail Settings
- Select Private Email from the dropdown
- MX records configure automatically
If switching away from Private Email to another provider:
- Change from Private Email to Custom MX
- Add your new provider's MX records
- Your Private Email subscription continues until you cancel it separately
Removing Old MX Records
Before adding new MX records (when switching providers):
- Go to Mail Settings or Host Records
- Find existing MX records
- Click the trash icon next to each one
- Confirm deletion
- Save changes
- Then add your new MX records
Timing matters
Deleting MX records stops email delivery immediately. Have your new records ready to add right after deletion.
Verifying Changes
After adding MX records:
-
Wait for propagation. Namecheap changes typically propagate within 30 minutes, but can take up to 48 hours globally.
-
Use our MX lookup tool to verify records are published.
-
Send a test email from an external account.
-
Check your email provider's setup tools for verification.
Troubleshooting Namecheap MX Issues
Changes Not Saving
- Make sure you click the checkmark on each record
- Click Save All Changes at the bottom
- Check for validation errors (red highlighting)
- Ensure priority is a number, not text
Records Show in Namecheap But Not Externally
- DNS propagation takes time; wait at least 30 minutes
- Namecheap's DNS updates aren't instant like Cloudflare
- Check from multiple locations using propagation tools
"Value" Format Issues
- Enter just the hostname (aspmx.l.google.com)
- Don't add http:// or trailing slashes
- Namecheap may auto-add a trailing dot—this is normal
Priority Field Problems
- Must be a numeric value
- Lower numbers = higher priority
- Common values: 1, 5, 10, 20, 50
Can't See MX Options
- Verify domain is using Namecheap DNS (BasicDNS or Web Hosting DNS)
- If using custom nameservers, manage DNS at that provider
- Check domain isn't expired or suspended
Email Forwarding Conflicts
Namecheap offers email forwarding that creates its own MX records. If using Custom MX:
- Disable email forwarding first
- Then add your provider's MX records
- Forwarding and Custom MX can't coexist
Additional DNS Records
Complete your email setup with these additional records:
SPF Record
Type: TXT
Host: @
Value: v=spf1 include:_spf.google.com ~all
(Modify for your provider)
Check at spfrecordcheck.com.
DKIM Record Your email provider gives you this value. Add as TXT or CNAME record per their instructions. Test at dkimtest.com.
DMARC Record
Type: TXT
Host: _dmarc
Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
Check at dmarcrecordchecker.com.
Monitor Your MX Records
Checking once is good. Monitoring continuously is better. The Email Deliverability Suite watches your SPF, DKIM, DMARC, and MX records daily and alerts you when something breaks.
Never miss an MX issue
Monitor your SPF, DKIM, DMARC and MX records daily. Get alerts when something breaks.
Start Monitoring