The cost of a raffle ticket is not deductible as a charitable contribution, even if the ticket is sold by a nonprofit organization.read