# Gmail with Custom Domain — How to Set It Up in 2026

*2026-08-10*

> Learn how to connect your own domain to Gmail in 2026. Our step-by-step guide covers Google Workspace setup, DNS configuration, and troubleshooting common issues.

## Introduction to Gmail with Custom Domain

Using Gmail with a custom domain is a straightforward way to get a professional email address without leaving Gmail's familiar interface. Instead of name@gmail.com, you can have name@yourdomain.com. This guide shows you exactly how to connect your own domain to Gmail through Google Workspace in 2026.

## Prerequisites Before You Start

Before you begin, you'll need:

- A Google account (regular Gmail works)
- A registered domain (purchased from a domain registrar)
- Access to your domain's DNS settings
- A Google Workspace subscription (free trial available)

Google Workspace is Google's business solution that enables gmail with custom domain. It's not possible to use a custom domain with a regular Gmail account — you must have a Workspace subscription.

## Step-by-Step Guide: How to Connect Your Domain to Gmail

### Step 1: Register Your Domain

If you don't already have a domain, you'll need to register one. You can purchase domains from various registrars. Make sure you choose a domain name that's easy to remember and fits your brand or personal identity.

Once you've registered your domain, you'll get access to DNS settings, typically through a control panel at your registrar. Save this information — you'll need it later.

### Step 2: Create a Google Workspace Account

Go to Google Workspace and click "Get started". You'll be asked to enter your domain. Fill in your domain name exactly as you registered it (e.g., mydomain.com).

Google will ask if you own the domain. You can verify it later, but it's easier to do it now. Follow the instructions to add a verification code to your DNS.

### Step 3: Verify Your Domain

Domain verification is critical for gmail with custom domain. Google needs to confirm that you own the domain before you can use it with Gmail.

Google provides you with a verification code (TXT record). Log into your domain registrar's control panel, go to DNS settings, and add this TXT record. DNS changes typically take 15 minutes to 24 hours to propagate globally.

Once the DNS record is active, return to Google Workspace and click "Verify". If everything is correct, Google confirms that you own the domain.

### Step 4: Configure MX Records for Email

MX records (Mail Exchange) tell the Internet where email to your domain should be sent. Without proper MX configuration, email won't reach your Gmail inbox.

Google Workspace provides you with MX records that look something like this:

```
10 aspmx.l.google.com
20 alt1.aspmx.l.google.com
30 alt2.aspmx.l.google.com
40 alt3.aspmx.l.google.com
50 alt4.aspmx.l.google.com
```

Log into your domain registrar's DNS settings and replace any existing MX records with these. Save the changes. This process can also take up to 24 hours to fully propagate.

### Step 5: Add Users to Google Workspace

Once your domain is verified and MX records are configured, you can create email accounts. In the Google Workspace Admin console, go to "Users" and click "Add user".

Enter first name, last name, and username. The email address will automatically become username@yourdomain.com. Set a temporary password that the user can change at first login.

### Step 6: Log In to Gmail with Your New Address

Once the user account is created, you can log into Gmail.com with your new email address (e.g., name@yourdomain.com) and the password you set. You now have access to gmail with your custom domain.

### Step 7: Configure SPF and DKIM (Recommended)

To improve email delivery and reduce spam risk, it's recommended to configure SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) records.

Google Workspace provides these records in the Admin console under "Security" > "Email authentication". Add them to your DNS just like the MX records. These records help recipients verify that email from your domain is legitimate.

## Common Issues and Solutions

### Email Isn't Arriving

If email isn't reaching your Gmail inbox, first check that MX records are correctly configured. Use a DNS checker tool to verify that the records are active. DNS changes can take up to 48 hours to fully propagate.

### Domain Won't Verify

If Google can't verify your domain, check that the TXT record matches exactly what Google specified. Spaces, capitals, and punctuation must match perfectly. Also wait at least 15 minutes before trying again — DNS changes don't propagate instantly.

### Password Doesn't Work

If you can't log in with your new Gmail address, make sure you're using the correct email address (name@yourdomain.com, not name@gmail.com). Try resetting the password through the Google Workspace Admin console.

## Summary

Connecting your own domain to Gmail through Google Workspace is a straightforward process that takes 1-2 days from start to finish (including DNS propagation). Follow the steps above carefully, verify your domain, configure MX records, and you'll soon have a professional email address with gmail with custom domain. Invest a little time in SPF and DKIM configuration for best email delivery.

## Frequently Asked Questions

### Can I use a custom domain with regular Gmail?

No, you need Google Workspace. Regular Gmail doesn't allow custom domains — it's a feature reserved for Workspace subscribers.

### How much does Google Workspace cost?

Google Workspace starts at around $6 USD per month per user for the Business Starter plan. There's also a free 14-day trial.

### How long does it take to set up gmail with custom domain?

The actual setup takes about 30 minutes, but DNS changes can take up to 48 hours to propagate globally. Plan for 1-2 days before everything is fully functional.
