Shares from auto, realty and IT segments attracted good buying interest while from FMCG and refinery closed with losses on profit-booking, said traders.
The Bombay Stock Exchange 30-share barometer resumed better but immediately dipped to a low of 20,076.10 on mixed Asian cues and sustained selling by foreign funds.
Buying after mid-session, however, lifted the Sensex to settle at 20,261.03, a rise of 49.10 points or 0.24 per cent.
The gauge had edged up nearly three points yesterday.
More From This Section
Smart rise in TCS, Tata Motors, HDFC Bank, Tata Steel, M&M, Infosys, Coal India, Bajaj Auto, GAIL India, NTPC and Hindalco mainly supported the Sensex rise today. Fall in ITC and RIL capped gains.
Overall, 17 Sensex scrips gained, 12 fell and Cipla ended unchanged.
The broad-based 50-issue CNX Nifty of the NSE ended up 21.50 points, or 0.36 per cent, at 6,022.40.
"Markets opened on a flat note and showed weakness in first part of trading day. The latter part saw good recovery from lows," said Nidhi Saraswat, Senior Research Analyst, Bonanza Portfolio.
Asian stocks closed mixed today. Key indices from Japan and South Korea finished in the green while From Hong Kong, Singapore and Taiwan ended in the red. China market remain closed till February 7, 2014 for the Lunar New Year holiday.
European indices were trading in the green when Indian stock markets closed for the day.
Foreign Institutional Investors (FIIs) sold shares worth a net Rs 1,234.02 crore yesterday as per provisional data from the stock exchanges.