Office Support / Office 365 Admin / Domains

Remove a domain from Office 365

To remove a domain from Office 365, make sure no settings are using the domain, and then follow these steps.

Note   Are you removing your domain because you want to add it to a different Office 365 subscription plan? Or you just want to cancel your subscription? You can change your plan or subscription or cancel your subscription.

  1. Sign in to Office 365 with your work or school account.

  2. Go to the Manage domains page.

  3. On the Manage domains page, select the domain, and then choose Remove domain.

  4. On the Remove domain page, choose Yes.

Before you start, make sure your domain is ready to be removed

Before you remove a domain from Office 365, you have to remove anything that is using the domain name.

What to check

How to remove the custom domain name

Settings for all users

  1. Change the email address for each user to use a domain that isn't the one you're removing. One option is to change the domain back to the initial domain.

Or, if this was a test account, you can remove all the users.

Distribution groups

For plans that use Office 365 Small Business:

  • Go to Admin > Add users, reset passwords, and more > Groups. For each group, choose Edit Edit, and select either a different custom domain name or the address.

For all other plans:

  1. Go to Admin > Exchange > Recipients > Groups.

  2. For each group that uses the custom domain in the email address, choose Edit Edit, and change the SMTP address and any custom address types to use either a different custom domain name or the address. For more information, see Manage Distribution Groups.

Your public website hosted on Office 365

For plans that use Office 365 Small Business:

  • In Office 365, select Admin. Or, select the app launcher Office 365 app launcher icon, and then select Admin.

    Office 365 navigation options
  • Choose Manage your public website > Change Address, and select either a different custom domain name or the address.

For all other plans, if you have set up a SharePoint Online Public Website:

  1. Go to the Office 365 admin center.

  2. Choose SharePoint, and select the checkbox next to your public website.

  3. If you want to keep your public website, choose Website domains, and in the New URL box, select either a different custom domain name or the address. Or, if you want to delete the contents of the public website, choose Delete.

Custom DNS records for the domain

  1. If Office 365 manages your DNS records, and if you have added any custom DNS records to Office 365, remove them.

    Go to the Manage domains page.

    Select the domain you're removing, and choose Manage DNS.

    Note    The records that Office 365 adds for you, for example, when Office 365 sets up the DNS records for your domain, will be automatically deleted when you remove the domain.

  2. If you manage the DNS records for your domain at your DNS host for the domain, delete any records at your DNS host that you created that point to Office 365 services. If you need help finding the DNS records at your DNS host, see the links to step-by-step instructions for creating DNS records.

Tip    If you have any subdomains set up for this custom domain name, be sure to also remove them.

The default domain

  1. Go to the Manage domains page.

  2. On the Manage domains page, select a domain that isn’t the one you want to remove.

  3. Choose Set as default.

Still can’t remove your custom domain?

If your domain name can’t be removed immediately, when you choose Remove domain, you’ll be prompted to take different actions that might clear up the problems.

If none of those work to help you remove the domain, choose a Support resource at the end of this page.

Office 365 domains that can’t be removed

There are a few Office 365 domains that you can’t remove.

  • You can’t remove the original domain name that was provided for your account when you signed up.

  • If you've set up directory synchronization, then a domain was automatically added to your account that looks similar to this: This domain name can’t be removed.

Still need help?

Get help from the Office 365 community forums Admins: Sign in and create a service request Admins: Call Support

Applies To: Office 365, Office 365 Admin, Office 365 Small Business Admin

Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Change language