A margin loan is an example of good debt but it depends on the share portfolio you have in it. Also one must always be able to service any debt at all times.A margin loan can also be bad debt.