Mr Macron has been in office for eight years, but this will be his first state visit to the UK.
His visit will last three days between July 8 to July 10, during which he and his wife will be feted with a state banquet at Windsor Castle in Berkshire.
It will be France’s first state visit to Britain since 2009, and the UK will see it as a move to strengthen ties with Europe and bolster its economy after the turbulence caused by Mr Trump’s tariffs.
The UK and France have been working closely together in the so-called Coalition of the Willing for Ukraine.
The US President’s state visit invitation was handed to him by the Prime Minister at the White House in February.
Mr Trump, who has a well documented admiration for the Royal Family, said it would be an “honour” to visit the UK after reading the letter from the King who he described as a “beautiful man, a wonderful man”.
The move is unprecedented as second-term US presidents are usually not offered a state visit.
It is a clear example of Britain’s influential soft power at a time of heightened transatlantic tensions following Mr Trump’s trade war and matters including Ukraine, European security and Greenland.
Last week, the US and UK agreed on a trade deal - the first of its kind since President Trump unveiled sweeping tariffs on a number of countries in his so-called Liberation Day last month.