Mumbai, Dec. 23 -- The Indian stock market failed to build on the opening gains, ending flat on Tuesday amid profit booking at higher levels.

Sensex ended down 42.64 points or 0.05% at 85,524.84, while the Nifty was up 4.75 points or 0.02% at 26,177.15.

IT index ended as the top loser witnessing a fall of 0.80% while Nifty Media, and Metal clocked healthy gains at 0.80% and 0.54% respectively. Nifty Bank also slipped 0.01%.

Market activity remained cautious ahead of the weekly derivatives expiry, keeping volatility elevated through the session.

Siddhartha Khemka - Head of Research, Wealth Management, Motilal Oswal Financial Services Ltd said, "Broader markets were relatively resilient with the Nifty Midcap 100 ending flat, while the N...