Hard drives are expected to last as long as 5 years when in continuous use but some hard drives have lasted as long as 10 years or more.
Although if your hard drive is 10 years old or older then I would recommend replacing it soon because it's gonna be sooner rather than later that your hard drive will fail and cause you to lose important data.