You want to move a domain from one registrar to another, you open the transfer form, and the first question reads: "Enter the EPP/Auth code". What is it, where do you get it, and why is it needed at all? This post explains everything about the domain auth code: how it works, how to get it, how to avoid being scammed, and what the typical problems are.
What an auth/EPP code is #
An auth code (also called an EPP code, transfer code or authorisation code) is a unique password for your domain. Without it, nobody (not even you) can move the domain to another registrar.
Technically, it's a string of 6-32 characters (letters, numbers, symbols) tied to a specific domain and managed through EPP (Extensible Provisioning Protocol), the international standard for communication between registries and registrars.
It appeared in response to the domain hijacking problem of the 2000s: before EPP, transfers relied only on WHOIS contact validation, which was easy to fake.
The difference: auth code vs login passwords #
People often get confused because there are three different "passwords" for a domain:
- Registrar account password: how you log in to the admin panel (Namecheap, GoDaddy)
- WHOIS contact email password: how you get into the mailbox where notifications go
- Auth/EPP code: specific to one domain, for transfers only
You change your login password often. An auth code is generated when needed (at the time of the transfer) and can be invalidated afterwards.
Where to find the auth code #
It depends on the registrar:
Standard cPanel/WHM registrars #
- Log in to the registrar's admin panel
- Domains → My Domains → click the domain
- The "Sharing & Transfer", "Transfer" or "Get Authorization Code" tab
- Click the "Generate" or "Send EPP Code" button
- The auth code is displayed (often) or sent to the WHOIS contact email
.hr domains #
- A free .hr domain with CARNET (the Croatian Academic and Research Network, which runs the .hr registry) isn't transferred: changing the nameservers is enough.
- A paid .hr domain has no auth code: get in touch with us, and you confirm the transfer through an email you'll receive.
GoDaddy #
- My Products → Domains
- Click the domain in question
- Settings → Additional Settings
- "Get authorization code"
- The code is sent to the WHOIS admin email
Namecheap #
- Domain List → click Manage next to the domain
- Sharing & Transfer tab
- "Auth Code": you see the code straight away
Google Domains (now Squarespace) #
- My Domains
- Click the domain
- Email Forwarding > Transfer Out
- "Get Authorization Code"
What if the registrar doesn't show the auth code? #
Some registrars (especially older ones) don't show the code in the panel; they only send it by email. The reasons:
- A security measure: if someone hacks your panel, they don't get direct access to the transfer code
- Compliance with ICANN regulations (varies)
- An old system
In that case:
- Check the WHOIS admin contact's inbox
- Check the spam folder
- Check that the WHOIS contact email is still active
- If it doesn't arrive, contact the registrar's support
How to use the auth code (the transfer process) #
The general flow:
- At the old registrar: generate the auth code
- At the old registrar: turn off the "domain lock" (clientTransferProhibited status)
- At the old registrar: make sure the WHOIS email is valid (the transfer confirmation will go there)
- At the new registrar: start the transfer process
- At the new registrar: enter the domain + auth code
- At the new registrar: pay the transfer fee (usually one year's renewal, as per the domain price list)
- At the old registrar: you'll get a confirmation email; approve it
- Wait 5-7 days: ICANN mandates a period for a possible rollback
- Transfer complete: the domain is now with the new registrar
How long an auth code lasts #
A generated auth code is usually valid:
- .com / .net / .org: until you regenerate it (the registrar may set its own expiry)
- .eu: 40 days
- .info / .biz: until you regenerate it
If it has run out, generate a new one.
Auth code security: what to watch out for #
Anyone who has the auth code can move your domain #
Treat the auth code like a bank PIN. Never send it over insecure channels:
- DON'T send it by ordinary email in plain text
- DON'T send it in a WhatsApp / SMS chat
- DON'T post it in public forums or tickets
- Use end-to-end encrypted communication (Signal, ProtonMail)
- Send it directly through the registrar's transfer interface (don't copy it through another system)
- After a successful transfer, regenerate the auth code so the one that was used no longer works
Phishing attempts #
The classic phishing scenario: you get an email saying "your domain is about to expire, renew here" that leads to a fake registrar site. You enter your login details and auth code, and the domain is lost.
Red flags:
- The URL isn't your real registrar's
- The email comes from suspicious domains (e.g. "godaddy-renewals.com" instead of "godaddy.com")
- Urgency: "renew within 24h or lose your domain"
- A price that's too high or too low
- They ask for the auth code as part of the "renewal" (a renewal doesn't need an auth code)
What if you don't get the auth code within 24h #
The most common problems and their fixes:
1. Domain lock is on #
Many registrars keep the domain lock on by default. If the lock is on, the auth code can't be generated. Turn the lock off first:
- Settings → Domain Lock → Disable
- Wait 1-2 hours for the change to propagate
- Now generate the auth code
2. The domain is in the 60-day ICANN period #
ICANN rules that a domain may not be transferred for 60 days after:
- Registration
- A previous transfer
- A change of WHOIS contact
The auth code can be generated, but the transfer won't go through. You have to wait for the 60-day period to end.
3. Pending renewal or disputed subscription #
If you have an unfinished pending payment or a dispute with the registrar, the transfer is blocked until it's resolved.
4. The registrar requires confirmation from the WHOIS contact email #
Some registrars (especially corporate-grade ones) require the auth code to be requested from the email address listed in the WHOIS contact. If you use a different email, they won't send it.
Fix: update the WHOIS contact email, wait 1-2 days and repeat the request.
5. Auth code truncated or corrupted #
The code may contain characters that are easily confused (0 and O, 1 and l, I). Copy and paste it straight from the email (don't type it by hand).
If it still doesn't work, the auth code has probably expired or the registrar gave you the wrong one. Request a new one.
Practical tips #
Before you transfer a domain #
- Consider renewing the domain first (with some TLDs a transfer doesn't add a year)
- Back up your DNS records before the transfer: the new registrar doesn't inherit DNS automatically
- Make sure the MX records don't drop out (an email outage during the transfer)
- Lower the DNS TTL to 300s 24h before the transfer
- Let your team know about possible email/site interruptions
During the transfer #
- Keep both registrars active until the transfer is complete
- Check the transfer status in the new registrar's panel daily
- If nothing has moved in 5 days, contact both registrars' support
After the transfer #
- Verify the WHOIS info at the new registrar
- Turn on auto-renew at the new registrar
- Turn on the domain lock at the new registrar
- Regenerate the auth code (the old one is "compromised")
- Update your credit card / billing details at the new registrar
How WMD handles auth codes and transfers #
How transfers work with us:
- Auth code in Moj WMD: on the domain's page, in the Lock and authorisation tab, click Request authorisation code. The code is emailed to the domain owner.
- .hr domains: have no auth code; the transfer is confirmed by email.
- Locking: nobody can transfer the domain without you.
- Transferring to us: you only pay for a one-year renewal, and that year is added to the existing term.
Need the auth code for a domain registered with WMD? Request it in Moj WMD or get in touch. If you're moving from another registrar, we'll help with the whole transfer.
Want to transfer your domain to us? Check the price and what you need.