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

Step 1: Sign in to your domain host
  1. Leave the Google Admin console setup instructions open.
  2. Open a new browser window and go to the site at

    Two browser windows are shown. Window 1 is for the domain host site, and window 2 is for the Google Setup Wizard.

  3. On the site, click Log in at the top. 

    Login button

  4. Enter the account username and password that you created when you purchased your domain from, and click Log in.

    If you don’t know your account information, you can reset your password or contact support.

    Account Log In dialog box

Step 2: Go to the domain settings
  1. In the site, click Control Panel at the top.

    Control Panel button

  2. Click the domain name that you want to set up with Google Workspace.
  3. Under the Domain Registrant Details section, click DNS Settings.

    DNS Settings link

Step 3: Delete existing MX records
  1. Scroll down to Mail exchange records. Select an existing MX record under the Result column, and click the Delete key on your keyboard to remove it. Repeat the process to remove the Priority value.

    Select existing MX records for deletion

  2. Repeat the previous step to remove all existing MX records and their priorities. Don't worry, you'll add new ones in the step below.

    all MX records deleted

Step 4: Add 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'll 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. In the Result field, enter ASPMX.L.GOOGLE.COM Include the period (.) at the end of the MX record.

    Result field

  2. In the Priority field, enter 1.

    Priority field

  3. Leave the Host name field empty.
  4. Click the Add MX Records button to add more empty fields, if necessary.

    Add MX Records button

  5. Repeat Steps 1-4, entering the remaining values (MX Server address) from the table above, and setting the Priority values respectively.
  6. 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.
  7. After all of the records have been added, click Save.

    Save button

    The page refreshes and a confirmation message appears at the top.

    Confirmation message: Please allow 24-48 hours for changes to take effect.

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