Social Security (FICA) and Medicare Deduction. A taxpayer may claim a deduction for the amount contributed in the taxable year to FICA or a Railroad Retirement Plan, or to a U.S. or Massachusetts Retirement fund up to $2,000. If married filing joint, each spouse may claim up to $2,000 of his or her own contributions.