The Nifty provisionally closed 0.36 per cent higher at 7,795.75 after hitting an all-time high of 7,809.20, surpassing the previous record of 7,808.85 touched on July 8.
The benchmark BSE Sensex gained 0.47 percent to 26,147.33, not far away from its life high of 26,190.44, also hit on July 8.
Shares in Infosys Ltd gained 3.45 per cent, while Tata Consultancy Services added 1.9
Golden stock tips to beat a slow market
High growth stocks at reasonable prices
Why real estate will mirror stock market's bull run
Markets end at record closing highs
TCS market value crosses Rs 5 lakh cr; shares hit 52-week high