A 401(k) loan has upsides and downsides to consider. Whether it’s a good idea for you depends on a number of factors about your personal financial situation. These loans can provide a good source of low-cost cash for short-term needs. But they can reduce the value of your retirement portfolio if you don’t make timely repayments.