Yes, if this was an investment property, then you can deduct the losses a a capital loss. A capital loss will offset capital gains, but if you do not have enough gains to be offset, it can offset up to $3,000 of ordinary income.
See the answer by Champ Mike 9241 on how to enter the lost money on a failed investment property.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"