The choice between a hardship withdrawal and a 401(k) loan depends on your individual circumstances, financial needs, and long-term financial goals. Typically a 401(k) loan may be a better option but you have to be employed. However, if you do opt for the 401 (k) loan try to keep up with your retirement savings so you don’t make too much of an impact on these funds.