Improving monthly sales numbers from automakers and a firming trend in global markets fuelled the rally.
The Sensex settled at yet another new high of 32,575.17 by surging 60.23 points, or 0.19 per cent. It surpassed its previous record of 32,514.94 reached yesterday.
The gauge had risen 205.06 points in the previous session.
The NSE Nifty closed at 10,114.65 -- a new peak -- up 37.55 points, or 0.37 per cent. It broke previous record closing of 10,077.10 hit yesterday.
More From This Section
What kept the gains in check was findings of a private survey which showed that manufacturing sector contracted in July following the GST launch as new orders and output dropped for the first time since the downturn in December last year post demonetisation.
The Nikkei India Manufacturing Purchasing Managers' Index (PMI) stood at 47.9 in July, down from 50.9 in June, its lowest mark since February 2009.
"Market started range-bound due to weak manufacturing data and caution ahead of the RBI monetary policy tomorrow. Meanwhile, a good set of monthly sales numbers for auto and Q1 results for blue-chips drove the broad indices into top gear," said Vinod Nair, Head of Research, Geojit Financial Services.
Hero MotoCorp, M&M, Bajaj Auto and Tata Motors cruised.
Other big movers of the day are Wipro, Hindustan Unilever, Adani Ports, Dr Reddy's and Coal India, gaining by up to 1.82 per cent.
On the other hand, rate-sensitive banking shares succumbed to profit-booking ahead of RBI's policy decision tomorrow and fell by up to 2.90 per cent.
The BSE auto index rose the most by 1.57 per cent, followed by metal, oil and gas and healthcare.
Foreign portfolio investors (FPIs) net sold shares worth Rs 1,196.94 crore while DIIs bought shares worth Rs 1,768.43 crore yesterday, showed provisional data.
Asian shares closed higher. Europe too showed a positive trend.