How to Defragment Windows 11 for Better Performance
Defragmenting Windows 11 rearranges scrambled files on your storage drive so your computer can open them faster and run smoother. This process, also known as disk optimization, fixes file fragmentation.
File fragmentation happens when different parts of a single file spread out across your drive instead of sitting next to each other. When your PC needs to open that file, the read head must jump around to gather all the pieces, which wastes time and slows down your system.
Running a defrag brings those scattered pieces back together so traditional hard disk drives can load files much quicker. For solid-state drives, Windows 11 uses a different tool called TRIM to keep your drive healthy without traditional defragmentation.
Defragment Windows 11 by opening Settings, navigating to System Storage Advanced storage settings Drive optimization. Select your drive and click Optimize to reorganize fragmented files for better performance.
How to Defragment Your System Drive
You can defragment your Windows 11 system drive in the Settings app to help your computer run faster. This process organizes files on your drive so Windows can find them more quickly. To start, open Settings by pressing the Win and I, then go to System, and click on Storage.
- Open the Settings app by pressing Win+I or by clicking Start and selecting Settings.

- Click on System, then select Storage on the right side of the screen.

- Click on Advanced storage settings.

- Select Drive optimization from the menu.

- You will see a list of your drives and their current status.

If you want to set a specific time for this to run, make sure Schedule optimization is turned off by clicking Change settings.
How to Schedule Defragmentation
Windows 11 normally defragments your drives automatically, but you can schedule this task to run at a specific time using Task Scheduler. This is useful if you want more control over when your computer performs this maintenance. You'll need administrator rights to set this up. Open Task Scheduler by searching for it.
- Search for Task Scheduler in the search bar and open the app.

- In the menu on the left, go to Task Scheduler Library %%LNK0%% > Microsoft > Windows > Defrag.

- Double-click the defrag schedule or click Properties on the right side.

- Click the Triggers tab and click New to choose your preferred time and frequency.

- Click OK to save your settings. Finally, right-click the task and select Enable to turn it on.

Summary
Defragmenting your Windows 11 drive helps organize files, making your computer find them quicker and improving overall performance.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!