Donald Trump and Shinzo Abe have failed to reach a deal which would exempt Japan from the US’s steel and aluminium tariffs.

The US president and Japanese prime minister said they had agreed to start talks on a new “free, fair and reciprocal” trade agreement following two days of talks.

“If we can come to an arrangement on a new deal, that would certainly be something we would discuss,” Mr Trump said when asked about the tariffs during a joint press conference at his private Mar-a-Lago club, where the pair also spent their time golfing and dining.

But he said the current trade deficit between the two countries was too high to merit an exemption right now. That deficit was $56.1bn (£40bn) last year, according to the US Department of Commerce.

Japan remains the only major US ally which is not exempted from the 25 per cent tariff on steel imports and a 10 per cent tariff on aluminium imports.

Most other key allies, among them the European Union, Canada, Australia and Mexico, have already been granted exemptions to Mr Trump’s protectionist measures.

Mr Abe argued Japanese imports “would not exert any negative influence” on the security of the US,. He added that the high quality of Japanese steel and aluminium products would be difficult to replace.

Mr Trump said the tariffs had brought many countries to the negotiating table. He added that he may take them off steel and aluminium imported from Japan, if the two countries can come to a trade agreement.

However, he made it clear he would prefer a bilateral trade deal with Japan instead of rejoining the 11-nation Trans-Pacific Partnership (TPP) trade deal.

Agreed by his predecessor Barack Obama, the pact aimed to deepen economic ties between the 12 countries that border the Pacific Ocean, cutting tariffs and fostering trade to boost growth.

The agreement was designed so that it could eventually create a new single market, something like that of the European Union. But all 12 nations needed to ratify it, before it could come into effect.

Donald Trump's international Presidential trips Show all 22 1 /22 Donald Trump's international Presidential trips Donald Trump's international Presidential trips French President Emmanuel Macron and US President Donald Trump AFP/Getty Images Donald Trump's international Presidential trips French President Emmanuel Macron and US President Donald Trump talk as they leave the Army Museum at Les Invalides in Paris AFP/Getty Images Donald Trump's international Presidential trips German Chancellor Angela Merkel and US President Donald Trump arrive for the group photo at the G7 Taormina summit on the island of Sicily in May 2017 Getty Images Donald Trump's international Presidential trips Mr Trump was pressed on the subject at the G7 summit in Italy Getty Donald Trump's international Presidential trips US President Donald Trump gives a speeech at the Warsaw Uprising Monument on Krasinski Square Getty Donald Trump's international Presidential trips US President Donald Trump and Britain's Prime Minister Theresa May during a ceremony at the NATO headquarters before the start of a summit in Brussels, Belgium Reuters Donald Trump's international Presidential trips Montenegro's Prime Minister Dusko Markovic is seen to the right of Donald Trump at a Nato summit in Brussels REUTERS Donald Trump's international Presidential trips Pope Francis meeting with US President Donald J. Trump EPA Donald Trump's international Presidential trips Pope Francis poses with US President Donald Trump and First Lady Melania Trump AFP/Getty Images Donald Trump's international Presidential trips US President Donald Trump arrives at Palazzo del Quirinale ahead of the meeting with Italian President Sergio Mattarella Ufficio Stampa Presidenza della via Getty Donald Trump's international Presidential trips US President Donald Trump is seen during a joint press conference with the Palestinian leader at the presidential palace in the West Bank city of Bethlehem AFP/Getty Images Donald Trump's international Presidential trips Palestinian president Mahmoud Abbas meets US President Donald Trump PPO via Getty Donald Trump's international Presidential trips Israeli Prime Minister Benjamin Netanyahu speaks with US President Donald Trump prior to the President's departure GPO via Getty Images Donald Trump's international Presidential trips US President Donald Trump and Israel's Prime Minister Benjamin Netanyahu shake hands after delivering a speech at the Israel Museum AFP/Getty Images Donald Trump's international Presidential trips US President Donald Trump and First Lady Melania Trump lay a wreath in the Hall of Remembrance as White House senior advisor Jared Kushner and Ivanka Trump watch on during a visit to the Yad Vashem Holocaust Memorial museum AFP/Getty Images Donald Trump's international Presidential trips US President Donald Trump visit to Yad Vashem Holocaust museum in Jerusalem accompanied by Prime Minister Benjamin Netanyahu GPO via Getty Images Donald Trump's international Presidential trips US President Donald Trump takes his seat before his speech to the Arab Islamic American Summit in Riyadh in Saudi Arabia Reuters Donald Trump's international Presidential trips Saudi Arabia's King Salman bin Abdulaziz al-Saud, US President Donald Trump and US First Lady Melania Trump look at a display of Saudi modern art at the Saudi Royal Court in Riyadh AFP/Getty Images Donald Trump's international Presidential trips US President Donald Trump and Saudi Arabia's King Salman bin Abdulaziz al-Saud take part in a signing ceremony at the Saudi Royal Court in Riyadh AFP/Getty Images Donald Trump's international Presidential trips King Salman presents Donald Trump with The Collar of Abdulaziz al-Saud Medal at the Royal Court Palace on 20 May AP Donald Trump's international Presidential trips US President Donald Trump is welcomed by Saudi King Salman bin Abdulaziz al-Saud upon arrival at King Khalid International Airport in Riyadh AFP/Getty Images Donald Trump's international Presidential trips U.S. President Donald Trump and first lady Melania Trump walk on the South Lawn prior to their first foreign trip Getty Images

Mr Trump, repeatedly criticised the pact and pledged to abandon it during his presidential campaign, a promise he kept once he assumed power.

Speaking after his meeting with Mr Abe, he said: “I don’t want to go back into TPP, but if they offered us a deal that I can’t refuse on behalf of the United States, I would do it."

But he added: ”I like bilateral better. I think it’s better for our country, I think it’s better for our workers, and I much would prefer a bilateral deal, a deal directly with Japan.”

Mr Abe also highlighted the differences between each country’s approach.