Deductions & credits

The earnest money is part of the sale to occur in 2026 and as part of that transaction will be treated as part of your capital gains for 2026.