UPDATE 2-Trump threatens to cut GM subsidies in retaliation for U.S. job cuts

(Adds GM push for tax credit, updates stock price)

WASHINGTON, Nov 27 (Reuters) - U.S. President Donald Trump threatened on Tuesday to cut subsidies for General Motors Co after the largest U.S. automaker said it would halt production at five plants in North America and cut nearly 15,000 jobs.

"The U.S. saved General Motors, and this is the THANKS we get! We are now looking at cutting all zGM subsidies, including ... for electric cars," Trump said on Twitter.

Trump has made boosting auto jobs a key priority during his almost two years in office and has often attacked automakers on Twitter for not doing enough to boost U.S. employment.

GM electric vehicles are eligible for a $7,500 tax credit under federal law, but it is not clear how the administration could restrict those credits or if Trump had other subsidies in mind. GM shares extended earlier declines and were down 3.6 percent after Trump's tweets.

GM declined to immediately comment.

GM Chief Executive Mary Barra spoke to Trump over the weekend to discuss the cuts and was at the White House on Monday to meet with economic adviser Larry Kudlow.

Trump also criticized GM for not closing facilities in Mexico or China.

"General Motors made a big China bet years ago when they built plants there (and in Mexico) - dont think that bet is going to pay off. I am here to protect Americas Workers!" Trump wrote on Twitter.

GM currently builds just one vehicle in China that it exports to the United States - the Buick Envision and has sold about 22,000 through September. GM sold nearly 2.7 million vehicles in China through September, nearly all of them built in China for the market.

White House spokesman Sarah Sanders told reporters on Tuesday that the president is looking at options.

"The president wants to see American companies build cars here in America not build them overseas and he is hopeful that GM will continue to do that here," she said.

GM has been lobbying Congress, along with Tesla Inc , to lift the current cap on electric vehicles eligible for tax credits, but any action by Congress before 2019 is a long-shot, congressional aides said.

Under current law, once a manufacturer sells 200,000 electric vehicles, the tax credit phases out over time starting in the following quarter. GM has said it expects to hit the 200,000-vehicle threshold by the end of the year.

GM announced Monday it will halt production at one Canadian plant and four U.S. factories, including the Detroit-Hamtramck Assembly plant that builds the plug-in hybrid electric Chevrolet Volt. GM is ending production of six vehicles, including the Volt, as it cuts more than 6,500 factory jobs.

GM will continue to build the electric Chevrolet Bolt in Michigan.

Trump told GM on Monday it "better" find a new product for Lordstown Assembly plant in Ohio that will halt production in March. GM has said sagging demand for small cars largely prompted the cuts, but also cited factors including higher costs from U.S. tariffs on steel and aluminum.

GM said it also plans to close two unnamed plants outside North America by the end of 2019.

(Reporting by David Shepardson; Additional reporting by Roberta Rampton; Editing by Chizu Nomiyama and Lisa Shumaker)