The 42-year-old took a test after developing symptoms and will now isolate for seven days, the Elysée Palace said in a statement.
Mr Macron “is still in charge” of running the country and will work remotely, said an official.
France this week imposed an overnight curfew to help deal with soaring cases there.
France’s President Emmanuel Macron has tested positive for Covid-19, his office says.
There have been two million confirmed cases in the country since the epidemic began, with more than 59,400 deaths, according to data from Johns Hopkins University.
“The President of the Republic has been diagnosed positive for Covid-19 today,” the Elysée said on Thursday morning. The diagnoses was made following a “test performed at the onset of the first symptoms”, the statement added.
It is not yet known how Mr Macron caught the virus but his office said it was identifying those he had been in close contact.
Prime Minister Jean Castex, 55, is also self-isolating as he is considered a possible “contact case”, officials said. He was due to introduce the government’s Covid vaccination policy in the Senate on Thursday – now Health Minister Olivier Véran is doing it instead.
The statement did not mention whether Mr Macron’s wife Brigitte, who is 67, had also tested positive.
Mr Macron is one of several world leaders who has contracted the respiratory disease. Most notably, US President Donald Trump tested positive in October, which led to him spending three days in hospital.
UK Prime Minister Boris Johnson also caught the virus and ended up in intensive care during the country’s first wave in March.
Earlier this week, France eased national lockdown restrictions imposed to tackle its second wave of the pandemic. However, infection rates still remain high and a daily 20:00-06:00 curfew was imposed. The new measures have forced restaurants, cafes, theatres and cinemas to close.
After about a month and a half in total lockdown, the French authorities have finally replaced the latter with a nightly curfew, keeping several types of venues closed in order to avoid another spike up in the cases of COVID-19 in the country.
In his weekly press conference last Thursday, the French Prime Minister Jean Castex announced that the health situation in France has improved considerably in recent weeks, still noting that the second wave of the pandemic had yet to end.
“We have not yet reached the end of this 2nd wave, and we will not be, on December 15,” he noted, explaining why nightly curfew would remain, and some venues would not be permitted to reopen.
With the lockdown put to an end, both international travel and travel to different regions of France will again be possible for non-essential reasons, so tourists and second homeowners can again visit France, and people can travel to see relatives and friends in other parts of the country or other countries.