How to Set an Expiration Date for a PDF in Adobe Acrobat
Question details
The user wants to configure a PDF document to stop opening after a specific deadline and is asking if Adobe Acrobat DC has a reliable built-in feature to enforce this without requiring external digital rights management tools.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Distributing time-sensitive documents that should no longer be accessible to recipients after a designated date.
- Observed behavior
- Looking for native document expiration settings within Acrobat, as the standard security options do not clearly display an expiration date feature.
Determine the required security level for your document. If strict enforcement is necessary, a basic script will not be enough, and you should consider a dedicated digital rights management service.
Use a Digital Rights Management (DRM) Service
The most reliable way to enforce document expiration is by using a third-party DRM platform, as standard PDF specifications do not natively support time-bombs.
Adobe Acrobat does not include a secure, built-in expiration timer. Because native PDF files operate offline, local restrictions can often be bypassed by changing the system clock or using an alternative PDF reader.
DRM services solve this by encrypting the PDF and forcing the document viewer to check a remote server for permissions before opening the file. Once the expiration date passes, the server denies access.
Choose a reputable PDF DRM or secure document sharing platform that supports access expiration.
Log into the DRM platform's portal and upload the PDF file you wish to restrict.
Navigate to the document security or access control settings within the platform and specify the exact expiration date and time.
Share the DRM-protected file or the secure viewing link with your recipients.

Add a JavaScript Date Check (Low Security)
For casual use cases where strict security is not required, you can embed a JavaScript snippet in Acrobat to close the document if a specific date has passed.
Secure and Manage Your PDFs with WPS Office
While the standard PDF format lacks built-in time expiration, WPS Office provides a free, lightweight, and powerful alternative for managing document security. You can easily apply robust password protection, restrict editing, and manage your PDFs efficiently without heavy subscription fees.
- 1. Open your PDF: Launch WPS Office and open the PDF document you want to secure.
- 2. Navigate to the Protect tab: Click on the 'Protect' tab located in the top ribbon menu.
- 3. Encrypt the document: Click 'Encrypt' to set a strong password for opening the document, or apply permissions to restrict copying and printing.
- 4. Save securely: Save your file. Your PDF is now encrypted and ready to be shared safely.

Frequently Asked Questions
Can I set a PDF to expire natively within Adobe Acrobat without any extra tools?
No, standard PDF specifications do not natively support strict expiration dates. You can add a JavaScript date-check, but this is a soft restriction that can easily be bypassed by users disabling JavaScript or changing their system clock.
Why does the JavaScript expiration method sometimes fail to close the document?
The JavaScript method relies entirely on the PDF viewer's ability to run scripts. Many third-party PDF readers, mobile viewers, and web browser extensions do not support document-level JavaScript, meaning the script will simply be ignored and the document will open normally.
What is PDF DRM and why is it recommended for document expiration?
DRM (Digital Rights Management) involves encrypting the PDF and verifying access rights via a remote server each time the file is opened. It is recommended for strict document expiration because it prevents users from circumventing security by modifying their local device settings or using unsupported readers.




