The following is the discussion of discharge of tax liability in bankruptcy:
Discharge of Unpaid Tax
If you are a debtor in a bankruptcy case, the bankruptcy court may enter an order providing you with a discharge of debts. However, not all of your debts may be discharged. The scope of the bankruptcy discharge depends on the chapter you are in and the nature of the debt. Many tax debts are excepted from the bankruptcy discharge.
If you are an individual under chapter 7, the following tax debts, including interest, are not subject to discharge: taxes entitled to eighth priority, taxes for which no return was filed, taxes for which a return was filed late after 2 years before the bankruptcy petition was filed, taxes for which a fraudulent return was filed, and taxes that you willfully attempted to evade or defeat. Penalties in a chapter 7 case are dischargeable unless the event that gave rise to the penalty occurred within 3 years of the bankruptcy and the penalty relates to a tax that is not discharged. Corporations and other entities that are not individuals do not receive a discharge in chapter 7 cases.
The same exceptions to discharge that apply to individuals in chapter 7 cases apply to individuals in chapter 11 cases. Different rules apply for corporations. A corporation in chapter 11 may receive a broad discharge when the plan is confirmed, but secured and priority claims must be satisfied under the plan and there is an exception to discharge for taxes for which the debtor filed a fraudulent return or willfully attempted to evade or defeat, for bankruptcy cases filed after October 16, 2005.