As the vote took place, minor scuffles broke out in the public gallery and some opponents of the bill had to be forcefully ejected.
"Get these enemies of democracy out of the parliament," Mr Bartolone shouted.
Justice Minister Christiane Taubira hailed the adoption of the bill as an "historic" moment in French history.
"It grants new rights, stands firmly against discrimination (and) testifies to our country's respect for the institution of marriage," she said in a statement shortly after the vote.
"This law ... brightens the horizons of many of our citizens who were deprived of these rights," she said.
The bill must still be signed by President Francois Hollande but shortly after the vote, lawmakers from right-wing parties said they had already filed a legal challenge with France's constitutional council.
The council will have a month to make a ruling and opponents were hoping that in the meantime they could build up enough pressure to force Mr Hollande, who has been steadfast in supporting the bill, to back down from signing it.
Across town in Paris' gay district, le Marais, supporters gathered to celebrate the passing of the bill.
Last Wednesday, New Zealand Parliament passed a law legalising gay marriage, 77 votes to 44, amid loud shows of jubilation from the floor and the gallery.
The declaration of the vote was followed by a waiata.
MPs held a conscience vote on the private member's bill sponsored by gay Labour MP Louisa Wall.
The bill will take effect in mid-August, and comes 27 years after New Zealand decriminalised homosexuality.