"There will inevitably be a price and a cost for Britain, it's the choice they made," Hollande said as he arrived at a Brussels summit.
"We must not be punitive, but at the same time it's clear that Europe knows how to defend its interests, and that Britain will have a less good position outside the EU than in the EU."
Hollande, who is entering his last days as French president, dismissed suggestions that British Prime Minister Theresa May could strengthen her negotiating hand by winning a big mandate in elections that she has called for June 8.
"I can understand the electoral argument but it will not influence the EU. The EU's principles and the objectives are already fixed, these will be the lines chosen by negotiators."
Luxembourg Prime Minister Xavier Bettel also ruled out an advantage for May from a big election win.
"We are very united, you seem surprised, but it's a fact."
The EU's chief Brexit negotiator Michel Barnier meanwhile said it was also in Britain's interests for the EU to be unified, as it would boost the chances of a Brexit deal.
"This extraordinary meeting shows the unity of the 27 on a clear line, but this unity is not directed against Britain, I think that it is also in its interest," he said.
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.