If you’re married, file your taxes jointly unless separate returns save you more than they cost. Filing separately gives up several credits and deductions, but it can win when one of you has big medical bills or an income-driven student loan payment. Prepare your return both ways before you file.
Source



