You’ve likely heard before that you should never defragment your SSD.

This is only partially true.

In fact, Windows does sometimes defragment SSDson purpose.

Contrary to popular belief, SSDs do get fragmented, though not to an extent mechanical drives do.

For further reassurance and the full explanation, check out the link below.

The real and complete story: Does Windows defragment your SSD?| Scott Hanselman