File History is a backup feature built into Windows 11 that automatically saves copies of your personal files to an external drive or network location. If you delete a file by accident or overwrite it with changes you didn't want, you can go back to an earlier version. This guide follows Microsoft's official instructions.
What File History backs up
Microsoft says File History automatically backs up all your libraries, including the default Documents, Pictures, Videos and Music libraries and any custom libraries you've created. Microsoft's setup steps also mention the Desktop folder. If you have folders elsewhere, you can add them to a library so they're backed up too.
Once it's turned on, Microsoft says File History continuously monitors your files and makes regular backups, so you don't have to remember to copy them yourself.
Microsoft describes File History as a way to protect your personal files and folders. For backing up more than that, see our Windows 11 backup guide and our pick of the best free backup software.
What you need
An external drive or a network location. If you need a drive, our best external SSDs guide covers options.
Enough free space on that drive for copies of your files, plus earlier versions.
How to turn on File History
Connect your external drive or make sure your network location is set up.
Open Control Panel, and under System and Security, select Save backup copies of your files with File History.
Select Turn on.
If no drive is selected, choose Select drive, pick your external drive or network location in the Select a File History drive window, and select OK.
If prompted, choose whether to move existing backups to the new drive or start fresh.
If you want to back up to a NAS or another PC, our guide to mapping a network drive in Windows 11 can help you set up the location.
How to add more folders
Microsoft's method is to add the folder to a library:
In File Explorer, go to the folder you want to back up.
Right-click it and select Show more options > Include in library.
Choose an existing library or create a new one.
How to restore a file or folder
Open File Explorer and go to the folder that used to contain the file.
Right-click the folder and select Restore previous versions. If the folder was at the top level of a drive, such as C:\, right-click the drive instead.
The Previous Versions tab lists the available versions. Choose a version of the folder from before the file was deleted or changed; for example, if you deleted a file today, choose yesterday's version.
To check its contents first, expand Open and select Open in File History.
Select Restore. To avoid overwriting the current version, expand Restore and choose Restore to... to save it somewhere else.
Microsoft warns that restoring replaces the current version on your computer and that the replacement can't be undone, so use Restore to... if you're not sure.
For files in a library, Microsoft says to right-click the file or folder in the location where it's actually saved, rather than in the library view.
File History vs System Restore
They do different jobs. File History protects your personal files, while System Restore is a Windows recovery tool for rolling back system changes; our guide explains what it does and doesn't cover.
Our verdict
File History is a free, built-in way to keep automatic copies of your libraries and Desktop on an external drive or network location. Turn it on from Control Panel, add any extra folders to a library, and use Restore previous versions when you need a file back, choosing Restore to... if you don't want to overwrite the current copy. For a fuller backup, see our Windows 11 backup guide.