It also helped that Asian and European markets rallied on expectations of a stimulus from Bank of Japan.
Covering-up of short positions ahead of tomorrow's July month expiry in derivatives segment, too gave equities a push.
Country's largest mortgage player HDFC Ltd jumped 1.48 per cent to Rs 1,387.80 after it reported a 26.86 per cent rise in consolidated net profit to Rs 2,796.92 crore helped by receipts from stake sale in general insurance arm.
Making headway on the long-pending GST bill, the Centre and states have agreed on the principle that the tax rate will be lower than the current levels.
"With state finance ministers meet on GST improving the potential for a consensus, Indian stocks recouped yesterday's losses. However, earnings so far having failed to enthuse markets," said Anand James, Chief Market Strategist, Geojit BNP Paribas Financial Services.
Meanwhile, the Fed is due to conclude a two-day meeting later in the day and the BoJ will meet on Friday.
The NSE Nifty ended at 8,615.80, a gain of 25.15 points or 0.29 per cent after shuttling between 8,665 and 8,572.05.
Global markets edged up after media reports suggested that Japanese Prime Minister Shinzo Abe plans to unveil a stimulus plan worth over 28 trillion yen, days before the central bank is expected to unveil its own growth-boosting measures.
From Asia, Japan's Nikkei ended 1.72 per cent higher, while indices like Hong Kong, Singapore and Taiwan moved up by up to 0.43 per cent. However, China and South Korea based shares fell 0.11 per cent to 1.91 per cent.
17 lower.
Most metal and mining stocks declined on tepid economic data from China.
The market breadth remained negative as 1,604 stocks ended lower, 1,061 closed higher while 261 ruled steady.
The total turnover on BSE amounted to Rs 3,264.55 crore, lower than Rs 3,597.50 crore registered during the previous trading session.
