You can write off gambling losses as a miscellaneous itemized deduction. While miscellaneous deductions subject to the 2% of adjusted gross income floor are not allowed for 2018 through 2025 under the TCJA, the deduction for gambling losses isn't subject to that floor. So gambling losses are still deductible.