The benchmark BSE Sensex ended flat on Wednesday after hitting a record high earlier as caution set in ahead of gross domestic product (GDP) data later in the day, but still posted a 4.1 percent gain for May, its best monthly performance in a year.
The broader NSE Nifty fell 0.03 percent, but gained 3.4 percent for May.
According to market analysts, investors were cautious ahead of the release of India's quarterly estimates of GDP, eight core industries (ECI) and fiscal deficit data.
The wider 51-scrip NSE Nifty touched a new intra-day high of 9,649.60 points and the 30-scrip Sensitive Index (Sensex) of the BSE reached 31,255.28 points.
However, the NSE Nifty provisionally closed 3.30 points or 0.03 per cent down at 9,621.25 points.
The BSE Sensex, which opened at 31,222.51 points, provisionally closed at 31,145.80 points (at 3.30 p.m.) -- down 13.60 points or 0.04 per cent from its previous close of 31,159.40 points.
The BSE market breadth, however, was bullish -- with 1,384 advances and 1,284 declines.