The IRS typically prohibits deducting the cost of a gym membership because it defines this type of expense as a business, pleasure or social experience rather than a therapeutic environment. Even if you use the facility to improve your general physical health, treat an ailment or perk up your mental health, it still can’t be written off.