Are .bak Files Safe to Delete?
Short answer: yes, a .bak file is usually safe to delete — but only after you confirm the live file it backs up is intact. A .bak is a copy of an earlier version; deleting it just removes your ability to roll back to that point.
Short answer: Usually yes. A .bak file is an automatic backup copy an app made before saving; deleting it only removes that safety net, not your current file. Keep it until you are sure the current version opens and is correct — then it is safe to delete.
The verdict
Safe to delete once you have confirmed the current file is fine. A .bak (backup) file is a copy an application makes before it saves or overwrites the original — editors, CAD programs, databases and games all do this. Its only job is to let you restore the previous version if the new save goes wrong. When the live file opens and works, the .bak is spare, and you can reclaim the space.
Before you delete
A .bak is only a backup if the real file still exists. Occasionally a .bak is the only surviving copy of something — for example your app crashed mid-save. So first confirm the matching live file opens correctly, then delete the backup. Keep the most recent .bak as a safety net on anything important.
Find every .bak eating disk space
Before deleting blindly, list them sorted by size so you remove the big, old ones and leave fresh safety nets:
- Windows (PowerShell):
Get-ChildItem -Path C:\ -Recurse -Filter *.bak -ErrorAction SilentlyContinue | Sort-Object Length -Descending | Select-Object FullName,@{n='MB';e={[math]::Round($_.Length/1MB,1)}},LastWriteTime - Windows (cmd):
dir /s /b C:\*.bak - macOS / Linux:
find . -name '*.bak' -size +10M -printf '%s\t%p\n' | sort -rn
Anything older than its matching live file, and larger than a few MB, is the first to go. Skip any .bak sitting inside a program's install folder — those are often app resources, not your data.
How to restore from a .bak first (if unsure)
- Make a copy of the
.bakso you never lose the original while testing. - Rename the copy to the real extension — e.g.
report.docx.bak→report-restored.docx, ordrawing.bak→drawing.dwg. - Open it in the matching app. If it opens clean, you now have two good copies and can safely delete the
.bak. - If the live file was already fine, skip all this and just delete the backup.
A couple of exceptions
- SQL Server backups (
.bakdatabase dumps) are real restore points, not disposable scratch. Restore withRESTORE DATABASE [MyDb] FROM DISK = N'C:\backups\MyDb.bak' WITH RECOVERY;— only delete old.bakdumps once you have a newer verified backup. Never delete the one you may need to restore from. - Office 2003 keeps a system file
OPA11.bak; deleting it can break the install. Leave.bakfiles inside program folders alone.
How to delete them
- Confirm the matching document/project opens and looks correct.
- Delete the
.baknext to it, or search the folder for*.bakand remove the old ones. - To stop them coming back, turn off "create backup copy" in the app's save settings — though keeping it on is usually wise.
Is a .bak file a virus?
No. A .bak is inert saved data, not executable. Renaming it back to its original extension restores a working file, so it is only as risky as whatever it is a backup of.
FAQ
Are .bak files safe to delete?
Usually yes, but only after you confirm the live file it backs up opens correctly. A .bak is a copy of an earlier version; deleting it just removes your ability to roll back.
Is a .bak the only copy of my file?
Sometimes — if an app crashed mid-save, the .bak may be the newest surviving version. Always check the matching live file exists and works before deleting the backup.
Are SQL Server .bak files safe to delete?
Those are real database restore points, not scratch files. Only delete old .bak backups you already have a newer backup for, and never the one you may need to restore from.
Is a .bak file a virus?
No. A .bak is inert saved data, not runnable code. It is only as risky as the original file it is a backup of.
How do I find all .bak files on my computer?
On Windows run dir /s /b C:\*.bak in cmd, or a PowerShell Get-ChildItem -Recurse -Filter *.bak sorted by Length to see the biggest. On macOS/Linux use find . -name '*.bak' -size +10M. Delete the large, old ones and keep recent backups.
How do I restore a file from its .bak?
Copy the .bak, rename the copy to the original extension (report.docx.bak → report.docx), and open it in the matching app. If it opens correctly you have a good copy and can delete the backup.
Will deleting a .bak free up disk space immediately?
Yes — a .bak is a full copy of earlier data, so removing old ones can reclaim significant space, especially for large CAD, database or video-project backups. Empty the Recycle Bin/Trash to finalize it.
Other file types explained
- Recover an Unsaved File in VS Code After Closing or a Crash
- Is a .crdownload File Safe to Delete? (Unfinished Chrome Downloads)
- .swp vs .swo — What's the Difference? (Vim Swap Files)
- Recover an Unsaved nano File: What the .save File Is & How to Use It
- What Is a .!UT File?
- .asd vs .wbk — Word AutoRecover or Backup?
- .bak vs .old — Which Backup Should You Keep?
- .crdownload vs .opdownload — What's the Difference?