The lesser of $50,000 or 50% of your vested account balance.
The amount you can borrow may be reduced by the maximum outstanding loan balance you have had within the prior 12 months.
Most plans impose a minimum loan amount, for example, $1,000.