When you buy a home, you can deduct some costs, such as the notary fees for the mortgage deed and the cost of mortgage advice, on your tax return. The interest you pay on an annuity or straight-line mortgage is also partially deductible, as long as you meet certain conditions. However, not all costs related to buying a home are deductible.