Gay Marriage and Taxes: Marriage Penalty Possible Legally married same-sex couples may be in for a couple of surprises come tax time. Filing federal taxes could become more complicated for gay married couples who live in states that don't recognize their marriage. When the U.S. Supreme Court threw out provisions of the Defense of Marriage Act, which had defined marriage as a "legal union between one man and one woman," it set the stage for equal treatment of married couples under federal law, regardless of the makeup of the marriage. And that applies to federal taxes, even if the couple is living in a state that does not recognize gay marriage, the Treasury Department and Internal Revenue Service ruled. "This ruling assures legally married same-sex couples that they can move freely throughout the country knowing that their federal filing status will not change," Treasury Secretary Jacob Lew said last summer when the ruling was issued to take into account the Supreme Court's decision. Seventeen states and the District of Columbia legally recognize same-sex marriage. Last month, a federal judge overturned Utah's ban on gay marriage, and just last week a federal judge struck down Oklahoma's ban. "Under the ruling, same-sex couples will be treated as married for all federal tax purposes, including income and gift and estate taxes," the IRS said. The ruling applies to all federal tax provisions where marriage is a factor, including filing status, claiming personal and dependency exemptions, taking the standard deduction, employee benefits, contributing to an IRA and claiming the earned income tax credit or child tax credit. However, the ruling does not apply to registered domestic partnerships, civil unions or similar formal relationships recognized under state law. Usually, legally married same-sex couples now will be required to choose the filing status married filing jointly or married filing separately on their federal tax returns. If children are involved and the couple lives separately, head of household might be chosen by the spouse providing more than half the support for the child, similar to opposite sex couples. "Hopefully they understand that they don't have a choice now," said Craig Richards, director of tax services at Fiduciary Trust. That's going to change their picture. For same-sex married couples, like all married couples, the marriage penalty could kick in. It's especially true if both spouses work, said Barbara Weltman, a contributing editor to "J.K Lasser's Your Income Tax 2014." That's because filers with higher incomes are now subject to new taxes to fund the health care reform law and a phaseout of personal exemptions and deductions. And if each partner in a same-sex marriage is working, the couple could find themselves over the threshold. They also could find it more difficult to deduct medical expenses based on their joint income. For most taxpayers, beginning with the 2013 tax year, medical expenses have to exceed 10 percent of adjusted gross income to be deductible. Education credits and deductions also phase out at higher incomes. However, if only one spouse works, there could be a bonus, Weltman said. The same applies if one spouse has a higher income than the other. That's not the only possible tax advantage for same-sex couples.