Deductions & credits

The mortgage can count as acquisition debt so long as it is secured by the home and perfected -- this usually means it must be listed at the county clerk's office as a lien on the property.  A personal loan would not count, even if used to buy or build a home.  And the loan must be obtained within 90 days before or after you completed construction.