I'm not sure and, I don't want to jinx myself, but my eMachines desktop has worked since I bought it new in 2011. Therefore, I think a desktop, at least, can last quite a number of years, assuming it's not externally damaged and well-taken care of regarding viruses, malware, and system cleaning.