The S&P/NZX 50 Index closed at 12,943.57, gaining 59.19 points or 0.46%.