How to Defragment Windows 11 for Better Performance
Defragmenting Windows 11 rearranges broken-up files on your traditional hard drive so your computer runs faster and opens programs without lag. File fragmentation happens when parts of a single file scatter across different sectors of your storage disk instead of sitting side by side, forcing the read head to jump around and waste time.
Running a regular disk optimization brings those scattered pieces back together to speed up file loading times. If you use a solid-state drive instead of a traditional hard drive, Windows 11 runs a background command called TRIM to keep your drive healthy without standard 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
To defragment Windows 11 on your system drive, open the Settings app by pressing the Win and I, go to System, click Storage, and select Drive optimization. This process reorganizes scattered files on your hard drive so your computer can read data faster and open apps without unnecessary delays.
- 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
To schedule defragmentation in Windows 11, open the Task Scheduler app from the Start menu and set up a new task to run drive optimization automatically at your preferred time. While Windows handles this in the background by default, creating a custom schedule gives you full control over when the maintenance runs.
- 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!