Set up MX records

Tip! Only Google Workspace customers who want to use Gmail must change their MX records. You can skip this procedure and continue to use your current email provider with Google Workspace.

A Beginner's Guide to Signing up for Google Workspace

You’re now ready to set up Gmail as your business email for your domain (and, if you haven’t already, verify your domain).

To do this, you need to sign in to your domain host and direct the email for your domain to the Google Workspace servers. It’s like registering your new address with the post office when you move so that your mail gets delivered to the right place. We’ll walk you through the steps.

Before you begin

  • Verify that you own your domain.

    Or, you can verify now with an MX record. We’ll show you how while you're setting up the MX records.

  • Create user accounts in Google Workspace for your team.

    If your team members already use email with your domain (their email address ends with your domain), you have to create their user accounts in Google Workspace before you change any MX record settings. Otherwise, they won't be able to send or receive messages with their business address in Gmail.

Change your MX records

Open all   |   Close all

Step 1: Sign in to your domain host
  1. Leave the Google Admin console setup instructions open.
  2. Open a new tab or browser window and go to the MyDomain site.
  3. Enter the username or domain and password you created when you bought your domain from MyDomain.
  4. Click Log in.

    If you don’t know your account information, you can reset your password or recover your username or domain name.

Step 2: Go to your DNS records
  1. On the My Domains page, under the domain you want to verify, click Manage.
  2. In the left pane, click DNS & Nameservers.

    DNS & Nameservers is selected from the left column options.

Step 3: Delete existing MX records
  1. Scroll down to the DNS Records table to the MX records.
  2. Next to the first MX record, click ""and then Delete.

    An MX record has the Delete option open.

  3. On the confirmation pop-up, click Yes, delete it.

    The Remove DNS confirmation question is shown.

    You’ll add new MX records in the next step.

  4. Repeat steps 2–3 until all MX records have been removed.
Step 4: Add the new MX records
To direct your email to your Google Workspace account, you have to add new MX records to your domain. These are the records that you need to add:
MX server address Priority
Important: Some registrars require you to add a period after the .COM in the MX server address.
  1. At the top of the DNS Records table, click Add DNS Record.

    The Add DNS Record button is under the DNS Records heading.

  2. In the Name field, enter @.
  3. From the Type list, select MX.
  4. In the Content field, enter ASPMX.L.GOOGLE.COM.
  5. From the TTL (Time To Live) list, select 1 Hour.
  6. In the Priority field, enter 1.

    An MX record is entered in the Add New DNS Record page.

  7. Click Add DNS.
  8. Repeat steps 1–7, entering the remaining (MX server address values) from the table above and setting the Priority values.

    All 5 MX records are shown in the DNS records table.

  9. Skip this step if you already verified your domain by another method (such as TXT or CNAME record).

    If you need to verify your domain:

    1. In the Admin console, scroll to the Get your verification code section and click the Copy button.

      The MX records table is shown and a red circle highlights the Copy button next to the MX verification record.
    2. Paste the value in the Value/Answer/Destination/Target column.
    3. Make sure the record's priority is set to Low or to 15 or greater.
    Note: If your registrar rejects the verification code, try deleting the period at the end of .com.

    The MX verification record is entered on the Add New DNS Record page

Step 5: Tell Google to find your new MX records
  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in

  2. Check the boxes to confirm:

    1. You've created accounts for all existing email addresses in your organization.

    2. You're ready to stop receiving messages at your old email provider and start receiving them in Google Workspace.

  3. Click Continue.

  4. Scroll to the bottom of the next page and click Activate Gmail.

Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Clear search
Close search
Google apps
Main menu
Search Help Center