Risk appetite was firm on hopes of growth recovery in Asia after minutes of Bank of Japan monetary policy hinted towards further easing.
Meanwhile, hopes of quick resolution to US 'fiscal-cliff' issue after President Barack Obama cut short his Christmas holidays, also supported risk-on sentiments.
The Bombay Stock Exchange's Sensex index rose 162.37 points to end at 19,417.46 while the National Stock Exchange's Nifty-50 index gained 49.85 points and ended at 5,905.60.
Asian markets also ended on a positive note after Japan's ex- Prime Minister Shinzo Abe, whose Liberal Democratic Party won a landslide victory in the December 16 election, was appointed as premier today.
The new government has promised economic policies to boost growth.
China's Shanghai Composite rose 0.25% to 2,219, Singapore's Straits Times rose 0.4% to 3,182 while Japan's Nikkei gained 1.5% to 10,230.
Financial markets in Hong Kong and Australia are closed on Wednesday for public holiday.
Most of the European markets including France, UK, Greece, Italy were also shut today for Christmas holidays.
Back home,.capital goods, power, pharmaceuticals, metal, banks indexes lead the gain while IT declined on BSE.
Among key Sensex stocks, Bharti Airtel gained 3%, Sterlite Industries rose 1% and Jindal Steel gained 2% in metal space. Among banks, SBI and ICICI rose nearly 2% while HDFC Bank ended up 1%. while among autos, Bajaj Auto gained 2% and Mahindra & Mahindra rose 1%.
On the other hand, Hindustan Unilever fell 1.4%, Tata Motors and Hero MotoCorp fell 0.4% and 1% while TCS, Infosys declined 0.1-0.3%
Rathore wins gold in shooting nationals
Retail participation growing in market, say NSE, BSE
Shinzo Abe elected Japan's new prime minister
Pallikal in second round of Hong Kong Open
For Nifty, time to exercise caution till 5950 is confirmed