Student loan payments and opportunity costs
Already a lot of great answers, but since I ask myself this same question I thought I'd share my 2 cents.  As @user541852587 pointed out, behavior is of the essence here. If you're like most recent grads, this is probably the first time in your life you are getting serious about building wealth. Can you pay your loans down quickly and then have the discipline to invest just as much -- if not more -- than you were putting towards your loans? Most people are good at paying bills in full and on time, yet many struggle to "pay themselves" in full and on time.  As @Brandon pointed out, you can do both. I find this makes a great deal of practical sense. It helps form good behaviors, boosts confidence, and "diversifies" those dollars. I have been paying double payments on my student loans while at the same time maxing out my IRA, HSA, & 401k. I also have a rental property (but that's another can of worms). I'm getting on top and feeling confident in my finances, habits, etc. and my loans are going down. With each increase in pay, I intend to pay the loans down faster than I invest until they're paid off.  Again -- I like the idea of doing both.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Student loan payments and opportunity costs

### Response:
Already a lot of great answers, but since I ask myself this same question I thought I'd share my 2 cents.  As @user541852587 pointed out, behavior is of the essence here. If you're like most recent grads, this is probably the first time in your life you are getting serious about building wealth. Can you pay your loans down quickly and then have the discipline to invest just as much -- if not more -- than you were putting towards your loans? Most people are good at paying bills in full and on time, yet many struggle to "pay themselves" in full and on time.  As @Brandon pointed out, you can do both. I find this makes a great deal of practical sense. It helps form good behaviors, boosts confidence, and "diversifies" those dollars. I have been paying double payments on my student loans while at the same time maxing out my IRA, HSA, & 401k. I also have a rental property (but that's another can of worms). I'm getting on top and feeling confident in my finances, habits, etc. and my loans are going down. With each increase in pay, I intend to pay the loans down faster than I invest until they're paid off.  Again -- I like the idea of doing both.