Macron extended the invitation in a call late on Thursday to Johnson from his official summer vacation residence in the south of France.
In the call, Macron congratulated Johnson on becoming prime minister and emphasised Franco-British cooperation on bilateral, European and international issues, the official said.
Brexit looms over those cross-Channel ties.
Imran congratulates Johnson, hopes appointment will bolster Pak-UK ties
Johnson on Thursday told British lawmakers he has urged the European Union (EU) to 'rethink' its opposition to renegotiating a deal worked out with his predecessor Theresa May that he has called unacceptable.
If it did not, he warned, he would withdraw Britain from the EU without a deal, and spoke of plans to "turbo-charge" preparations to do so on the latest Brexit deadline of October 31.
The European Union has rejected Johnson's push.
Macron has emerged as one of the EU leaders most willing to see Britain leave soon, without a deal if it chooses, so as not to threaten EU stability and unity.
Separately from Macron's invitation, Johnson is expected to go to France in a month to attend a G7 summit in the oceanside city of Biarritz on August 24-26.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ