Whether you can take a tax credit for a plug-in electric vehicle (EV) depends on the manufacturer. The tax law set a 200,000 sales limit on manufacturers for these vehicles and Tesla and GM have already passed this limit; no credit for the purchase of a Tesla or GM EV is currently allowed. For other plug-in electric vehicles, the amount of the credit varies with the model. The IRS has a list of qualifying vehicles.
Debt used to buy, build, or construct a principal residence or second home and that generally qualifies for a full interest expense deduction.