FOREX-Euro rockets to 3-year highs as bullish bets hit a record

* Euro extends gains after breaking through $1.22

* Dollar pinned at three-year low against basket of currencies

* Yen buoyed by BoJ comments on economic recovery

* Graphic: World FX rates in 2017 http://tmsnrt.rs/2egbfVh

LONDON, Jan 15 (Reuters) - The euro climbed to a three-year high to the dollar on Monday, nearing the $1.23 line as investors ramped up bets in the backdrop of growing economic optimism in the euro zone and expectations the central bank may tighten policy soon.

Euro bulls received a shot in the arm on Monday after data showed the trade surplus in the 19-country euro area rose to its highest level in eight months, indicating a stronger euro wasn't proving to be a headwind for companies just yet.

The currency's rise also coincided with a fresh leg down on the dollar, with the euro zone's improving economic outlook spurring more investors to rebalance their portfolios towards the region.

Speculators boosted net long positions in the euro to a record high in the week to Jan. 12, according to the latest futures data. Against a basket of currencies, the euro is at its highest since late 2014.

The dollar has weakened as markets grow increasingly confident that a global recovery would outpace U.S. growth and prompt other major central banks led by the ECB to unwind its easy policy quicker than market expectations.

JP Morgan strategists, for one, expect eurozone's economy to outpace that of the U.S. in 2018.

Measured against a basket of currencies, the dollar was down 0.5 percent on Monday, its lowest since early 2015.

"There will be a correction 1/8for the euro 3/8 at some point," said Kit Juckes, London-based global strategist at Societe Generale. "But as long as the data remains strong, the market is going to believe in the idea that there is more coming. That tapering is going to be brought forward."

Juckes said that the market was repricing the euro to account for the perceived change in the ECB's monetary stance and, with fair value of the euro estimated at between $1.25 and $1.30, the single currency had further room to rise.

The euro was up 0.7 percent at $1.2284 after hitting a high of almost $1.23, adding to gains made last week after the ECB said it could revisit its communication stance in early 2018. That heightened expectations policymakers were preparing to reduce the stimulus programme.

Hopes that a pro-European governing coalition is set to form in Germany have also boosted confidence in the continent.

"We remain bullish on the euro in coming months because we expect that the political risks in the euro zone will finally start abating on a more sustained basis after the March election in Italy," Credit Agricole said.

"In addition, we expect the ECB to continue to taper its asset purchases and, ultimately, stop expanding its balance sheet."

Still, with the euro at three-year highs, some analysts said that its strength would soon worry the ECB, encouraging it to talk down the currency.

The British pound continued to rack up highs not seen since the June 2016 vote to leave the European Union. The pound added to Friday's surge - triggered by a report that two EU member states wanted Britain to remain as close as possible to the EU after its exit - and traded as high as $1.3819.

Against the yen, the dollar slipped to its lowest since mid-September as comments from the head of the Bank of Japan highlighted Japan's economic recovery.

The dollar was down 0.4 percent at 110.585 yen.

(Editing by Saikat Chatterjee and David Goodman)