Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have heard that defragmenting SSD drives will shorten the life span of a drive. Just wondering if there is any truth to this and if so could someone elaborate as to why this happens.

share|improve this question
Defragmenting it one time is bad idea, defragmenting it second time is stupid idea, but after third thousand everybody will think you are an explorer! – iskra Oct 25 '12 at 20:56
Yes, it a bad idea. There's no need to defragment an SDD as it doesn't have slow-down issues when data is fragmented (unlike traditional harddrives). You'll only be wearing your SSD out for no good reason. – Django Reinhardt Oct 26 '12 at 12:37
Thanks for all of the responses! – Stephen Oct 26 '12 at 15:37
up vote 23 down vote accepted

Your best bet is to not "defragment" SSD storage.

The life span of the drive is a function of how the controller decides to write data and how much of the capacity is held in reserve to hide small errors over time. An SSD in general will wear out due to write exhaustion before a hard drive will as the magnetic media can withstand several orders of magnitude more writes than SSD memory cells. So the life span is basically set, and defragmentation means more writes than are needed and may in practice increase the chance your storage will degrade before something else causes you to stop using it, Granted, most people are not going to wear out their SSD - especially when you consider the warranties for OEM parts are often longer than one year / three years in the case of AppleCare - but reducing things that can cause thousands (or millions) of unnecessary erase and re-write operations is prudent advice.

But it gets worse for defragmentation than simply adding wear to the memory.

Since an SSD has no moving parts, retrieving a block of data has no penalty due to one block being stored on one chip versus another. The distance electrically to all the data is basically a constant. This is not true for a traditional magnetic drive with spinning platters and a movable read head.

On a spinning drive, the distance between two blocks is affected by head armature movement, rotational timing and cache status. Retrieval time is not at all constant, so "fragmentation" has a performance impact on traditional hard drives due to the mechanical nature of the storage.

Furthermore, SSD controllers selectively manage storage so defragmentation is not only unlikely to speed things up, might actually act counter to the normal storage prediction algorithms, and slow down access since the controller decides where to store data using the extra overhead. Since the device cannot erase just a block of storage, when you "delete" something on SSD, it often is just marked free and will not get actually erased until all of the data next to it is marked as free or the drive runs low on space and triggers a clean up on it's own.

Letting the SSD manage it's fragmentation works better than trying to have the OS micromanage storage that doesn't match traditional hard drive storage mechanics.

share|improve this answer
I wonder whether rebuilding the directory structure with DiskWarrior is a bad idea, either. Any Ideas? – myhd Oct 30 '12 at 18:21
Not a problem in the context of write exhaustion of SSD since directory blocks are small and you are addressing an internal database and not shuffling things around in a large way. Also, the size of the directory/catalog/metadata is negligible compared to the data itself. SSD doesn't make DW use worse or better than HDD. – bmike Oct 31 '12 at 22:14

I think it's fine as without it your space will be filled up fast

share|improve this answer
How does defragmenting affect 'space'? This is a nonsense answer, with no citation or justification. – Tetsujin Feb 29 at 8:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.