The payment of principal is never a deductible expense. However, check the payoff information to see whether there were any fees paid in addition to principal; the fees may be considered a selling expense.
The length of time that an asset is owned and that generally determines long- or short-term capital gain treatment.