Congress overhauled the bankruptcy laws in 2005. Under the new law, virtually all retirement account and pension plan funds are exempt from creditors, meaning you get to keep them if you file for Chapter 7 bankruptcy. In Chapter 13 bankruptcy, because your retirement accounts are exempt, they won’t affect how much you must repay unsecured creditors.