Yes, but not in the ENS App or ENS Explorer: neither can set one for a contract. It is set by calling ENS contracts directly. For how a primary name works, see Primary name.
What you need:
The name must point back at the contract. For an ETH primary name, the name's ETH Address must hold the contract's address. For a Default primary name, the name's Default address must hold it.
Each call is a transaction, so the caller needs a little ETH for network fees (gas).
If the address doesn't match, apps show the contract's address instead of the name. For a regular wallet, see Set your primary name.
Who can set a primary name for a contract?
Some contracts can't call the ENS registrars directly. For these, ENS has two adapter contracts: ReverseRegistrarAdapter and DefaultReverseRegistrarAdapter. An adapter accepts the call only from:
the contract itself
the contract's owner address, if the contract uses
Ownablean address the contract approves through its own
IContractNamersetting.
The ENS developer docs cover this under Reverse Resolution.
The docs list two more routes as upcoming: a signature route for contracts, and signature-based primary name claiming on L2 networks such as Base.
Common questions
Why does ENS Explorer say "No reverse records yet" for my contract?
The contract has no primary name. ENS Explorer shows this on the contract's Reverse Resolution page. Neither ENS app can set one, so use the contract route in this article.
My contract already has a primary name. Does it keep working?
Yes, a contract's existing primary name keeps working at launch, with no action from you. The records behind ETH and Default primary names stay on ENSv1 at launch.
