What Is a Domain Lock and When Should You Enable It?
A domain lock stops your domain from being moved without your approval. Learn how it works, when to turn it off for a transfer and what it cannot protect.
9 min readUpdated Nov 18, 2026By XPASS Editorial Team

Your domain name is one of the most valuable things a website or business owns, and losing control of it can take a site and its email offline overnight. A domain lock is a simple switch that makes one particular kind of loss, an unauthorized transfer to another registrar, much harder. It is quiet, it normally needs no ongoing effort once it is on, and most owners never think about it until a transfer fails and the error message mentions a lock.
This article explains what a domain lock is, how it works behind the scenes, when you should keep it on, when you need to turn it off and what it does not protect. It uses general rules for common generic domains; country-code extensions can behave a little differently.
What a domain lock is
A domain lock is a status flag attached to a domain at the registry, the organization that operates the extension such as .com. Registrars set it on your behalf when you ask. When the flag is present, the registry refuses requests to transfer the domain to another registrar, even if someone presents a correct authorization code.
You will see it called by several names: registrar lock, transfer lock, domain protection or simply "lock". In the technical status list, it appears as a client transfer prohibited value. The word "client" here means that the registrar, acting for you, set it, as opposed to a restriction that the registry itself applies.
The lock does not change how the website works. DNS, email and renewal carry on exactly as before. It only affects the move from one registrar to another. The wider rules for generic extensions come from ICANN, and registration data about a domain can be looked up with tools built on the WHOIS protocol or its newer equivalents.

How a transfer normally happens
To see why the lock matters, picture what a transfer needs:
- The domain is unlocked at the current registrar.
- The owner obtains an authorization code, often called an EPP code.
- The new registrar submits the transfer with that code.
- The current registrar or the registry asks the owner to confirm, usually by email.
- After approval, or after the approval window ends, the registry moves the domain.
A lock blocks the process at step one. Even if an attacker learns the code, the registry refuses the request while the lock is on. This is why the lock and the code work as two layers: something that must be switched off, plus something that must be supplied.
Why a lock is worth having
Domain hijacking usually relies on getting into the owner's registrar account or tricking the owner. A few typical routes are:
- A stolen or reused password for the registrar account.
- A phishing message that persuades the owner to hand over a code or approve a fake request.
- An old email address that the attacker has taken over and can use for confirmations.
- A former employee or contractor who still has access to the account.
The lock does not stop the first step of any of these attacks, but it adds a mandatory second action. An attacker must find the lock setting and switch it off before a transfer can begin, which gives the real owner a chance to notice a notification or an unexpected change. With a strong password, two-step sign-in and a monitored registrant email, the lock becomes a useful part of a layered defence.
When you should keep it on
Keep the lock on in these situations:
- During normal operation, which is almost all of the time.
- After you have just registered a domain, because new domains are a common target and you do not need to move them.
- When several people share access to the account.
- When the domain carries important services such as business email, a store or an application.
- Whenever you are not planning to change registrars in the next few days.
The default at many registrars is already "locked". Check rather than assume. Open the domain's settings page, look for a lock or transfer protection option and confirm that it is on.
When you should switch it off
Turn the lock off only when you have decided to transfer the domain and are ready to complete the process. A sensible sequence looks like this:
- Check that the domain is not about to expire and is outside any new-registration hold.
- Confirm that the registrant email can receive messages.
- Switch off the lock at the current registrar.
- Request the authorization code.
- Submit the transfer at the new registrar and approve the confirmation message.
- When the domain arrives, switch the lock on at the new registrar.
Do not switch the lock off "just in case" days or weeks in advance. A window in which the domain is unlocked is a window in which a stolen code would work. If you are moving the domain, plan the steps so the unlocked period is as short as possible. The reasons a transfer can still fail with the lock off are covered in why domain transfers fail, and the usual timing is explained in how many days a transfer takes.
What the lock does not protect
A lock is narrow in scope. It does not protect against the following.
| Risk | Does the lock help? | What actually helps |
|---|---|---|
| Transfer to another registrar | Yes | Keep the lock on |
| Changes to DNS records | No | Strong account security, change alerts |
| Changes to name servers | No | Account security, registry-level lock if offered |
| Domain expiring | No | Renewal reminders, renewal in advance |
| Email hosted on the domain stopping | No | Check email settings, plan the DNS carefully |
| Fake registrar invoices and phishing | No | Training, trusted contact channels |
| Stolen account login | Only partly | Two-step sign-in, unique passwords |
Some registries and registrars also offer a stronger registry-level lock, sometimes sold as a premium protection, which blocks updates and deletions as well as transfers and usually requires a manual verification process to change. Whether it is worth using depends on how important the domain is. If your registrar offers it, read what it blocks and how you would unlock it in an emergency before turning it on.
DNS security is a separate topic. DNSSEC, described in RFC 4033, signs DNS data so that resolvers can detect tampering. It does not replace a registrar lock, and a registrar lock does not replace DNSSEC.
How to check and change the lock step by step
The exact screens differ between registrars, but the steps are almost always the same. Allow ten minutes and do it while you are calm, not in the middle of an emergency.
- Sign in to the registrar account using the official address, typed or bookmarked by you, not a link from a message.
- Open the list of domains and choose the one you want to check.
- Look for a section named Lock, Transfer lock, Registrar lock, Domain protection or Security. If you cannot find it, search the help pages for the word "lock".
- Read the current value. "On", "Locked" or a switch in the active position means transfers are blocked.
- To change it, flip the switch and save. Some registrars ask for your password or a one-time code before they allow the change, which is a good sign.
- Reload the page and confirm the new value. For a second opinion, look up the domain status with a registration lookup tool and see whether it lists client transfer prohibited.
- Record the date and the change in your own notes.
Repeat the check once or twice a year, and again after any staff change or password reset. If your registrar sends notifications when the lock changes, make sure they go to an email address that several trusted people can read, not just one personal inbox. This small habit turns the lock from a silent setting into an early warning signal.
If you manage many domains, make a simple table with the domain name, expiry date, lock status and the person responsible. Review it every quarter. Portfolios usually get into trouble not because of a clever attack, but because one forgotten domain had an expired card, an unmonitored mailbox and no lock at all.
A plain example
Mina runs an online shop on a .com domain and uses the same domain for her business email. She registered it two years ago and the registrar account is protected by a password manager and two-step sign-in. The lock has been on since day one.
One morning she receives a message that looks like it came from her registrar: "Your domain is about to be transferred. Click here to cancel." She does not click. Instead she opens the registrar site in a new tab and checks the domain. The lock is on, no transfer is pending and there is no new activity in the account log. The message was phishing.
A year later Mina decides to move to a different provider. She checks the expiry date, confirms her registrant email works, switches the lock off, requests the code and submits the transfer. The domain arrives the same week, and she switches the lock on again in the new account. The unlocked period lasted a few days, not months.
Limits and what to watch for
- A lock is not a full security system. It is one control among several, and it only covers transfers.
- Some extensions handle locks differently, or do not use the same status values. If your domain is a country-code extension, read the registry's rules.
- A privacy service or a change of registrant can trigger additional holds on transfers at some registrars, even while the lock is off.
- Do not share an authorization code in chat, in tickets or on a call that you did not start yourself. Treat it like a password.
- If the registrant email is on the domain you are moving, set up an address elsewhere first. Mail handling during a move is discussed in whether email stops when a domain is transferred.
- Keep a record of when you turn the lock off and on. If you cannot turn it back on, contact support immediately.
- Write down who is allowed to switch the lock off. In a small team, agree that nobody does so without telling the others, so an unexpected change is easy to spot and question.
- A lock cannot fix a mistake you make yourself. If you approve a fake request while the lock is off, the registry will treat it as legitimate, so read every confirmation message carefully before you act on it.
- If you find the lock off and you did not switch it off, change your password and check the account log straight away.
Summary
A domain lock is a simple status that tells the registry to refuse transfers to another registrar. Keep it on by default, turn it off only when you are actively moving the domain, and turn it back on once the move is complete. It protects only against unauthorized transfers, so combine it with a strong password, two-step sign-in, an accurate registrant email and timely renewals. Check the lock setting today rather than assuming it is on. If you want to see how domain registration and protection options are presented, the domains page is a good place to start.
Frequently asked questions
What is a domain lock?
A domain lock, also called a registrar lock or transfer lock, is a status on the domain that tells the registry to refuse transfers to another registrar. It stays in place until the owner removes it.
Should a domain lock always be on?
For most domains, yes. Keep it on during normal operation and switch it off only when you intend to transfer the domain, then turn it back on after the move is complete.
Does a domain lock stop someone changing my DNS records?
No. The lock only blocks transfers to another registrar. Changes to DNS records, name servers or contact details are controlled by your account login, so that account needs a strong password and two-step sign-in.
How do I know whether my domain is locked?
Look at the lock or transfer protection setting in your registrar account, or check the domain status in a registration lookup. A value such as client transfer prohibited normally means the lock is on.
References
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
Why Did My Domain Transfer Fail? Common Causes
Most failed domain transfers come from a short list of causes. Learn how to recognise each one, fix it and restart the request safely.
9 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
Will Email Stop Working When You Transfer a Domain?
A registrar transfer does not touch your mailbox, but a careless DNS change can. Here is how to move a domain without losing a single message.
10 min read