Besides, a firming trend in other Asian markets also influenced the trading sentiment in Mumbai. (Agencies)
The 30-share index, which had retreated from record closing by losing 167.37 points in the previous session, recovered by 91.69 points, or 0.37 percent, to 24,641.20.
Also, the National Stock Exchange index Nifty rose 23.45 points, or 0.32 percent, to 7,341.45.
Brokers said fresh buying by funds and investors after yesterday's profit-booking and a firming trend on Asian bourses, in line with overnight gains in US markets, helped trading sentiments to improve.
Among other Asian markets, Hong Kong's Hang Seng was up 0.63 percent while Japan's Nikkei rose 0.16 percent in the morning on Wednesday.
US Dow Jones Industrial Average closed on a record-high by rising 0.42 percent in Tuesday's trade on encouraging economic data.
Besides, a firming trend in other Asian markets also influenced the trading sentiment in Mumbai.