# What is the lifespan of flash memory?

**URL:** <https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185>\
**Category:** Factual Questions\
**Created:** [June 9, 2009, 4:10am UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185 "2009-06-09T04:10:57Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![CutterJohn](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@CutterJohn](https://boards.straightdope.com/u/CutterJohn)\
**Post date:** [June 9, 2009, 4:10am UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/1 "2009-06-09T04:10:57Z")

</div>

I’ve searched around for a while out of curiosity, but i can’t find any good numbers on how long flash memory can supposedly last. Figures for MTBF are anywhere between 500k and several million cycles, but if i just stuck a thumb drive in my drawer, how long would it last before the data was corrupted/unrecoverable? Years? Decades? More?

---

<div class="post-metadata">

**Author:** ![beowulff](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/beowulff/32/542_2.png) [@beowulff](https://boards.straightdope.com/u/beowulff)\
**Post date:** [June 9, 2009, 4:32am UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/2 "2009-06-09T04:32:14Z")

</div>

It depends on how many times you’ve cycled the memory - each write / erase cycle reduces the longevity of the data. Most memories are rated for something like 10 years of data retention even after 1,000,000 cycles.

---

<div class="post-metadata">

**Author:** ![CutterJohn](https://avatars.discourse-cdn.com/v4/letter/c/91b2a8/32.png) [@CutterJohn](https://boards.straightdope.com/u/CutterJohn)\
**Post date:** [June 9, 2009, 1:05pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/3 "2009-06-09T13:05:58Z")

</div>

I was just theorizing write once, and let it sit, i.e. archival use, so a very low amount of cycles.

10 years isn’t so hot.

---

<div class="post-metadata">

**Author:** ![HorseloverFat](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@HorseloverFat](https://boards.straightdope.com/u/HorseloverFat)\
**Post date:** [June 9, 2009, 2:45pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/4 "2009-06-09T14:45:04Z")

</div>

Ive seen cheap USB thumb drives fail from just sitting around too long. I would not consider flash media as we know it to be archival quality. Perhaps that will change when SSD comes around, but generally we can only speculate. Whatever you do make sure you have this data stored elsewhere on a different medium.

---

<div class="post-metadata">

**Author:** ![beowulff](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/beowulff/32/542_2.png) [@beowulff](https://boards.straightdope.com/u/beowulff)\
**Post date:** [June 9, 2009, 4:26pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/5 "2009-06-09T16:26:38Z")

</div>

Freescale says it’s better than 100 [years](http://www.freescale.com/files/microcontrollers/doc/eng_bulletin/EB618.pdf). (PDF)

---

<div class="post-metadata">

**Author:** ![TNWPsycho](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@TNWPsycho](https://boards.straightdope.com/u/TNWPsycho)\
**Post date:** [June 9, 2009, 4:38pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/6 "2009-06-09T16:38:46Z")

</div>

According to [wikipedia](http://en.wikipedia.org/wiki/Silicon) silicon has a half-life of 170 years. So that must be the absolute maximum. After 170 years it wouldnt be silicon, and not capable of storing memory. Jusr a WAG

---

<div class="post-metadata">

**Author:** ![sweeteviljesus](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@sweeteviljesus](https://boards.straightdope.com/u/sweeteviljesus)\
**Post date:** [June 9, 2009, 4:41pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/7 "2009-06-09T16:41:55Z")

</div>

> [@TNWPsycho](#):
>
> According to [wikipedia](http://en.wikipedia.org/wiki/Silicon) silicon has a half-life of 170 years. So that must be the absolute maximum. After 170 years it wouldnt be silicon, and not capable of storing memory. Jusr a WAG

The only silicon with a half-life is synthetic according to your site. Natural silicon isn’t radioactive.

---

<div class="post-metadata">

**Author:** ![beowulff](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/beowulff/32/542_2.png) [@beowulff](https://boards.straightdope.com/u/beowulff)\
**Post date:** [June 9, 2009, 4:43pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/8 "2009-06-09T16:43:38Z")

</div>

> [@TNWPsycho](#):
>
> According to [wikipedia](http://en.wikipedia.org/wiki/Silicon) silicon has a half-life of 170 years. So that must be the absolute maximum. After 170 years it wouldnt be silicon, and not capable of storing memory. Jusr a WAG

My sand!  
**What happened to all my sand!**  
It was right there!

---

<div class="post-metadata">

**Author:** ![Alex\_Dubinsky](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Alex\_Dubinsky](https://boards.straightdope.com/u/Alex_Dubinsky)\
**Post date:** [June 9, 2009, 4:46pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/9 "2009-06-09T16:46:37Z")

</div>

> [@beowulff](#):
>
> Freescale says it’s better than 100 [years](http://www.freescale.com/files/microcontrollers/doc/eng_bulletin/EB618.pdf). (PDF)

That’s very interesting. This isn’t a question that’s often addressed (or asked). Too bad they don’t go into details of the actual error rates, the ECC compensation of thumb drive controllers, the contribution of radiation and cosmic rays over such a long period of time, or the failure rates of the other components of a thumb drive. But, things are looking good.

---

<div class="post-metadata">

**Author:** ![misling](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@misling](https://boards.straightdope.com/u/misling)\
**Post date:** [June 9, 2009, 6:20pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/10 "2009-06-09T18:20:18Z")

</div>

I’ve been eyeing the netbook computers, and some of them have flash based hard drives ~16gb. Those hard drives might see a good bit of use, or at least some parts of them might. I’m wondering how long they’re expected to last, but haven’t found any good data on that either.

---

<div class="post-metadata">

**Author:** ![Tim\_R.Mortiss](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/tim_r.mortiss/32/142_2.png) [@Tim\_R.Mortiss](https://boards.straightdope.com/u/Tim_R.Mortiss)\
**Post date:** [June 9, 2009, 7:13pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/11 "2009-06-09T19:13:24Z")

</div>

I’m guessing most flash memory devices will be obsolete long before they are worn out…TRM

---

<div class="post-metadata">

**Author:** ![CJJ](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@CJJ](https://boards.straightdope.com/u/CJJ)\
**Post date:** [June 9, 2009, 8:36pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/12 "2009-06-09T20:36:50Z")

</div>

I work on embedded devices that use flash memory. We typically budget a total of 100,000 write cycles to a particular location before the flash there is degraded. To extend the life, most flash drivers cycle thru the physical addresses on the part as data is added to avoid writing to the same location over and over.

---

<div class="post-metadata">

**Author:** ![Sage\_Rat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sage_rat/32/399_2.png) [@Sage\_Rat](https://boards.straightdope.com/u/Sage_Rat)\
**Post date:** [June 10, 2009, 2:56am UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/13 "2009-06-10T02:56:30Z")

</div>

How long the physical device will last will depend on the quality of manufacture and how you treat it. If you stick it in a drawer, it’ll probably last a long time. If you set it on the dashboard of your car in 105 degree weather for months on end, probably it won’t last too long.

How long it will last in terms of rewrites, that’s again going to vary quite a bit. A lot of CF cards simply used FAT32 as their file system, I think, which meant that if a single sector died, that could have killed your whole drive depending on where it was. Modern flash drives probably use a file system built for flash that rotates through to spread reuse around, and shrinks the available memory space as sectors die. Modern flash drives might also have spare memory that gets swapped in transparently as sectors die.

For something acting as an internal hard drive, figure that the people making the device wouldn’t have installed it if it wouldn’t last long enough for most users purposes and the overall expected lifespan of the device itself. That will probably be anywhere from 5-10 years. For thumb drives, though, who knows. Unless you’re hearing about people’s thumb drives going dead left and right, I doubt you need to worry about it terribly, but ultimately you shouldn’t consider it as being any better a storage device than an old 5 1/2" floppy disk. Use it to move something from point A to point B, and then consider the contents on it to be trash.

---

<div class="post-metadata">

**Author:** ![Elvis\_Chimney](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@Elvis\_Chimney](https://boards.straightdope.com/u/Elvis_Chimney)\
**Post date:** [June 10, 2009, 3:29pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/14 "2009-06-10T15:29:09Z")

</div>

The term is [Wear Levelling](http://en.wikipedia.org/wiki/Wear_leveling), and most flash file systems will employ some form of this to ensure that all the areas of the flash card are being used evenly - so even if you repeatedly write to the same address, unknown to you the flash device is actually directing that data to the least-used sections of the card.

If you’re writing reasonably sized amounts of sequential data reasonably infrequently (e.g for archival or in a camera or MP3 player) then this should be all that’s needed to ensure that you get the maximum life from your device. If you take reasonable care of it (and buy from a known manufacturer with a decent reputation) then there’s no reason to expect that the data on it shouldn’t be safe for years.

Operating systems however are another kettle of fish entirely and write their data in a completely different way. Traditional flash file systems are poorly equipped to deal with this and this is why trying to create an SSD on the cheap by running an OS from a USB stick or CF/SD card is a surefire way to kill the device.

The SSD drives in netbooks and laptops will have file systems which are specifically designed for OSes to be run from them.

---

<div class="post-metadata">

**Author:** ![psychonaut](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/psychonaut/32/4655_2.png) [@psychonaut](https://boards.straightdope.com/u/psychonaut)\
**Post date:** [June 10, 2009, 3:37pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/15 "2009-06-10T15:37:43Z")

</div>

> [@Sage\_Rat](#):
>
> Unless you’re hearing about people’s thumb drives going dead left and right, I doubt you need to worry about it terribly, but ultimately you shouldn’t consider it as being any better a storage device than an old 5 1/2" floppy disk.

In what universe did they make 5 1/2" floppy disks?

---

<div class="post-metadata">

**Author:** ![Sage\_Rat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sage_rat/32/399_2.png) [@Sage\_Rat](https://boards.straightdope.com/u/Sage_Rat)\
**Post date:** [June 10, 2009, 3:39pm UTC](https://boards.straightdope.com/t/what-is-the-lifespan-of-flash-memory/499185/16 "2009-06-10T15:39:48Z")

</div>

> [@psychonaut](#):
>
> In what universe did they make 5 1/2" floppy disks?

Hm… Well close enough for government work.
