Hong Kong shares closed higher on Thursday, as gains in tech stocks during the later trading hours helped the benchmark reverse earlier losses.

The Hang Seng index rose 0.7 percent to end at 23,072.86, while the China Enterprises Index gained 0.7 percent to 8,068.93.

The Hang Seng Tech Index gained 1.4 percent, with Alibaba Group, Meituan and Tencent Holdings up 5.7 percent, 3.6 percent and 1.5 percent, respectively.