If you file bankruptcy alone, your spouse may be affected.
When both spouses are jointly obligated on a debt, and only one spouse files bankruptcy, the non-filing spouse will remain solely liable to repay that debt.
Additionally, problems may arise when both spouses jointly own items of property that are subject to the bankruptcy estate.
Always consult with your attorney regarding these issues.