How long do embedded systems last?

I just wanted to know how long a typical home programmed PIC embedded systems last? 20 years ?50 or just a matter of months? any tips on making it last longer?
1 answer 1