How to remove a shortcut from OneDrive
Removing a shortcut on web, Windows, Mac, and mobile, the difference between removing and deleting, and how to tell a shortcut from a synced folder before you act.
On this page
- What we'll cover
- What a shortcut is and what it is not
- Telling a shortcut from a synced folder
- Removing a shortcut on each platform
- Remove, delete, and the operation that loses data
- When the option is missing or greyed out
- What happens when access changes
- Shortcuts on a managed device
- Putting it back
- Frequently asked questions
- Related reading
Removing a shortcut from OneDrive takes one click, and the reason people hesitate before making it is entirely reasonable: the folder looks like it holds real files, and nothing about it makes clear whether removing the shortcut takes those files with it.
It does not. A shortcut is a reference, and removing it removes the reference. This page covers how to do it on each platform, how to be certain you are looking at a shortcut rather than something else, and the one operation that genuinely does destroy data. For SharePoint library shortcuts specifically, including bulk removal and stopping them reappearing, see removing a SharePoint shortcut from OneDrive.
What we'll cover
What a shortcut is and what it is not
A OneDrive shortcut is a pointer to a folder that lives somewhere else: a SharePoint document library, a Teams channel's files, or a folder another person has shared with you. It appears in your OneDrive alongside your own folders, carries a small link badge on its icon, and opens to show the live contents of wherever it points.
Three consequences follow, and each explains something that otherwise looks strange.
The files are not yours and are not in your OneDrive. They remain in the source location, owned by whoever owns that location. Your shortcut is a doorway.
It does not consume your storage quota. Because nothing is stored on your side, a shortcut to a library holding two terabytes costs you nothing. This is the practical advantage over syncing.
Everyone sees the same live content. There is one copy. A change made through your shortcut is a change to the source, visible immediately to everyone else with access.
That last point is the one worth holding onto, because it explains the single genuine risk, which comes up later.
Telling a shortcut from a synced folder
Worth thirty seconds before you remove anything, because the two look similar and behave differently.
On the web, a shortcut shows a small link or chain symbol layered onto the folder icon. Right-clicking it offers Remove shortcut, which is the definitive signal: only shortcuts have that option.
In Windows File Explorer, both appear under your OneDrive tree. A shortcut carries the link badge; a synced library usually appears as a separate top-level entry under your organization's name rather than inside your personal OneDrive folder.
In macOS Finder, the same badge convention applies, and shortcuts sit inside your OneDrive folder while synced libraries appear as their own entries.
The reliable test on any platform is the right-click menu. If Remove shortcut is offered, it is a shortcut. If the option is Stop syncing or nothing of the kind appears, you are looking at something else and the instructions below do not apply.
Removing a shortcut on each platform
On the web. Sign in to OneDrive, find the shortcut in My files, right-click it, and choose Remove shortcut. It disappears immediately and the source library is untouched.
In Windows File Explorer. Right-click the shortcut folder and look for Remove shortcut under the OneDrive section of the context menu. Where the option does not appear, use the web interface, which is authoritative and always offers it.
In macOS Finder. Right-click and choose Remove shortcut from the OneDrive menu. As on Windows, falling back to the web is the reliable route if the menu is uncooperative.
On mobile. Open the OneDrive app, find the shortcut in your files, tap the three-dot menu beside it, and choose Remove shortcut. The option sits in the same menu as sharing and details.
The removal applies to your account only. Colleagues who added their own shortcuts to the same library keep theirs, and nothing about the source library changes.
Remove, delete, and the operation that loses data
This is the section worth reading properly, because the distinction is not obvious from the interface.
Removing the shortcut deletes the reference. The source library, its files, and everyone else's access are all unaffected. This is what you want in nearly every case.
Deleting the shortcut behaves the same way in current versions of OneDrive: the pointer goes and the target remains. Microsoft's naming has varied over time, which is why people are unsure, and using Remove shortcut where it is offered removes any doubt.
Deleting files from inside the shortcut is the operation that destroys data. Open the shortcut, select the documents within it, press delete, and you have deleted them from the source library for everyone. There is one copy, and you just removed it. This is not a quirk of shortcuts so much as the point of them, and it is worth saying plainly because the folder sitting in your personal OneDrive gives a strong impression of being your own private copy.
If files do go this way, they land in the recycle bin of the source library rather than your own, which is where you should look to restore them. SharePoint keeps a first-stage recycle bin for ninety days by default, with a second-stage bin behind it that a site administrator can reach.
When the option is missing or greyed out
Four causes account for nearly all of these.
It is a synced library, not a shortcut. The most common explanation. Synced libraries are removed through Stop syncing in the OneDrive settings rather than through any right-click option.
It is a folder you own. If you created it, it is a real folder in your OneDrive and there is no shortcut to remove. Deleting it deletes the folder.
The client is out of date or in a bad state. Restarting OneDrive, or signing out and back in, resolves a surprising proportion of missing menu entries. The web interface is the reliable fallback while you sort that out.
Policy restricts it. Some organizations configure shortcuts that users cannot remove, particularly where a library is meant to be present for everyone. In that case the option is genuinely absent and an administrator has to make the change.
What happens when access changes
Shortcuts and permissions are separate things, and the ways they interact account for most of the confusing behaviour people report.
Your access is revoked. The shortcut stays in your OneDrive and stops working. Opening it produces an error rather than a helpful message, which reads like a fault and is actually the system behaving correctly. Remove it, since it points at something you can no longer reach.
The source folder is moved. Shortcuts generally follow a move within the same library, because they reference the item rather than its path. Moving content between libraries or sites is more likely to break them.
The source folder is renamed. Your shortcut keeps the name it had when you added it. This is occasionally useful, since you can rename your own shortcut to something meaningful, and occasionally confusing when your name and the library's name have drifted apart.
The source is deleted, then restored. While it is in the recycle bin the shortcut is broken; restoring the source usually revives it. If someone permanently purges the source, the shortcut is permanently dead.
You leave the organization. Shortcuts live in your OneDrive and go when that account goes. The libraries they pointed at are unaffected, which is precisely the argument for keeping shared work in SharePoint libraries rather than in personal OneDrive folders.
You are given access to a parent folder. Adding a shortcut to a parent when you already hold one to a child gives you two routes to the same files, which is untidy but harmless. Remove whichever is less useful.
Shortcuts on a managed device
On a work device, several behaviours are set by your organization rather than by you, and recognizing that saves time spent fighting the interface.
Administrators can control whether shortcuts may be added at all, deploy shortcuts to particular libraries for everyone in a group, decide whether users may remove those deployed shortcuts, and restrict Files On-Demand behaviour, which changes how shortcut contents appear locally.
Two symptoms point at policy rather than at a fault. A shortcut that reappears after removal is being redeployed on a schedule. A Remove shortcut option that is present but greyed out has been explicitly disabled.
Neither is something to solve through the interface. The path is a conversation with whoever administers your tenant, and it is worth having, because the accumulated effect of deployed shortcuts is rarely visible to the person who configured them.
Putting it back
Nothing is lost by removing a shortcut, and adding it again takes a few seconds provided you still have access to the source.
Navigate to the library or folder in SharePoint, Teams, or your Shared view in OneDrive, and choose Add shortcut to My files. The shortcut reappears in your OneDrive with the same live contents.
If you cannot find the source afterwards, the Shared section of OneDrive lists everything shared with you, and Teams channel folders are reachable through the Files tab of the relevant channel. Losing the shortcut does not affect your permissions, so anything you could reach before is still reachable.
Frequently asked questions
Does removing a shortcut delete the shared files?
No. The shortcut is a reference, and removing it removes only that reference from your own OneDrive. The source library keeps every file, and other people's access is unchanged.
Do shortcuts use my storage quota?
No. Storage is counted against the location that actually holds the files, so a shortcut to a very large library costs you nothing. This is the main reason to prefer a shortcut over syncing a library locally.
Can other people tell I removed it?
No. Shortcuts are per-account, and adding or removing one is invisible to everybody else. The source library records nothing about it.
What happens if the source folder is deleted?
Your shortcut stops working and shows an error when opened. Remove it at that point, since there is nothing left for it to point at. If the source is restored from its recycle bin, an existing shortcut will generally resume working.
Can I remove several shortcuts at once?
In the web interface you can select multiple items and remove them together. For large numbers, particularly across many accounts, scripting through the Microsoft Graph API is the practical route, which the SharePoint shortcut guide covers.
Will removing a shortcut affect my Teams access?
No. Teams access comes from your membership of the team, and the shortcut is only a convenience for reaching those files from OneDrive. Everything in Teams continues to work exactly as before.
Why did a shortcut appear that I did not add?
Organizations can deploy shortcuts to particular libraries through policy, so that everyone has a given library present without each person adding it. Whether you can remove one of these depends on how it was configured.
Can I stop people adding shortcuts to a library I own?
Not directly through a per-library setting. What you control is access: people can only add shortcuts to content they can already reach. Where a library is being linked more widely than intended, the question to look at is who has permission to it, rather than the shortcuts themselves.
Does removing a shortcut free up space on my computer?
Only if Files On-Demand had downloaded some of its contents locally. The shortcut itself occupies nothing, and cached files it had pulled down are released when it goes. For reclaiming meaningful disk space, a synced library rather than a shortcut is almost always what is responsible, and the OneDrive settings panel will tell you which libraries are syncing and roughly what they occupy.