Sanna Marin, 34, said on her Instagram account that she married Markus Raikkonen on Saturday, and posted a picture of the couple in their wedding outfits with a bunch of white flowers.
Finland’s government said on its website that the wedding took place at Kesaranta, the prime minister’s official residence, and the couple’s family and closest friends attended.
They have been together for 16 years and have a two-year-old daughter, the government said.
Ms Marin, a Social Democrat who has been a prolific user of social media and a keen advocate for environmental issues, became Finland’s prime minister in December.
At the time, she was the world’s youngest serving head of government — a distinction she lost a few weeks later with the return to power of Austrian Chancellor Sebastian Kurz, who turns 34 later this month.