Taking a loan from your 401k can seem like a fine idea when times are tough. If an employer terminates you while you have an outstanding loan, however, you could wind up taking an unwanted distribution from the plan, owing taxes and a penalty if you can’t pay it back immediately.
Borrowing from your 401k can get costly and will put a significant dent in your retirement nest egg.