The 30-share BSE Sensex rose 45.20 points to 33,724.44 and the 50-share NSE Nifty gained 9.80 points at 10,399.50.
About 1,591 shares advanced against 1,136 declining shares on the BSE.
The Sensex closed up 26.53 points or 0.08% at 33588.08, while the Nifty was up 6.50 points at 10348.80. The market breadth was positive as 1442 shares advanced against a decline of 1255 shares, while 151 shares were unchanged.
BHEL, Infosys and Sun Pharma were the top gainers on both indices, while DRL, Bajaj Auto and Adani Ports were the top losers.