The NSE Nifty 50 closed 243.45 points, or 0.99% higher at 24,853 and the BSE Sensex ended 769 points, or 0.95% up at 81,721.
During the day, the Nifty 50 gained 1.22% to 24,909, while the Sensex gained 1.18% to 81,905.
Sectorally, strength was observed in Consumer Goods, IT, Consumption, Financial Services, and Banking stocks, while weakness persisted in Pharma and Healthcare sectors.
On a weekly basis, the Nifty 50 erased gains to end lower. The BSE Sensex also declined this week.