If you’re seeing a profile error on Microsoft Edge—often a message like “Your profile is in use” or “Something went wrong with your profile”—the fix usually involves restarting Edge, deleting a lock file, or resetting the profile’s sync settings. Below are the most effective solutions, ordered from quickest to most thorough, with exact steps for current versions of Edge on Windows and macOS.
What Causes the Profile Error
Edge stores each user profile in a dedicated folder under your local app data directory. The error typically appears when one of these things happens:
- A previous Edge process didn’t close properly, leaving a lock file (called
Lockfileorlockfile) that makes Edge think the profile is still in use. - Sync conflicts between devices or after a failed update, leaving profile data in an inconsistent state.
- Corrupted cache or cookies within the profile folder, often after a crash or forced shutdown.
- Third-party antivirus or backup software holding a temporary lock on the profile files.
Most profile errors are temporary and don’t mean your bookmarks or passwords are lost. The profile folder itself is usually intact; the problem is that Edge can’t access it cleanly.
Fix 1: Force-Quit Edge and Relaunch
This resolves the majority of cases where the error says “profile is in use.”
- Press Ctrl+Shift+Esc (Windows) or Cmd+Option+Esc (macOS) to open Task Manager or Force Quit.
- Look for any Microsoft Edge processes (there may be several, including background ones). Select each and click End task (Windows) or Force Quit (macOS).
- Wait 5 seconds, then reopen Edge. It should load your profile normally.
If Edge still shows the error, move to the next fix.
Fix 2: Delete the Profile Lock File
If Edge crashed or was killed abruptly, a lock file remains and blocks access. Deleting it is safe—it’s only a marker, not your data.
- Close Edge completely (use the steps above).
- Open File Explorer and navigate to:
%LOCALAPPDATA%\Microsoft\Edge\User Data(Windows) or~/Library/Application Support/Microsoft Edge(macOS). - Find the folder named
Default(or the name of your profile, e.g.,Profile 1). - Inside that folder, locate a file named
Lockfile(no extension). Delete it. If you don’t see it, enable “Show hidden files” in Windows or press Shift+Cmd+. on macOS. - Relaunch Edge. It will create a new lock file automatically.
If you can’t delete the file because it’s “in use,” you didn’t close all Edge processes—repeat Fix 1.
Fix 3: Reset Edge Sync (Without Losing Data)
If the error persists after removing the lock file, the profile’s sync state may be corrupted. Resetting sync forces Edge to re-fetch your data from Microsoft servers, which often clears the error.
- Open Edge, go to Settings (three dots > Settings).
- Click Profiles on the left, then select your profile.
- Click Sync.
- Click Reset sync (you may need to sign in again).
- Confirm and wait for Edge to re-sync. Your bookmarks, passwords, and history should return from the cloud.
This does not delete local data—it only clears the sync state. If you were never signed in, skip this and try Fix 4.
Fix 4: Repair or Reinstall Edge
If the profile error happens on every launch, the Edge installation itself may be damaged. Windows offers a repair option that keeps your profile intact.
- Open Settings > Apps > Installed apps (Windows 11) or Apps & features (Windows 10).
- Find Microsoft Edge, click the three dots, and choose Modify.
- Select Repair (not “Reset”—repair keeps your data).
- Follow the prompts and restart your PC.
On macOS, the equivalent is to reinstall Edge from the official download page—your profile folder remains in ~/Library/Application Support, so your data is preserved.
Fix 5: Create a New Profile and Migrate
If none of the above works, the profile folder itself may be corrupted beyond repair. Creating a new profile is the last resort, but it doesn’t mean losing everything.
- Open Edge, click the profile icon (top right), then Add profile.
- Sign in with the same Microsoft account—your synced data (bookmarks, passwords, history) will populate automatically.
- If you weren’t syncing, copy your bookmarks manually: go to
edge://bookmarks, export to HTML, then import into the new profile. - Once the new profile works, you can delete the old one from
edge://settings/profiles.
Frequently Asked Questions
Will deleting the Lockfile remove my bookmarks or passwords?
No. The Lockfile is just a marker that says “this profile is open.” Your bookmarks, passwords, and history are in files like Bookmarks and Login Data inside the same folder. Deleting the lock file only lets Edge start fresh.
Why does the error say “Your profile is in use” when I’m not using Edge?
Background processes often keep Edge running even after you close the window. These can be extensions, the update service, or startup boost. Check Task Manager for any Edge processes and end them all before trying to open the profile.
Does resetting sync delete my saved passwords?
No. Resetting sync clears the local sync state and re-downloads your data from Microsoft’s servers. Your passwords, if saved to your Microsoft account, will return. If you had “passwords” saved only locally (not synced), they stay in the profile folder but may not appear until you restart Edge.
Can I fix the profile error without losing my open tabs?
Yes, in most cases. The fixes above don’t close your tabs unless you force-quit Edge. However, if you choose to reset sync or create a new profile, open tabs from the old profile won’t carry over unless you had “continue where you left off” enabled and synced.
Is this error a sign of a virus or malware?
Not typically. The profile error is almost always a file-locking or sync issue. However, if you see unusual pop-ups or redirects alongside the error, run a full antivirus scan—malware can sometimes corrupt browser profiles.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Choose a Partition Scheme for Linux
- Error 0x80070005: Fix Access Denied in Windows
- Backspace Not Working in Windows 10? Fix It
- Fix Windows Server Error 0x80070422
- Limit AI Features & Data Sharing in Apps
- Python Inheritance and Composition: A How-To Guide