No, but you can write off the cost of volunteering, such as the miles you drive to do the volunteer work. You can take a standard mileage deduction or keep records, and receipts, that support your actual expenses. The volunteering must be done on behalf of a group recognized by the IRS as a 501(c)(3) or by a state or local government to claim any deductions.