Microsoft Account Errors

Can Microsoft 365 Accept a Domain Name with a Hyphen?

Huda QurayshiHuda Qurayshi Oct 21, 2026 868 views

Question details

The user is inquiring whether Microsoft 365 supports custom domain names that include a hyphen and how to properly add them to the service.

Can Microsoft 365 Accept a Domain Name with a Hyphen?
Product
Microsoft 365
Device & OS
not provided
Scenario
Adding a new custom domain name containing a hyphen to a Microsoft 365 account to configure services like Exchange Online.
Observed behavior
Microsoft 365 fully accepts and supports custom domain names containing hyphens, provided the domain is valid, correctly registered, and verified through DNS records.
Before you start

Ensure you have global administrator privileges for your Microsoft 365 admin center and possess the login credentials for your domain registrar's DNS management portal.

Solution 1Recommended

Add and Verify a Hyphenated Domain in Microsoft 365 Admin Center

You can safely add your custom domain containing a hyphen to Microsoft 365 by utilizing the standard domain setup wizard and verifying your ownership via DNS records.

Microsoft uses DNS records from your domain provider to verify ownership and route Microsoft 365 services correctly. Having a hyphen in the domain name is completely standard and does not cause syntax errors within the Microsoft ecosystem as long as standard DNS rules are met.

1
Access the Admin Center

Log in to the Microsoft 365 admin center using your administrator account credentials.

2
Navigate to Domains

On the left-hand navigation pane, click on 'Settings' to expand the menu, and then select 'Domains'.

3
Add Your Domain

Click the 'Add domain' button. Enter your custom domain name exactly as registered (including the hyphen, e.g., my-company.com) and click 'Use this domain'.

4
Verify Ownership

Choose your preferred verification method (usually adding a TXT record). Copy the TXT value provided by Microsoft, log into your domain registrar's control panel, and paste it into your DNS settings.

5
Complete Setup

Return to the Microsoft 365 admin center and click 'Verify'. Once ownership is confirmed, follow the remaining prompts to configure essential DNS records (MX, CNAME, TXT) for Exchange Online and other services.

Add and Verify a Hyphenated Domain in Microsoft 365 Admin Center
DNS Propagation Delay: After adding the verification TXT record to your domain registrar, it may take anywhere from a few minutes to 48 hours for the DNS changes to propagate across the internet before Microsoft 365 can successfully verify it.
Free Microsoft Office alternative

Looking for a Hassle-Free Office Suite? Try WPS Office

While setting up cloud infrastructure and custom domains in Microsoft 365 can be highly technical, your daily productivity software doesn't have to be. WPS Office provides a free, lightweight, and incredibly user-friendly alternative to Microsoft Office, enabling you to focus on your work without worrying about complex admin configurations.

  1. 1. Download WPS Office: Visit the official WPS website to download the free installer for your specific operating system.
  2. 2. Install the Software: Run the setup application and follow the straightforward on-screen instructions to complete the installation.
  3. 3. Start Creating Instantly: Open WPS Office and easily drag and drop your existing Microsoft Office files to begin editing immediately.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).A free and lightweight productivity suite that includes Writer, Spreadsheet, Presentation, and advanced PDF tools.Familiar user interface ensures a zero-learning-curve transition from other major office suites.Seamless cross-platform functionality across Windows, Mac, Linux, iOS, and Android devices.
microsoft office alternative - wps office

Frequently Asked Questions

Can a domain name start or end with a hyphen in Microsoft 365?

No. While Microsoft 365 supports hyphens, standard internet DNS protocols dictate that a domain name cannot begin or end with a hyphen. Hyphens are only permitted in the middle of the domain name.

Will having a hyphen in my domain affect Microsoft Exchange email deliverability?

No, including a hyphen in your domain name does not negatively impact your email deliverability in Exchange Online. As long as your SPF, DKIM, and DMARC records are configured correctly, your emails will route normally.

Why is my hyphenated domain verification failing in the Admin Center?

Domain verification usually fails either because the newly added TXT or MX record hasn't propagated globally yet, or because it was entered incorrectly at your domain registrar. Double-check the exact values provided by Microsoft 365 against what is saved in your DNS provider's settings.

Are there character limits for hyphenated domains in Microsoft 365?

Microsoft 365 enforces standard DNS rules, meaning each label (the part of the domain separated by dots) can be up to 63 characters long, and the total domain length cannot exceed 253 characters, including any hyphens.