logo
search
OneDrive File Issues

How to Fix OneDrive Files Locked on Mac and Cannot Be Edited

Huma Ashraf ChHuma Ashraf Ch Oct 23, 2026 868 views

Question details

The user needs to unlock and edit OneDrive files and folders that appear with a lock icon in macOS Finder.

How to Fix OneDrive Files Locked on Mac
Product
Microsoft OneDrive
Device & OS
macOS
Scenario
Accessing and editing OneDrive for Business files locally via Mac Finder after a macOS or app update.
Observed behavior
Files and folders display a lock icon in Finder and cannot be altered or renamed locally, despite being fully editable through the OneDrive website.
Before you start

Ensure your Mac has a stable internet connection and verify that your latest edits are fully synced to the OneDrive website to prevent data loss before modifying your account connection settings.

Solution 1Recommended

Unlink and Relink Your Mac in OneDrive Preferences

Resetting the connection between your Mac and OneDrive is the most effective way to clear local lock errors.

Unlinking your Mac will stop the current synchronization and remove locally cached files. Once you relink the account, OneDrive will rebuild the sync database, effectively removing the incorrect lock status on your files.

1
Open OneDrive Preferences

Click the OneDrive cloud icon in your Mac menu bar. Select the Help & Settings gear icon, and then click Preferences.

2
Unlink this Mac

Navigate to the Account tab within the preferences window and click the 'Unlink this Mac' button.

3
Relink your account

Sign back into your OneDrive account when prompted and follow the setup instructions to relink your Mac. Note that locally stored files will need to be downloaded again.

Unlink and Relink Your Mac in OneDrive Preferences
Sync Restored: Once the resync is complete, the lock icons should disappear, allowing you to edit files normally in Finder.
Free Microsoft Office alternative

Edit Your Cloud Documents Easily with WPS Office for Mac

While troubleshooting OneDrive syncing issues on your Mac, consider trying WPS Office. It's a lightweight, free alternative that perfectly handles Microsoft Office formats and integrates seamlessly with local and cloud storage.

  1. 1. Download WPS Office: Download and install WPS Office for Mac directly from the official website.
  2. 2. Open your files: Launch WPS Office and click 'Open' to access documents stored in your local folders or synced cloud drives.
  3. 3. Edit and save: Enjoy editing with full format compatibility and save your progress effortlessly.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight application that runs smoothly on macOS Ventura and other recent versions.Easily open, edit, and save documents directly to your local drive or preferred cloud storage folders.Free to use with a familiar, tabbed user interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why do my OneDrive files have a lock icon on my Mac?

This usually happens after a macOS or OneDrive update where local file permissions become corrupted, or the sync state mismatches, causing Finder to restrict local editing to protect the files from conflicting changes.

Will unlinking my Mac delete my OneDrive files?

Unlinking your Mac will not delete your files from the OneDrive cloud servers. However, files that were only stored locally in the OneDrive cache may be removed from the Mac and will need to be re-downloaded once you relink your account.

How do I unlock multiple files at once on macOS?

You can unlock an entire folder by right-clicking it, selecting 'Get Info', unchecking 'Locked', setting your account privileges to 'Read & Write', and choosing 'Apply to enclosed items' from the gear menu to apply changes to all files inside.

Can I still edit my locked OneDrive files online?

Yes, the lock icon in Finder only affects local editing on your Mac. You can still access and edit all your files normally by logging into the OneDrive website through your browser.