The Catholic Church does not have the power to bless same-sex unions, the Vatican office responsible for doctrine has said.
It is "impossible" for God to "bless sin", the Congregation for the Doctrine of the Faith (CDF) said on Monday.
But the CDF did note the "positive elements" in same-sex relationships.
In October, Pope Francis said in a documentary that he thought same-sex couples should be allowed to have "civil unions".
In the Catholic Church, a blessing is given by a priest or other minister in the name of the Church.
On Monday, Pope Francis approved the response by the CDF, saying it was "not intended to be a form of unjust discrimination, but rather a reminder of the truth of the liturgical rite".
Some parishes in recent months, including in Germany and the US, have started giving blessings to people in same-sex relationships as a way to welcome gay Catholics to the church, Reuters news agency reported.
The CDF's response was in answer to the question posed to it: "Does the Church have the power to give the blessing to unions of persons of the same sex?". It replied: "Negative".
The CDF noted that marriage between a man and a woman is sacrament and therefore blessings cannot be extended to same-sex couples.
"For this reason, it is not licit to impart a blessing on relationships, or partnerships, even stable, that involve sexual activity outside of marriage (i.e., outside the indissoluble union of a man and a woman open in itself to the transmission of life), as is the case of the unions between persons of the same sex," it said.
What has the reaction been?
In defiant response, people posted photos from their same-sex weddings - including Chasten Buttigieg, husband of 2020 US presidential candidate Pete Buttigieg.
️ Love is love.
— Chasten Glezman Buttigieg (@Chasten) March 15, 2021
Gay marriage is legal.
The Pope isn’t your County Clerk.
Register for the fancy sheets and wine glasses.
❤️ Peace and blessings. pic.twitter.com/WNuKQOQujm
Progressive Catholic groups expressed their concern at the Vatican's declaration, too.
Charlotte Clymer, from Catholics for Choice, tweeted: "Being LGBTQ is not a choice. LGBTQ people are wonderfully made by God. We are born this way and perfectly so, regardless of what the Vatican or any other religious authority might claim."
And Francis DeBernardo, executive director of gay Catholic group New Ways Ministry, said the Vatican's statement was "not surprising, but still disappointing".
What has Pope Francis said in the past?
In 2013, Pope Francis famously said: "Who am I to judge gay people?"
Last year the pontiff said in a documentary by Evgeny Afineevsky that "homosexual people have a right to be in a family... they are children of God and have a right to a family. Nobody should be thrown out or made miserable over it".
The Vatican later attempted to clarify the comments saying they were taken out of context and did not indicate support for same-sex marriage.
- BBC