A domain lock is a protective status applied to a registered domain name that blocks transfers, updates or deletion until the authorized party deliberately removes it. In the field of domain names on the Internet, the term usually refers to the registrar lock, also called a transfer lock, which prevents the domain from moving to another registrar without the holder’s consent.
Locks are implemented as EPP status codes stored at the registry, the organization that operates the top-level domain. Because a domain controls where email and web traffic go, a lock is one of the cheapest and most effective defenses against hijacking, social engineering at the registrar and accidental changes.
How a domain lock works in the registry system
A domain lock works by setting prohibition flags on the domain object in the registry database, which the registry then enforces on every incoming command. Registrars talk to registries through the Extensible Provisioning Protocol (EPP), and each lock corresponds to a specific status code that causes the registry to reject the matching operation.
There are two families of codes. Client statuses are set and removed by the sponsoring registrar, usually through a toggle in the customer control panel. Server statuses are set by the registry itself and cannot be changed by the registrar alone, which makes them far stronger against compromise of a registrar account.
The following table lists the EPP status codes most often meant by the phrase domain lock.
| Status code | Set by | Operation blocked |
|---|---|---|
| clientTransferProhibited | Registrar | Transfer to another registrar |
| clientUpdateProhibited | Registrar | Changes to contacts and name servers |
| clientDeleteProhibited | Registrar | Deletion of the domain |
| serverTransferProhibited | Registry | Transfer, regardless of registrar action |
| serverUpdateProhibited | Registry | Any update, including DNS delegation |
| serverDeleteProhibited | Registry | Deletion, regardless of registrar action |
These statuses are public. Anyone can see them in a WHOIS or RDAP lookup, where they appear in the status field, often followed by an explanatory link published by ICANN. A domain with no prohibition codes shows the status ok, which means that no restrictions are in place.
Types of domain lock
Domain locks differ mainly in who can lift them and how much verification that requires. The weaker the unlock process, the more the lock depends on the security of a single account password.
| Lock type | Controlled by | Unlock process | Protection level |
|---|---|---|---|
| Registrar lock | Domain holder via registrar | One click in the control panel | Basic |
| Registry lock | Registry on registrar request | Manual, out-of-band verification | High |
| Policy transfer lock | Registrar under transfer rules | Expires after the waiting period | Temporary |
| Dispute lock | Registrar or registry | Released after the proceeding ends | Case-specific |
The registry lock is a premium service offered for many top-level domains. A change request must be confirmed by named contacts through a separate channel, such as a phone call with a passphrase, before the registry removes the server statuses. Policy transfer locks come from rules that typically prevent an inter-registrar transfer for 60 days after registration or after a previous transfer, and dispute locks hold a domain during a UDRP proceeding or a court case.
Domain lock compared with related concepts
A domain lock is often confused with other controls in the domain lifecycle, but it only restricts operations; it does not hide data, renew the domain or authorize a transfer. The table below separates it from its closest neighbors.
| Concept | What it does | Relation to domain lock |
|---|---|---|
| EPP code | Secret that authorizes a transfer | Both are needed; the lock must be off and the code valid |
| Domain privacy | Masks registrant contact data | Hides information but blocks no operation |
| clientHold | Removes the domain from DNS | Stops resolution; it is a suspension, not a lock |
| Two-factor authentication | Secures the registrar account | Protects the switch that controls the lock |
| Domain renewal | Extends the registration term | A lock does not prevent expiry |
The distinction with clientHold matters in practice. A held domain stops resolving, so websites and email fail, whereas a locked domain keeps working normally and only refuses administrative changes.
Managing a domain lock during a transfer
Moving a domain to a new registrar requires removing the transfer lock first, and the order of steps determines whether the transfer succeeds. If the gaining registrar submits the request while clientTransferProhibited is set, the registry rejects it immediately.
- Confirm that the domain is outside any waiting period and that its expiry date is not imminent.
- Disable the registrar lock in the current control panel, or ask the registry to lift a registry lock.
- Request the EPP authorization code from the current registrar.
- Start the transfer at the gaining registrar and approve any confirmation message.
- Re-enable the lock at the new registrar as soon as the transfer completes.
The final step is frequently forgotten. Many registrars apply the lock automatically to new domains, but not always to incoming transfers, so the holder should verify the status in RDAP afterward rather than assume it.
Limitations and common mistakes
A registrar lock protects only as well as the account that can switch it off. Attackers who steal registrar credentials or persuade support staff to reset access can disable the lock and change name servers in minutes, which is why high-value domains use a registry lock instead.
| Symptom | Likely cause | Fix |
|---|---|---|
| Transfer rejected instantly | Transfer lock still active | Disable the lock, then resubmit |
| Name servers cannot be changed | Update lock or registry lock set | Unlock briefly or contact the registrar |
| Domain hijacked despite lock | Registrar account compromised | Add 2FA and request a registry lock |
| Transfer refused after a recent change | Policy waiting period applies | Wait until the period ends |
| Lock missing after migration | Not reapplied by new registrar | Re-enable and confirm in RDAP |
Locks also do not prevent loss through expiry. A locked domain that is not renewed still enters the auto-renew grace period and then the redemption grace period, after which the registry deletes it, so automatic renewal and current contact data remain essential.
In plain words
A domain lock is like a deadbolt on the ownership papers of a website address. While it is engaged, nobody can move the address to another company, change where it points or delete it, even with a forged request.
The owner can open the deadbolt when a real change is needed and close it again afterward. For very important addresses, there is a stronger version where the lock can only be opened after a personal confirmation by phone, so a stolen password alone is not enough.
A real-world example
A regional bank operates its online banking under a single .com domain. After a phishing campaign targets staff at several registrars, the security team reviews the domain and finds only the basic registrar lock, which any employee with the control panel password could disable.
The bank orders a registry lock through its registrar and names two officers who must confirm any change by phone using a passphrase. RDAP now shows serverTransferProhibited, serverUpdateProhibited and serverDeleteProhibited. When a planned move to new DNS servers comes up six months later, the change takes one business day to approve, a delay the bank accepts because a hijack of its domain could have redirected customer logins within minutes.