Also, Nifty settled at fresh high of 10,637.
But caution prevailed as crude prices surged to the highest level since 2015.
Opening higher, the 30-share Sensex quickly rallied to an all-time intra-day high of 34,488.03 as Coal India, ITC and Tata Motors posted smart gains.
Profit booking in some pharma, capital goods and telecom stocks at record levels, however, pulled the index to a low of 34,343.41 during the day trade.
More From This Section
The index has risen by 559.41 points in the previous three straight sessions.
The broader 50-share NSE Nifty also maintained its bull run and touched a new peak of 10,659.15 (intra-day). It settled higher by 13.40 points, or 0.13 per cent, at a new peak of 10,637.00, beating its previous record closing of 10,623.60, recorded in yesterday's trade.
It also broke the previous intra-day record of 10,631.20 hit in yesterday's session.