Sentiment was also lifted after the market's favoured candidate, Emmanuel Macron, won the first round of the French presidential election.
The broader NSE index closed up 1.08 percent at 9,217.95, while the benchmark BSE index ended 0.99 percent higher at 29,655.84. HDFC Bank closed 2.44 percent higher.
Both indexes posted their biggest daily percentage gains since March 14.