How Tax Debt is Treated in Bankruptcy from Erin Shank
You must have actually filed a tax return with the IRS for the debt in question at least two years prior to filing bankruptcy in order for it to be discharged.
Learn more about Tax Debt is treated in Bankruptcy in this presentation.