The BSE Sensex, which had retreated from record closing yesterday, recovered marginally by 6.58 points, or 0.03 per cent, to end at 24,556.09. Intra-day, it moved between 24,643.33 and 24,488.81.
Similarly, the 50-scrip National Stock Exchange index Nifty recovered 11.65 points, or 0.16 per cent, to end at 7,329.65 after touching day's high of 7,344.75. Intra-day, it hit a low of 7,302.60.
"In coming sessions, 7350 shall be crucial deciding level in near term, and index is likely to witness further buying above this level," said Rakesh Goyal, Senior Vice President, Bonanza Portfolio.
There is also a concern that the 10 per cent rally this month so far has made markets a tad expensive, they added.
More From This Section
Selling was more confined to recent outperformers like Infosys, Tata Consultancy, ICICI Bank, GAIL India, HDFC, State Bank of India, BHEL, Maruti and L&T.
In 30-share Sensex, 16 stocks gained, while 14 declined led by Coal India, Bajaj Auto, M&M and NTPC.
Sectors which gained in today's trade include capital goods, realty, IT, teck and banking.
Sectorally, the BSE IT sector index gained the most (1.52 per cent), followed by Teck index (1.42 per cent), Realty index (1.40 per cent), Banking index (0.56 per cent) and Capital Goods index (0.45 per cent).
On the other hand, BSE Small-cap index closed 1.63 per cent higher at 9,028.82 and BSE Mid-cap index by 0.40 per cent to 8,463.09 points.