Domain Expiring? Check It With RDAP Before DNS Is Cut Off
Run one RDAP query to see your domain's real expiry date and status, learn what clientHold and redemptionPeriod mean, and fix renewal gaps before DNS stops.
The short answer
Run curl -sL https://rdap.org/domain/yourdomain | jq '.status, .events' and read the event whose eventAction is expiration to get your real expiry date. Check the status list for client hold, redemption period or pending delete, which need your registrar now. Then confirm auto-renew, the card on file and the registrant email, and set a calendar reminder 60 days ahead, because ICANN rules require registrars to interrupt DNS before an expired generic domain is deleted.
Reading options
On this page
- What expiry really does to your site
- Before you start
- Step 1: Find your real expiry date with RDAP
- Step 2: Read the status array
- Step 3: Check auto-renew and the card behind it
- Step 4: Make sure renewal notices can reach you
- Step 5: Put the expiry in your calendar, 60 days ahead
- Step 6: Know the recovery order before you need it
- What to do if the domain is already in redemptionPeriod
- Variants
- How to check it worked
- Troubleshooting
- Pro tips and when to get help
- The one message worth forwarding
- Reader questions
- Sources & further reading
You can check exactly when your domain expires, and whether it is already in trouble, with one RDAP query that takes about a minute. RDAP is the official replacement for WHOIS, and it reads the date and status straight from the registry that runs your domain ending.
Here is why it is worth doing today. Under ICANN's Expired Registration Recovery Policy, once a generic domain expires, "the existing DNS resolution path specified by the RAE must be interrupted by the registrar" for at least the final eight days it can still be renewed. RAE simply means you, the registrant at expiration.
By the end of this guide you will know your real expiry date, what your status codes mean, and what to do if the clock has already run out.
What expiry really does to your site
Your domain is a rental, not a purchase. When the rental period ends and nobody pays, the registrar does not quietly keep things running for you.
Think of it like a phone number on a prepaid plan. Miss the top up and the number first stops taking calls, then sits in a holding period, and finally goes back into the pool for someone else.
For a domain, "stops taking calls" means DNS stops answering. DNS is the system that turns example.com into the address of your server, so when it is interrupted your website stops loading and email sent to your domain stops arriving.
ICANN's page for registrants says this interruption can cause services "such as a website or email service to no longer work." It is designed as a last loud warning, and it works, but it is a painful way to find out.
Why this matters: your hosting can be perfectly healthy while the site is down. The server is fine; the internet just cannot find it anymore.
Before you start
Get these ready before you run anything:
- Your registrar login, the company where you pay for the domain
- The exact domain name, for example
example.com - A terminal with
curlandjqinstalled (macOS and Linux terminals usually havecurl;jqmay need installing) - Your calendar app
- About 10 minutes
Quick tip: if you are on Windows and do not want to install anything, skip ahead to the Variants section for a PowerShell version.
Step 1: Find your real expiry date with RDAP
RDAP stands for Registration Data Access Protocol. It returns domain data as JSON, a structured text format that tools like jq can read.
At the time of writing (1 December 2026), ICANN says gTLD registries and registrars "are no longer required to provide WHOIS services (except for .com, .name, and .post)" as of 28 January 2025. So RDAP is the lookup you should get used to.
Run the query
The free bootstrap service at rdap.org finds the right registry server for you. It answers with an HTTP 302 redirect pointing at the authoritative server, so curl needs the -L flag to follow it.
Run this command, replacing example.com with your own domain:
curl -sL https://rdap.org/domain/example.com | jq '.status, .events'You should see two blocks of JSON. The first is a list of status words, and the second is a list of events, each with a date.
Here is the real output I got for example.com when I ran it on 30 November 2026, the day before this guide went live. Your domain will show different values, and other registries may add or leave out fields:
[
"client delete prohibited",
"client transfer prohibited",
"client update prohibited"
]
[
{
"eventAction": "registration",
"eventDate": "1995-08-14T04:00:00Z"
},
{
"eventAction": "expiration",
"eventDate": "2027-08-13T04:00:00Z"
},
{
"eventAction": "last changed",
"eventDate": "2026-08-14T08:01:43Z"
},
{
"eventAction": "last update of RDAP database",
"eventDate": "2026-11-30T18:18:13Z"
}
]Read the expiration event
RFC 9083, the standard that defines RDAP responses, describes eventAction as "a REQUIRED string denoting the reason for the event" and eventDate as the time and date it happened. The one you want has eventAction set to expiration.
The date is in RFC 3339 format. 2027-08-13T04:00:00Z means 13 August 2027 at 04:00 UTC, and the Z on the end means UTC.
If you only want the date, this command filters it out for you:
curl -sL https://rdap.org/domain/example.com | jq -r '.events[] | select(.eventAction=="expiration") | .eventDate'You should see a single line with a date and time. If you see nothing at all, the registry did not publish an expiration event, and you will need to check the date inside your registrar account instead.
Heads up: ignore last update of RDAP database. That timestamp is about the registry's data, not about your domain.
Optional: count the days left
This command turns the expiry date into a number of days from now, using the fromdateiso8601 and now functions built into jq:
curl -sL https://rdap.org/domain/example.com | jq -r '.events[] | select(.eventAction=="expiration") | .eventDate | (fromdateiso8601 - now) / 86400 | floor'You should see a whole number. A negative number means the date has already passed.
The jq manual documents the format it parses as %Y-%m-%dT%H:%M:%SZ. If your registry adds fractional seconds or a time zone offset, this may fail with an error, and reading the date by eye works just as well.
Step 2: Read the status array
RFC 9083 calls status "an array of strings indicating the state of a registered object." In plain words, it is the list of flags the registry has set on your domain.
RDAP writes these as lowercase words with spaces. Registrar panels and older WHOIS output often show the EPP names instead, which are joined up in camel case. RFC 8056 maps one to the other, so clientHold in EPP becomes client hold in RDAP.
Statuses that are normal
active (EPP ok) is, in ICANN's words, "the standard status for a domain, meaning it has no pending operations or prohibitions."
Lock statuses like client transfer prohibited are protective and normal. They stop unwanted changes, and the example.com output above shows several of them.
Statuses that mean act today
client hold (EPP clientHold) is the one that quietly takes sites offline. ICANN says it "tells your domain's registry to not activate your domain in the DNS," and adds that "often, this status indicates an issue with your domain that needs resolution." Contact your registrar.
redemption period (EPP redemptionPeriod) means, per ICANN, "your registrar has asked the registry to delete your domain," and "your domain will be held in this status for 30 days." Jump to the redemption section below.
pending delete (EPP pendingDelete), when it is not combined with another status, means the domain "has been in redemptionPeriod status for 30 days and you have not restored it within that 30-day period." After deletion, ICANN says the name becomes available "for re-registration in accordance with the registry's policies."
A status that needs a closer look
auto renew period (EPP autoRenewPeriod) shows up just after expiry. ICANN describes it as a grace period "provided after a domain name registration period expires," during which the registry has extended the registration automatically.
That automatic extension is between the registry and your registrar. It does not mean you have paid, so log in and check what your registrar says.
Step 3: Check auto-renew and the card behind it
A very common way domains lapse goes like this. Auto-renew was on, but the card on file had expired or the account had no balance.
I cannot give you menu paths here, because every registrar lays out its panel differently and changes it from time to time. Search your registrar's own help pages for "auto-renew" and follow their steps.
What to confirm in your registrar account
- Auto-renew is switched on for this specific domain, not only as an account default
- The payment card has an expiry date later than your domain's expiry date
- The renewal price shown is the one you expect
ICANN's policy says registrars must make their renewal, post-expiration renewal and redemption fees "clearly displayed on the registrar's website." Note all of them now while you are calm.
Quick tip: if you hold a .com, prices can shift between renewals. Our post on the .com wholesale price rise from 1 November explains what to check on your next invoice.
Step 4: Make sure renewal notices can reach you
ICANN requires registrars to send at least two reminders before expiry, "approximately one month prior to expiration" and "approximately one week prior." If the domain is not renewed or deleted, at least one more notice must go out within five days after expiration.
Those notices go to the registrant email on file. If that address is broken, every reminder vanishes.
Test the registrant email
Open your registrar's contact details and look at the registrant email address. Send a test message to it from another account and confirm it arrives.
Then search that inbox, including spam and junk folders, for your registrar's name. If past invoices or reminders landed in spam, mark them as not spam.
Avoid the circular email trap
Heads up: if your registrant email is on the same domain, say admin@example.com, the reminders stop arriving at exactly the moment DNS is cut. That is the moment you need them most.
ICANN's policy includes a suggested best practice that registrars ask for a secondary email "that is not associated with the domain name itself." Use a personal mailbox on a different domain for this contact.
Step 5: Put the expiry in your calendar, 60 days ahead
Create a calendar event 60 days before the expiry date from Step 1. Title it with the domain name and the word "renew".
Sixty days gives you a full month before the registrar's first required reminder. That is enough time to sort out a dead card, a lost login or a registrar that will not respond.
Add a second event on the expiry date itself. If you manage several domains, one shared calendar for all of them helps a lot.
Step 6: Know the recovery order before you need it
Here is the sequence for most generic domains, from the day of expiry onward. Exact lengths depend on your registrar and the registry, so treat this as the shape, not a stopwatch.
- Expiry day. Your registrar must let you renew from this point "through the DNS resolution interruption period."
- Auto-renew grace period, if your registrar offers one. ICANN describes it as "a 1-45-day period during which you may renew an expired domain name," and it may come with a fee.
- DNS interruption. For at least the last eight days you can still renew, the registrar must break DNS, which is why your site goes dark before the domain is actually gone.
- Deletion by the registrar, which starts the Redemption Grace Period.
- Redemption Grace Period of 30 days. All gTLD registries except sponsored ones must offer it, and the registry "must disable DNS resolution" during it. Restoring it means paying whatever redemption fee your registrar charges.
- Pending delete, after which the name can be registered by anyone under the registry's rules.
Heads up: ICANN's registrant page warns that during the auto-renew period, depending on your registrar's terms, "the domain name may be available to third parties for registration" or may be auctioned. Do not assume the grace period is a safe parking spot.
Also, these are ICANN rules for generic endings like .com or .org. Country endings set their own policies, so check your registry or registrar if you hold one.
What to do if the domain is already in redemptionPeriod
Contact your registrar right away. ICANN's instruction for this status is plain: "If you want to keep your domain, you must immediately contact your registrar" to resolve whatever issues led to the deletion request.
Under the policy, a deleted name may be restored "at the request of the RAE by the registrar that deleted it." So the registrar you were using is the only route, and you cannot move the domain elsewhere first, because transfers are prohibited during redemption.
Look up the redemption or restore fee on your registrar's website before you call, since they must display it. Have your account login and proof that you are the registrant ready.
I cannot promise you a result. Restoration depends on your registrar acting in time and on any issues behind the deletion being resolved. The sooner you start, the more of the 30 days you have to work with.
If you see pending delete alone, ICANN still says to "immediately contact your registrar to discuss what options are available." Ask, but expect that options may be limited.
Variants
Windows PowerShell
PowerShell has Invoke-RestMethod built in. Microsoft's documentation says it follows redirects by default (up to 5) and converts JSON responses into objects, so no jq is needed.
Run these lines in a PowerShell window, replacing example.com with your domain:
$r = Invoke-RestMethod -Uri 'https://rdap.org/domain/example.com'
$r.status
$r.events | Where-Object eventAction -EQ 'expiration'You should see the status words on separate lines, then an event with eventAction set to expiration and its eventDate. The short Where-Object form shown here needs Windows PowerShell 3.0 or newer, according to Microsoft.
Browser option
If you would rather not use a terminal at all, ICANN runs a lookup tool at lookup.icann.org, which it says lets you "look up the current registration data for domain names". Search your domain there and look for the expiry date and status in the results.
How to check it worked
Run through this list once you have finished:
- The RDAP query returns JSON with an
expirationevent whose date matches what your registrar account shows - The status list contains no
client hold,redemption periodorpending delete - Auto-renew is on for this domain, and the card's expiry is later than the domain's
- A test email to the registrant address arrived, and it lives on a different domain
- Two calendar events exist: one 60 days before expiry and one on the day itself
If every item checks out, you are in good shape until the next renewal.
Troubleshooting
The output is HTML or nothing useful
Symptom: you see a short HTML page or an empty result instead of JSON. Likely cause: curl was run without -L, so it stopped at the 302 redirect from rdap.org. Fix: add -L, or use -sL as in the commands above.
The query returns 404
Symptom: no JSON, and curl with -w "%{http_code}" shows 404. Likely cause: RFC 7480 uses 404 to mean the server has no result for your query, which can mean a typo or an unregistered name. It can also mean rdap.org knows no RDAP server for that ending, since it only covers servers registered with IANA. Fix: check the spelling, then check your country-code registry's own lookup.
For .uk names, our guide on UK WHOIS ending in February 2027 walks through the RDAP side.
You get 429 Too Many Requests
Symptom: the response code is 429. Likely cause: rdap.org says Cloudflare limits clients to "a maximum of 10 requests in 10 seconds." Fix: slow down, add a pause between domains in a loop, and honour any Retry-After header as RFC 7480 recommends.
The expiry date jumped a year, but the registrar says expired
Symptom: RDAP shows an expiry next year, yet your registrar panel says the domain has expired. Likely cause: the domain is in auto renew period, where the registry extended it automatically while your registrar waits for your payment. Fix: trust your registrar's status, and renew there.
jq is not found
Symptom: your shell says the jq command does not exist. Likely cause: it is not installed. Fix: install it with your system's package manager, or drop the | jq ... part and read the raw JSON for "eventAction":"expiration".
Registrar reminders never arrive
Symptom: the domain expired and you saw no warning. Likely cause: an old registrant email, a mailbox on the expired domain, or filtering into spam. Fix: follow Step 4 today and add a secondary address that does not use the domain.
Pro tips and when to get help
Check the nameservers part of the RDAP output while you are there. If those are not the nameservers you expect, run through our nameserver lock check drill.
Planning to move registrars? Do it well before expiry. Our guide on auth codes, transfer locks and the 60-day rule explains why timing matters.
Ask your registrar when you see client hold, redemption period or pending delete, or when the RDAP date and the panel date disagree and auto-renew does not explain it. Only they can change the registration.
Ask a developer when the domain looks fine in RDAP but the site still does not load. That usually points to DNS records or hosting, not expiry.
The one message worth forwarding
If something looks wrong, send this to your registrar's support, filling in the brackets:
Hello, I am the registrant of example.com. An RDAP lookup today shows the status [paste status list] and an expiration date of [paste date]. Please confirm the current status of this domain, whether auto-renew is active, and the exact fee to renew or restore it today. If any hold or deletion is pending, please tell me what you need from me to resolve it. My account email is [your email].Run the RDAP query today, put the date 60 days ahead in your calendar, and expiry stops being a surprise.
Reader questions
What does the last changed event in RDAP mean?
RFC 9083 defines it as an action noting when the information in the domain record was last changed. A recent date you did not expect is worth asking your registrar about.
Is RDAP free to use?
Yes. The rdap.org bootstrap service and registry RDAP servers answer public queries without an account or API key.
Can I check many domains at once?
Yes, loop over them with a short pause between queries so you stay under the rdap.org limit. For heavy use, rdap.org suggests a proper RDAP client that reads the IANA bootstrap files directly.
How do I find which RDAP server handles my domain ending?
IANA runs its own RDAP service with a record for each top-level domain at rdap.iana.org/domain/ followed by the ending, for example rdap.iana.org/domain/com.
Why did my email stop working when my domain expired?
Email addresses on your domain depend on the same DNS that registrars must interrupt after expiry. When DNS stops resolving, other mail servers can no longer find where to deliver messages for you.
How often should I run this check?
Run it when you set your calendar reminder and again right after each renewal. Seeing the new expiration date in RDAP confirms the registry actually received the renewal.
Was this guide helpful?
Help us make the next update better.
Sources & further reading
- ICANN Expired Registration Recovery Policy (21 Feb 2024)
- ICANN: About the Expired Registration Recovery Policy for registrants
- ICANN: EPP Status Codes, What Do They Mean
- RFC 9083: JSON Responses for RDAP
- RFC 8056: EPP and RDAP Status Mapping
- RFC 7480: HTTP Usage in RDAP
- ICANN: Registration Data Access Protocol
- About RDAP.org
- Microsoft Learn: Invoke-RestMethod
- jq manual
Originally published . About our editorial updates.



