Student loans are no joke. The average borrower has a debt of $36,614 across at least three different loans. It's little wonder that student debt is the second-largest source of consumer debt in the United States, right behind mortgages. The silver lining? 'Tis the season of taxes, which could remove a sizable dent in your balance. Here are four ways to make the most out of your tax refund and shore up your financial health:

1. Pay off high-interest debt

If student loans are your highest-interest debt, a windfall of cash would be well spent on paying down your balance. This translates to a lump-sum payment you can direct right toward your principal balance. Keep in mind that logging into your loan service website and making a bigger payment may not be enough. Some providers treat it like an early payment for your next installment due, so that money could end up going toward outstanding fees or interest. And if you have multiple loans, it could spread across all those balances, essentially diluting your efforts. Make sure you double-check with your loan provider that the money will be go toward your principal balance.

2. Refinance to invest in your future

Refinancing your student loans is a great way to make your payments more manageable. When you refinance, you use one loan to pay off multiple outstanding balances. You'll also have new repayment terms and, hopefully, a lower interest rate. Typically, you can refinance both your federal and private student loans together. (Warning: When you refinance, your new loan will be from a private lender, so you may lose federal protections like income-driven repayment plans, loan forgiveness and deferment or forbearance).

3. Pay off loans and still treat yourself

Being too hardcore about paying off your student loans leaves little room for, well, life. And depriving yourself of little pleasures may actually make you more likely to backslide and slip up. If you can financially afford it, use just a portion of your refund to pay off student debt and the remaining amount for reasonable splurges that'll make life an enjoyable experience. You could even use the money to start a side business or passion project. Whether it's selling handmade crafts on Etsy or launching your own blog, you can monetize your hobbies and turn them into long-term passive income streams. Remember: There's nothing wrong with treating yourself. In fact, it's vital to your long-term success. The trick is to find a healthy balance that doesn't derail your big-picture financial health.

4. Bulk up your emergency fund