It’s generally a bad idea to invest while you’re in debt. Money you owe continues to compound interest costs against you, and failure to pay most debts could result in bankruptcy and/or the loss of your possessions to debt collectors. In addition, while investing offers you the opportunity for positive returns, there are no guarantees that any investment will work out either in the short term or the long run.