Former US Open champion Dominic Thiem will retire at the end of the 2024 season after going through a turbulent few years due to a wrist injury, the 30-year-old Austrian said on Friday.