While IT, pharma and auto stocks showed weakness.
Overseas, European stocks rose as investors continued to monitor the latest corporate earnings reports and kept a close eye on Spain's constitutional crisis.
Most Asian stocks shrugged off overnight declines in the US stocks, where a gauge of equity volatility climbed as market participants assessed the recent rally in global stocks before a slew of earnings reports.
The Nifty opened higher at 10,218.55 and moved in a range of 10,237.75 and 10,182.40 before ending at 10,207.70, showing a rise of 22.85 points, or 0.22 per cent, from its last close.
More From This Section
On the sectoral front, PSU banks rose by 3.79 per cent, media 3.61 per cent, infra 0.89 per cent, realty 0.57 per cent, finance service 0.49 per cent, energy 0.42 per cent, metal 0.39 per cent and FMCG 0.33 per cent.
However, IT, pharma and auto fell by 1.03 per cent, 0.55 per cent and 0.27 per cent, respectively.
The Nifty Midcap and the Small Cap index outperformed the broader indices today with gains of 0.34 per cent and 1.18 per cent, respectively.
Major index gainers were Zeel, AsianPaint, SBIN, UPL, and NTPC.
The market breadth, indicating the overall health of the market, was in favour of gainers. On the NSE, 969 stocks advanced 762 declined and 71 stocks remained unchanged.
Total securities that hit their price bands were 153.
Turnover in the cash segment rose to Rs 29,463.64 crore from Rs 29,180.67 crore yesterday.
A total of 14,609.28 lakh shares changed hands in 10,757,815 trades. The market capitalisation of listed firms on NSE stood at Rs 1,38,32,234 crore.