The Sensex ended up 0.72 per cent or 131 points at 18,460 while the Nifty was up 43 points or 0.78 per cent at 5,615.
The stock markets had a lacklustre opening on Wednesday following muted global cues and investor caution ahead of the crucial winter session of Parliament that begins tomorrow.
The BSE Sensex opened the day at 18,380 while the NSE Nifty opened at 5,583.
Realty (+2.47%), FMCG (+1.41%) and Consumer Durables (+1.40%) were the top gainers. Power (-0.99%), PSU (-0.19%) and Auto (-0.24%) were the top losers.
The top gainers on the Sensex were Sun Pharma (+2.54%), Jindal Steel (+2.29%) and Cipla (+3.24%).
The major losers were NTPC (-3.52%) and BHEL (-3.13%).
The volume toppers were SBI, Cipla, ICICI Bank, L&T and RIL.
The rally was led by realty, FMCG, consumer durables and bank stocks.
“Recently the Trinamool Congress has indicated its intent to bring no confidence motion in Parliament but has not yet found much support, but we expect it some disruption in early days possible on FDI in retail, Lokpal is possible,” said Rikesh Parikh of Motilal Oswal .
Volatility was low and the volatility index India Vix closed at 15.46 down two per cent.
Globally, Asian markets were up by about 1 per cent, while European markets were down by about 0.2 per cent. There were mixed cues in the American markets.