UPDATE 2-New Zealand hikes rates by 50 bps, biggest in over 20 yrs, as inflation risks grow

* Raises cash rate 50 bps, biggest move in more than 20 years

* RBNZ says wants to avoid high inflation becoming entrenched

* RBNZ says global economic environment 'highly uncertain'

* Central bank keeps peak of cash rate at around 3.35% end of 2023 (Adds detail, context and economists' comments)

By Lucy Craymer

WELLINGTON, April 13 (Reuters) - New Zealand's central bank raised interest rates by a hefty 50 basis points on Wednesday, the biggest hike in over two decades, extending a global shift towards tighter policy as authorities seek to reduce second-round effects from runaway inflation.

The Reserve Bank of New Zealand (RBNZ) raised the official cash rate to 1.50%, a level not seen since June 2019, saying the larger move was intended to take the cash rate to a more neutral stance and prevent high inflation becoming entrenched.

All 21 economists in a Reuters poll had expected the RBNZ to hike the official cash rate, but only six had forecast a 50 basis-point move.

The rest had expected a 25 basis-point increase, while financial markets were fully priced for the larger hike - the biggest tightening since May 2000.

"A larger move now also provides more policy flexibility ahead in light of the highly uncertain global economic environment," the RBNZ said in a statement accompanying its decision.

The central bank, however, tempered its hawkish stance by keeping its previous projections for the cash rate to peak around 3.35% at the end of 2023. That held back the kiwi dollar from rallying sharply - it added 0.5% to $0.6885 but remained well short of its recent five-month high of $0.7034.

Two-year swap rates actually eased 17 basis points to 3.46% as the market trimmed back some of its future tightening expectations.

"The key point is that they have signalled that the OCR track remains about the same. This is only moderately hawkish, the currency can go up a little bit," said Imre Speizer, head of NZ markets strategy at Westpac.

The RBNZ has been one of the most aggressive central banks in rolling back stimulus as policymakers sought to get on top of a red-hot housing market and soaring inflation. The Ukraine war has further stoked price pressures, and the South Pacific island nation is only now facing the worst of the COVID pandemic, as Omicron cases sweep through the population amid a relaxation of rules.

'PATH OF LEAST REGRET'

New Zealand's central bank is facing opposing challenges. House prices are falling and business and consumer confidence is taking a hammering, while risks to growth have risen from the Ukraine war even though fourth quarter GDP https://www.reuters.com/business/new-zealand-returns-growth-q4-covid-restrictions-ease-2022-03-17 increased a robust 3.0%. At the same time inflation is high and the employment rate is low.