Sharing a file by email attachment creates copies everywhere, and you lose control the moment you press send. A OneDrive sharing link is better, but a link that never expires can still be forwarded, guessed about, or rediscovered years later in an old inbox. If the file holds prices, contracts, personal documents, or early drafts, that open-ended access is a real risk.
The answer is a link with an expiry date. When the date passes, the link simply stops working, even if someone saved it. This guide shows how to create an expiring OneDrive link, set a password for extra safety, choose who can use the link, and stop sharing early when a job is done.
Quick Answer
To share a OneDrive file with a link that expires, right-click the file, choose Share, open the link settings, and set an expiration date. Add a password if the file is sensitive, then copy the link and send it. After the date passes, nobody can open the file through that link.
Before You Start: What You Need to Know
Expiring links are a feature of paid Microsoft 365 accounts for the anyone-can-access link type. If you use a free personal OneDrive account, the set expiration option may be greyed out or missing. Work and school accounts usually allow it, and your organisation may set a maximum number of days in its policies.
Even without an expiry date, you still have control. You can stop sharing a file at any time from its sharing settings, which breaks every link to it. Expiry is simply the automatic version of that cleanup, so you do not have to remember to do it later.
It also helps to understand the three audiences you can pick for a link.
- Anyone with the link: No sign-in needed. Easiest for the receiver, riskiest for you, and the best candidate for an expiry date.
- People in your organisation: Only colleagues with accounts in the same organisation can open it.
- Specific people: Only the named people can open it, after signing in. This is the safest everyday option.
Step-by-Step: Create an Expiring Link on the Web
The OneDrive website gives you every sharing option in one place, so it is the most reliable method.
- Go to the OneDrive website and sign in with your account.
- Find the file or folder you want to share. Hover over it and tick the circle, or right-click it.
- Choose Share from the menu or the top bar.
- In the sharing box, click the settings gear or the audience line that says who can access the link.
- Choose who the link should work for: anyone, your organisation, or specific people.
- Click Set expiration date and pick a date from the calendar. Some accounts show a number of days instead.
- Optionally, click Set password and create a strong password. You will send this separately from the link.
- Choose whether people can edit or only view. For most outside sharing, view-only is safer.
- Click Apply, then Copy link, and send the link to your receiver through email or chat.
Tell the receiver the deadline in your message. A short note such as “this link works until Friday” avoids the confusion of a link that fails later with no explanation. Microsoft documents each option in Microsoft’s official guide to sharing OneDrive files and folders, including the differences between personal and work accounts.
Sharing from Windows, Mac, and Mobile
You can also start sharing without the website. In File Explorer or Finder, right-click a file inside your OneDrive folder and choose Share. On the OneDrive mobile app, tap the three dots next to a file and tap Share. Both open a similar panel where link settings, expiry, and password options appear on supported accounts. If you cannot see the expiry option in the app, finish the job on the website instead, where all settings are always available.
View or Edit: Pick the Right Permission
An expiry date controls how long a link lasts, but permissions control what people can do while it lasts. Getting this choice right matters as much as the date.
Choose view-only when the receiver just needs to read, download, or print the file. This is right for finished reports, invoices, photos, and certificates. Choose edit only when the person genuinely needs to change the content, such as a colleague finishing a shared draft. Remember that anyone with an edit link set to “anyone” can change or even delete content, so pair edit access with specific people whenever possible.
For folders, permissions apply to everything inside, including files added later. Share a folder with an expiry date for a short project, and the whole collection closes itself when the project ends. That trick alone prevents a lot of forgotten access.
Send the Password Separately
A password only helps if it travels by a different route than the link. If you paste the link and the password into the same email, anyone who gets that email has both. Instead, send the link by email and the password by a chat app, text message, or a quick phone call.
Use a password that is not used anywhere else, and do not include hints in the same message. For very sensitive files, combine all three protections at once: specific people, view-only access, a password, and a short expiry. Each layer covers a weakness in the others. Our guide to protecting shared files with passwords and permissions explains how these layers work together in more depth.
Change, Extend, or Cancel a Link Early
Plans change. A receiver may need two more days, or a project may end early and you may want access closed today.
- Select the file on the OneDrive website.
- Open the details pane or the Manage access option from the right-click menu.
- Find the link you created under the Links section.
- Edit the expiry date if your account allows it, or delete the link entirely.
- If you need access to continue, create a fresh link with a new date and send that instead.
Deleting a link takes effect quickly, and anyone holding the old address will see a message that the link no longer works. Note that expiry and deletion do not claw back copies a person already downloaded. Sharing controls access to your original file, not files that left your account, so think before you share highly sensitive material at all.
Common Mistakes and Useful Tips
- Using an anyone link for private files. Pick specific people for anything confidential, even with an expiry date.
- Forgetting to tell the receiver the deadline. A link that dies silently causes panic and extra messages.
- Sending the password in the same message as the link. Always use a separate channel.
- Setting an expiry that is too short. Allow time for different time zones, weekends, and approval delays.
- Never reviewing old shares. Open Manage access on important files once in a while and remove links you no longer need.
- Tip: Use short expiries by default, such as seven days. You can always create a new link in seconds.
- Tip: For folders, expiry covers future files too, which makes short projects tidy and self-closing.
Conclusion
An expiring OneDrive link gives you the convenience of link sharing without leaving access open forever. Choose the right audience, set a sensible date, add a password for sensitive files, and send that password separately. When work finishes early, cancel the link yourself in Manage access. These small habits turn casual sharing into controlled sharing, and they take less than a minute per file.
Frequently Asked Questions
Why can I not see the expiration date option?
Expiry dates for anyone links usually require a paid Microsoft 365 plan, and work accounts may limit the feature by policy. If the option is missing, share with specific people instead and remove access manually from Manage access later.
What happens when a OneDrive link expires?
The link stops working for everyone. People who click it see a message that it has expired or is unavailable. Your file itself is untouched, and you can create a new link whenever you need one.
Can I extend an expiring link?
On many accounts you can edit the date in Manage access before it expires. If editing is not available, delete the old link and create a new one with a later date, then send the new link to your receiver.
Does an expired link delete downloaded copies?
No. Expiry only blocks access through that link to the file in your OneDrive. If someone downloaded a copy while the link worked, that copy stays on their device, so share sensitive files with care.
Is a password better than an expiry date?
They do different jobs. A password stops strangers who find the link, while expiry limits how long anyone can use it. For sensitive files, use both together, plus specific people and view-only access.


Leave a Reply