If your employer goes bankrupt, your 401(k) funds are generally safe because these assets are held in a trust separate from the employer's business assets. However, the plan may be terminated, and you will need to decide how to manage your funds.