What Is an EPP Code (Authorization Code) for a Domain?
The EPP code is the key that lets you move a domain to another provider. Learn what it is, where to find it, how to protect it and why it sometimes fails.
9 min readUpdated Nov 18, 2026By XPASS Editorial Team

When you decide to move a domain to another provider, one of the first things you are asked for is an EPP code. The name sounds technical, and many owners have no idea where to find it. In practice it is a simple idea: a password-like key that proves you have the right to transfer a domain.
This article explains what the code is, why it exists, how to request it, how to keep it safe and what to do when it does not work. It is written for site owners and small business managers, not for registry engineers.
What EPP and the code actually are
EPP stands for Extensible Provisioning Protocol. It is the standard language that registrars use to talk to registries when they create, update, renew and transfer domain names. The EPP code is one of the pieces of data in this system. People also call it an authorization code, auth code, auth info, transfer code or transfer key. All of these names refer to the same idea.
The code is stored for each domain at the registry and is set through your current registrar. When you ask a new registrar to take over the domain, the new registrar sends the code to the registry. If it matches the stored value, the registry knows the request carries the owner's permission and allows the transfer to continue. The wider domain system, with registrars, registries and policy, is coordinated by organisations such as ICANN, and each extension is run by its own registry as listed in the IANA root zone database.
The code looks like a random string of letters, numbers and symbols. Its exact length and format differ between extensions and providers, so do not worry if yours looks different from someone else's.

Why the code exists
A domain name is valuable. Your website, email, brand and customers all depend on it. If anybody could ask to move your domain just by knowing its name, domain theft would be easy. The authorization code adds a barrier. A person who tries to transfer a domain needs to prove they are able to ask the current registrar for the code, which in turn requires access to the account.
This is one layer in a set of protections. The others are the domain lock, the confirmation emails sent to the registered contact, and the waiting periods that give an owner time to notice and cancel an unwanted transfer.
| Protection | What it does | Who controls it |
|---|---|---|
| Transfer lock | Stops transfer requests from being accepted | Domain owner, via the registrar |
| Authorization code | Proves the requester has the owner's permission | Generated by the registrar for the owner |
| Confirmation email | Lets the contact approve or reject a request | Registered contact email |
| Waiting period | Gives time to notice and cancel | Set by the registry and registrars |
How to get your EPP code
The steps differ slightly between providers, but most follow this pattern.
- Sign in to your current registrar's account.
- Open the list of domains and choose the one you want to move.
- Find the transfer or security settings. Look for words such as "transfer", "authorization code", "EPP code" or "auth code".
- Turn off the transfer lock if it is on. Without this, the code may not be offered or will not work.
- Request or reveal the code. It may appear on screen, or be sent to the registered email address.
- Copy it carefully, without leading or trailing spaces, and paste it into the new provider's transfer form.
If you cannot find the option, check the registrar's help pages or ask support. Some providers only release the code after a security check, such as confirming an email or a code sent to your phone. That is a normal precaution, not a problem.
Our guide on moving a domain to a new provider without downtime shows where the code fits in the full sequence, including what to copy from your DNS before you begin.
How to keep the code safe
Because the code can start a transfer, treat it like a password.
- Share it only with the provider you are transferring to, and only through the transfer form.
- Do not post it in public chats, tickets that others can view or social media.
- Avoid sending it by plain email or messaging where you can use a safer channel. If you must email it, delete the message afterward.
- Ask for a new code if you suspect it was seen by someone else. Many registrars let you generate a new one at any time.
- Turn the lock back on after a transfer is cancelled or finished.
- Do not give your code to a stranger who contacts you first. Unsolicited offers to buy or "help" with your domain are a frequent source of scams.
A worked example: Pim runs a small online course site. After deciding to change registrars, she signs in to her old account, turns off the lock, requests the code, and copies it into a secure note. She pastes it into the new registrar's transfer form on the same day, pays for the transfer and approves the confirmation email. After the transfer completes, she deletes the note. At no point did the code leave the two places it was meant to go.
Why a code might not work
When a transfer starts, the registry compares the code with the one stored for the domain. Several things can go wrong.
- A copy mistake. Extra spaces, a missing character or a character that looks similar to another can break the match. Paste rather than type, and compare the beginning and end.
- An expired or replaced code. Some codes are valid for a limited time, and generating a new one may invalidate the old one. Always use the latest.
- A locked domain. If the lock is still on, the transfer request will be rejected even with the right code.
- A domain that is too new. Registries often stop transfers for a period after registration or a previous transfer.
- Wrong domain. If you manage several names, make sure the code belongs to the exact domain you entered.
- Contact details are outdated. The approval email may go to an address you cannot read.
- Special rules of the extension. Some country extensions have their own transfer procedures that do not use the same flow.
When a transfer fails, read the reason given by the new provider. Fix that one problem, then try again with a new code if needed. If you are unsure how long to expect after approval, read how many days a domain transfer takes.
EPP code versus other codes you may meet
The domain world has several codes and keys, and mixing them up causes confusion.
| Name | What it is for | Related to transfers? |
|---|---|---|
| EPP or authorization code | Proving the right to transfer a domain | Yes |
| Registrar account password | Signing in to the account | Indirectly, because you need it to get the code |
| Verification code from an email or a phone | Confirming your identity for a security step | Sometimes, as part of getting the code |
| DNSSEC keys | Signing DNS records | Not a transfer code, but may need attention during moves |
| SSL certificate private key | Securing HTTPS on your site | No |
Keep the codes in a password manager, but do not store the EPP code for long. After the transfer finishes, it has no further use.
Before and after you use the code
A short routine reduces mistakes.
Before: renew the domain if it is close to expiry, make sure the contact email works, copy your DNS records, confirm that the domain is old enough to transfer and confirm the cost and the added years with the new provider. If you also manage a second domain that points to your main site, as described in adding a .com to a .co site, note it in your list so that it is not forgotten.
After: check that the website and email still work, confirm the new expiry date, re-enable the lock and update the contact details. If you have DNSSEC set up, check that it is still valid.
Practical questions people ask
Can I get the code if I only use a website builder or a reseller?
Often yes, but the process is less direct. If a web agency or hosting company registered the domain for you, the code may have to be requested through them, and the domain may be registered in their name instead of yours. Check who is listed as the registrant. If it is not you, ask for the registration to be placed in your name before you plan a move, because the person recorded as the owner is the one with the authority to transfer it.
Does the code expire?
Some registries and registrars set a validity period for the code, and others keep it until it is changed. Because you cannot always tell which applies, generate it shortly before you start the transfer rather than weeks in advance. If the transfer form says the code is invalid and you are sure you copied it correctly, create a new one.
Is it safe to transfer if I paid for several years already?
Usually yes. Existing time is generally preserved and a transfer may add to it, depending on the extension. Look at the terms of the new provider so you know how the remaining time is treated, and take a screenshot of the expiry date before and after.
Do I need to tell my website visitors?
Not normally. Visitors will not notice a registrar change when DNS stays the same. You may want to tell your own team, so that nobody changes records in the old panel during the move.
Limits and what to watch for
- The code does not move your website or email. It only authorizes the change of registrar. Hosting and mailboxes are separate.
- Having the code is not enough on its own. The domain must be unlocked, old enough and not in a status that blocks transfers, such as a dispute or an unpaid balance.
- Rules vary by extension. Some registries use different procedures, require extra documents or do not use a code at all. Check the rules for your extension.
- A transfer may be approved by the current registrar or may complete after a waiting period, so avoid starting it right before a deadline.
- Never accept a request to hand over your code to someone you do not know. The registrar's own staff do not need your code for ordinary support.
- If the domain belongs to a company, make sure the person requesting the code is authorised to do so, and that the registered owner is the company rather than an individual who left.
Summary
The EPP code, or authorization code, is the key that proves you may transfer a domain. You get it from the current registrar, usually after unlocking the domain, and you give it to the new registrar. Keep it confidential, paste it carefully, request a fresh one if it fails and lock the domain again afterward. For the next steps, including what to prepare and how long to wait, see the related guides, and when you are ready to compare where to keep your domain, the domains page is a good starting point.
Frequently asked questions
What is an EPP code?
It is a secret string, also called an authorization code, auth code or transfer key, that the current registrar gives the domain owner. The new registrar uses it to confirm that the person asking for the transfer is allowed to move the domain.
Where do I find my EPP code?
Usually in the domain management area of your current registrar, near the transfer lock setting. Some providers email it to the registered contact, and some country extensions use a different procedure.
Why is my authorization code rejected?
Common reasons are a typing or copy error, a code that has expired, a domain that is still locked, or a code that belongs to a different domain. Generate a fresh code, paste it without extra spaces and check that the lock is off.
Is the EPP code the same as a password?
It works like a one-purpose password. It does not give access to your account, but anyone who has it, together with a successful approval, could try to move your domain. Treat it as confidential.
Do I need an EPP code for every extension?
Most generic and many country extensions use one, but not all. Some registries use other methods, so check the requirements of your extension.
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Ready to register your domain?
Search a name, compare extensions and pay once for the years you choose.
.com registration from $18.81 for the first year
Search domainsKeep reading

Domain & DNS Guides
How to Move a Domain to a New Provider Without Downtime
A domain transfer should not take your site offline. Learn the safe order of steps, how to keep DNS stable, and what to check before and after.
10 min read

Domain & DNS Guides
How Many Days Does a Domain Transfer Take?
A typical generic domain transfer takes from a few hours to about a week. Learn the day-by-day timeline, what causes delays and how to plan the move.
9 min read

Domain & DNS Guides
Should You Also Buy the .com When You Already Use .co?
Many .co sites lose visitors who type .com by habit. Learn how to decide whether to add the .com, how to redirect it correctly and what to watch for.
9 min read