Adding a domain to Microsoft 365
How to connect your business domain to Microsoft 365 so your team can use professional email addresses like you@yourcompany.com instead of @outlook.com.
- Time
- 15–30 minutes (plus waiting time at your registrar)
- Difficulty
- Beginner
- You’ll need
- Domain Name Administrator access in Microsoft 365 · Your domain registrar login
When you first set up Microsoft 365, your email addresses use Microsoft's default domain — something like name@yourcompany.onmicrosoft.com. To use a professional address like you@yourcompany.com, you need to connect your domain to Microsoft 365.
Quick summary
In the admin center, select … Show all, then go to Settings → Domains → + Add domain and follow the wizard. Microsoft first checks that you own the domain, then sets up the DNS records that point your email at Microsoft. If your registrar supports Domain Connect, Microsoft does both of those for you after you sign in at the registrar. If it doesn't, you add the records by hand. Expect 15–30 minutes of your own time, plus however long your registrar takes to publish the records.
What you'll need
- The Domain Name Administrator role in the Microsoft 365 admin center. Microsoft is strict about this one: because adding a domain affects the whole organization, regular users and limited custom admin roles can't do it.
- Access to your domain registrar (where you registered your domain — for example, GoDaddy, Namecheap, Cloudflare)
- Your domain name (for example,
yourcompany.com)
If you're not sure who your domain registrar is, see How to find where your domain is registered.
Check whether your registrar supports Domain Connect
Microsoft recommends a route called Domain Connect. With a registrar that supports it, you sign in at the registrar once and Microsoft confirms ownership and writes the DNS records itself — no copying record values around. Microsoft's own list of Domain Connect registrars includes GoDaddy, Aruba, IONOS, EuroDNS, Cloudflare, WordPress.com and Plesk. If your registrar isn't supported, you do the same steps manually.
Add your people before you switch the email records
Microsoft's guidance is to create the user accounts and mailboxes for everyone who gets email on the domain after you add the domain but before the MX record changes. That way nobody's mail lands at Microsoft with no mailbox waiting for it.
Adding the domain
Sign in to the admin center at admin.microsoft.com.
Select … Show all in the left navigation, then Settings → Domains. (Domains is one of the items hidden until you expand the menu.)
Select + Add domain.
Enter your domain name (for example, yourcompany.com) and select Use this domain.
Verify you own the domain. What the Verify you own your domain page asks for depends on your registrar.
- With Domain Connect: check that the registrar Microsoft has detected is the right one — if it isn't, select choose a different domain host — then select Verify. A window from your registrar opens. Sign in there and authorize Microsoft to add the verification TXT record. Turn pop-up blockers off first, or that window never appears.
- Without Domain Connect: Microsoft offers you a choice of proofs — a TXT record, an MX record, or a text file uploaded to your website. Pick one and select Continue, add the record or file at your registrar, then come back and select Verify.
Choose how to connect the domain. On the How do you want to connect your domain page, select Continue. To add the DNS records yourself instead, select More options → Add your own DNS records → Continue.
Add the DNS records. On the Add DNS records page, tick the Microsoft 365 services you want records for, and expand Advanced options to see the rest. Typical records are:
- MX record — tells the internet to deliver email to Microsoft
- CNAME records — for services like Autodiscover (auto-configures email apps)
- TXT record — for SPF (helps prevent your emails being marked as spam)
With Domain Connect, select Add DNS records and authorize them in the registrar window that opens. Otherwise, add them by hand at your registrar and then select Continue. See DNS records explained if you need help.
Finish. When the Domain setup is complete page appears, select Done.
Verification and DNS changes are not instant
Microsoft says verifying ownership can take up to about ten minutes after you add the record, and that some registrars need longer — up to 48 hours. Your website keeps working where it is; Microsoft says the Domain Connect setup steps don't affect it.
Email may be disrupted during the changeover
When your MX record changes, there is a period where email could be delayed while the old record ages out of the internet's caches. How long that takes depends on the TTL your registrar had set on the record. Tell your team about the planned change window.
If you verify with an MX record, set the priority high
Microsoft offers an MX record as an alternative proof of ownership when you can't add a TXT record. If you use it, give that record a high priority number so it doesn't start pulling mail away from your current email provider before you're ready.
After adding the domain
- Update existing user email addresses — go to Users → Active users, select the person, and on the Account tab select Manage username and email to move them from
@onmicrosoft.comto@yourcompany.com. - Set your domain as the default — in Settings → Domains, select the domain and choose Set as default. Note that this only affects accounts created from then on; it doesn't rewrite anyone's existing address.
- Add SPF, DKIM, and DMARC records for better email deliverability. Microsoft will prompt you to do this, or you can read Email DNS records explained for guidance.
Granting us access to help
If you'd like Chykalophia to help with the domain connection, grant us admin access to your Microsoft 365 account and access to your domain registrar. Our default account is support@chykalophia.com unless your project lead has given you a different address.
Common questions
Can I have more than one domain on Microsoft 365?
Yes — you can add multiple domains (for example, yourcompany.com and yourcompany.co.uk) and assign email addresses to users from any of those domains. Microsoft puts the typical ceiling at around 5,000 domains, so no small business is going to run out. Follow the same process for each additional domain.
What if I already have email hosted somewhere else?
When you add your domain and update the MX records, email will start flowing to Microsoft 365. Your old emails won't automatically migrate — you'll need to export them from the old provider and import them into Microsoft 365. We can help with this migration.
What is the onmicrosoft.com domain for?
The yourcompany.onmicrosoft.com domain is Microsoft's fallback domain for your organization. Microsoft creates it when you sign up and uses it behind the scenes for your subscription, so it can't be removed. You don't have to use it once your own domain is connected, but it keeps working for email if you want it. You can create a different onmicrosoft.com name and make that the fallback, though you can't rename or delete the original, and you're limited to five of them.
Related guides
- What is DNS?
- DNS records explained
- Email DNS records (MX, SPF, DKIM, DMARC)
- Microsoft 365 billing explained
- Give us Microsoft 365 admin access
Need a hand?
Learn more
Last updated
Microsoft 365 billing explained
How Microsoft 365 billing works — understanding your subscription, adding or removing licenses, reading your invoices, and managing payment methods.
Resetting a user's password in Microsoft 365
How to reset a Microsoft 365 user's password from the admin center — whether they're locked out or just need a fresh start.