Sentiment also got a boost after rupee continued its upward journey against the American unit at the forex market.
Telecom stocks were in the limelight after the inter- ministerial panel Telecom Commission backed lowering of spectrum usage charge to 3 per cent of their annual revenue from next auction.
Shares of Reliance Communications jumped 1.65 per cent to Rs 49.20 and Bharti Airtel climbed 0.93 per cent to Rs 352.40.
"However, by the end of the trading session, participants shrugged of positive developments to book profits and take money off the table," said Shreyash Devalkar, Fund Manager - Equities, BNP Paribas Mutual Fund.
On the day, Sensex opened higher at 27,085.24 and moved between 27,105.41 and 26,973.71, before ending at 27,020.66, showing a moderate rise of 10.99 points or 0.04 per cent - its fresh highest closing since October 28.
The broader markets too traded in tune with the benchmark indices as the small-cap and mid-cap gained 0.89 and 0.52 per cent, respectively.
Barring IT, teck and healtchare, all the segments like power, capital goods, PSU, auto, realty, consumer durables, oil&gas, metal, FMCG and banking gained.
Meanwhile, foreign investors bought shares worth a net Rs 499.73 crore yesterday, provisional data showed.
Globally Asian markets ended mixed with Japan's Nikkei rising 0.93 per cent, while Hong Kong's Hang Seng shed 0.14 per cent. Shanghai Composite Index fell 0.30 per cent.
Meteorological Department (IMD) said in its latest update that in the week from 30 June to 6 July 2016, rainfall was above long period average (LPA) by 35 per cent, over the country as a whole," said Shreyash Devalkar, Fund Manager, Equities, BNP Paribas Mutual Fund.
The market breadth turned negative as 1,550 stocks finished lower, 1,160 stocks closed higher while 150 ruled steady.
The total turnover rose to Rs 3,131.31 crore, from Rs 2,878.18 crore yesterday.
