Benchmark Nifty snapped its two-day losing streak to end above the key 11,000-level on Friday, led by buying in pharma, IT, realty, energy and finance sectors.
Investors looked beyond the no-confidence motion against the government in the Lok Sabha and accumulated fresh positions, brokers said.
Media, auto and metal segments witnessed profit-booking.
Overseas, most Asian shares ended higher, propelled by banking, life insurance and financials sectors. European stocks bounced back from early declines.
Back home, the NSE Nifty finished at 11,010.20, showing a gain of 53.10 points, or 0.48 per cent, after shuttling between 11,030.25 and 10,946.20.
It saw an intra-day movement of about 84.05 points.
Sector-wise, Pharma rose by 1.66 per cent, followed by IT 1.46 per cent, Realty 1.26 per cent, Energy 0.77 per cent, Finance Service 0.55 per cent, PSU Bank 0.44 per cent, Private Bank 0.35 per cent, Bank 0.31 per cent and FMCG 0.23 per cent.
However, Media lost 0.46 per cent, Auto 0.43 per cent and Metal 0.40 per cent.
Major index gainers were Bajaj Finance, Sun Pharma, Tech Mahindra and Cipla.
Losers included Bajaj Auto, HPCL, IOC, Vedanta and BPCL.
A total of 975 scrips declined, 811 advanced while 86 remained unchanged.
Total securities that hit their price bands were 253.
Turnover in the cash segment rose to Rs 29,179.54 crore from Rs 27,888.39 crore on Thursday.
A total of 12,605.40 lakh shares changed hands in 10,247,600 trades. The market capitalisation of listed firms on the NSE stood at Rs 1,45,02,276 crore.