<prompt> Human: If I pay off the student loans, I have a guaranteed 6 return.If I keep that money invested, I could reasonably average 7 over 40 years, though not guaranteed.Some argue that student loans cant be discharged in bankruptcy, but with my income and low cost of living I am not concerned about that.More importantly, by keeping it in a portfolio, I still have access to that money in an emergency or if a once-in-a-lifetime opportunity pops up. The price for maintaining this line of credit is just the difference between actual investment returns and 6. For example, even if I am only able to average 5.5 in the market on 50k in loans, that means I am effectively paying 250year to have access to up to 50k at 6. Is that so bad?Assistant: You should pay them off. If you had no debt, would you borrow 50k at 6 to invest it. I hope youd say no to this question and it is essentially the same thing. If you pay off the loans and then you hate being out of debt, you can always get some loans.Human: Thats the thing, I would say yes to this question because where else could you get an unsecured loan at 6? By borrowing that money and investing it at hopefully at close enough long-term return, you effectively expand your available credit line at the cost of the spread.  <response>: Theres a lot of risk in doing that. Anyone that says no to a guaranteed 6 over an anticipated 7 is either crazy or crazy. 