"Discrimination has no place in our society or in our laws," Pelosi said in a news release. "In passing the PRIDE Act, Democrats are honoring our diversity and providing long-overdue justice to countless same-sex couples across the country who have been denied critical tax refunds because of who they are and who they love."

The bill, which will now head to the Senate, would amend the Internal Revenue Code to remove gender-specific references to marriage and allow couples to amend their filing status to married filing jointly for tax returns outside of the statute of limitations.

Pelosi praised Rep. Judy Chu of California and the members of the House Ways and Means Committee for writing the "strong legislation."

"By eliminating gendered language that discriminates against same-sex couples and putting money directly back into the pockets of families who have earned it, this critical legislation offers commonsense fixes that modernize our tax code and honor our bedrock values," she said.

Read More