Generally speaking, all Vouchers and Gift Cards for the various Hack The Box platforms have a valid period of 12 months.
After 12 months, starting at the time of purchase, they will expire and no longer be usable. This applies to Vouchers for the HTB Labs platform, as well as Exam Vouchers on the HTB Academy platform.