Domain Expiry Date Checker: Four Ways to Find When a Domain Expires
You can find any registered domain's expiry date in under a minute. The registry publishes it for most TLDs, and you can read it in four ways. The method matters less than knowing which date field to trust.
1. Use an online checker
The quickest way is our Domain Expiry Checker. Type the domain, submit, and the tool shows the registration date, the expiry date, and how many years, months and days remain. It works for domains you don't own, so you can check a competitor's name or one you hope to buy.
2. Query WHOIS from the terminal
macOS and most Linux distributions ship a whois client (on Debian or Ubuntu, install it with apt install whois). Filter the output for the expiry line:
whois github.com | grep -i "expir"
For a .com you'll see something like:
Registry Expiry Date: 2028-10-09T18:20:50Z
Registrar Registration Expiration Date: 2028-10-09T18:20:50.000+00:00
The first line comes from the registry (Verisign for .com). The second comes from the registrar. They usually match. When they disagree, trust the registry date, since the registry runs the authoritative database.
Times are in UTC. A domain that expires at 2028-10-09T04:00:00Z expires on the evening of October 8 in New York.
3. Query RDAP with curl
RDAP (Registration Data Access Protocol) is WHOIS's replacement. It returns JSON instead of free-form text, so scripts can parse it without guessing at field names. Since 28 January 2025, ICANN treats RDAP as the definitive source for gTLD registration data and no longer requires registries to run WHOIS, except for .com, .name and .post. Many new gTLDs have already shut their WHOIS servers, so whois returns nothing for them while RDAP still works.
Use the rdap.org redirector, which sends your query to the right registry:
curl -sL https://rdap.org/domain/github.com \
| jq -r '.events[] | select(.eventAction=="expiration") | .eventDate'
Output:
2028-10-09T18:20:50Z
If you want to skip the redirector, IANA publishes the list of RDAP servers per TLD at https://data.iana.org/rdap/dns.json. For .com, query Verisign's server:
curl -s https://rdap.verisign.com/com/v1/domain/github.com | jq '.events'
The events array also gives you registration and last changed dates, and the status array lists the EPP status codes.
4. Check your registrar dashboard
For domains you own, the registrar dashboard shows the expiry date and whether auto-renew is on. It also shows things WHOIS can't, like the card on file and whether the last renewal charge failed. Look here first for your own domains, then confirm against the registry.
Read the status codes too
The expiry date alone can mislead you. Look at the status field in any of the results above:
| Status | Meaning |
|---|---|
ok / active |
Normal, no pending action |
clientTransferProhibited |
Registrar lock on, which is the normal setting |
autoRenewPeriod |
Domain passed its expiry and the registry auto-renewed it, but your registrar may still delete it if you don't pay |
redemptionPeriod |
Deleted, recoverable for a restore fee |
pendingDelete |
About to be released, no recovery possible |
clientHold / serverHold |
Domain won't resolve, often due to non-payment or a dispute |
The autoRenewPeriod case catches people out. During the grace period after expiry, the registry rolls the date forward a year, so the domain appears renewed. If you see that status, log into your registrar and pay the renewal.
When the lookup returns nothing
- Redacted data: GDPR-era redaction hides the owner's name and email, but the expiry date stays public. If the date is missing, the TLD's registry doesn't publish it.
- ccTLDs: some country-code registries limit what they show or use their own field names. For example, DENIC doesn't publish an expiry date for
.dedomains in either WHOIS or RDAP. - Rate limits: registries throttle repeated WHOIS queries. If you check dozens of domains, spread the requests out or use RDAP.
Pick the method that fits the job. Use the online checker for one-off lookups, whois or curl when you're already in a terminal, and RDAP for anything you plan to automate.