The benchmark Nikkei 225 index gained 0.51 percent, or 110.05 points, to close at 21,643.53, while the broader Topix Index was up 0.47 percent, or 7.31 points, at 1,578.63.