On average, the lifespan of a hard disk drive (HDD) is 5 to 7 years, depending on the quality of components used in its manufacturing. It's important to note that hard drives are mechanical components and they may eventually fail without warning.
Therefore, it's strongly recommended to regularly back up your important data to prevent any loss in case of hard drive failure.