IRS Transcript Codes

Code 520 Transcript: The IRS Bankruptcy & Litigation Freeze, Explained (2026)

The short answer: a code 520 transcript entry means the IRS has frozen collection on your account because of a legal action — most often a bankruptcy filing, sometimes a Tax Court petition or Collection Due Process hearing. Levies and most collection notices stop while it's active, but the debt itself doesn't go away.

You pulled your IRS transcript to get ahead of a refinance — or to see where a bankruptcy stands — and there it is: 520, "Bankruptcy or other legal action filed," with a $0.00 amount that explains nothing. That line matters more than most codes on the page, because it changes both what the IRS can do right now and how long your debt lives. Here's what put it there, and what to do next.

The good news up front: 520 is a shield, not a threat. The image below shows you exactly what this line looks like on a real account transcript and where to look around it — the codes and dates near a 520 tell you as much as the 520 itself.

⏱ The clock that matters: code 520 has no printed deadline — but interest keeps accruing on any tax that survives the freeze, and the freeze pauses the IRS's 10-year collection clock, handing that time back to the IRS later. Every month inside the freeze adds a month to the far end of your debt's life.

What a code 520 transcript entry means — and what triggered yours

Transaction Code 520 tells every IRS collection system to stand down because a court or formal proceeding now controls your account. The IRS posts it in three main situations:

Internally, each 520 carries a "closing code" identifying which of these applies — closing codes in the 60s generally mean bankruptcy, while others flag CDP hearings or litigation. Your taxpayer-facing transcript usually won't display that detail, so the fastest way to know which 520 you have is to match the 520's date to what you filed: your bankruptcy petition date, your Form 12153, or your court petition.

One 520 posts per tax year involved, so if you owe for three years you may see three 520 lines with the same date. If you're not sure how to read the columns and dates around them, our guide to how to read an IRS account transcript walks through the layout line by line. And don't confuse this code with its cousin: a code 810 refund freeze holds money the IRS owes you, while a 520 stops the IRS from collecting money you owe it.

Infographic: key facts and deadlines about Code 520 Transcript.
Code 520 Transcript: the key facts at a glance.

What the freeze does — and what it doesn't

An active code 520 stops levies, garnishments, and nearly all collection notices — but it does not erase a single dollar of tax. While the freeze runs:

Two things a 520 does not do. It doesn't decide whether your tax debt gets discharged — that depends on the bankruptcy discharge rules for taxes (the 3-year, 2-year, and 240-day tests), which most recent debt fails. And it doesn't remove a federal tax lien already on record: even when personal liability is discharged, a filed lien can survive bankruptcy and stay attached to property you owned when you filed. On the transcript, look for a code 582 lien indicator near your 520 — for a homeowner, that pairing changes everything about a refinance.

Steps to take for Code 520 Transcript.
Code 520 Transcript: the practical steps to take next.

What happens next: the life cycle of a 520 freeze

A code 520 always ends the same way — with a code 521 release and the surviving balance returning to collection. The sequence runs in this order:

  1. 520 posts. Collection systems lock. Levies stop, notice streams pause, the account shows the legal-action flag for each frozen year.
  2. The freeze runs. Interest accrues on debt that will survive; the CSED clock is stopped; refunds are held or applied. In Chapter 13, this stage can last the full three-to-five-year plan.
  3. The case concludes. Discharge, dismissal, a Chapter 13 plan completion, a Tax Court decision, or a CDP determination — something formally closes the proceeding.
  4. Code 521 posts, releasing the freeze. Any dismissed or nondischargeable balance reactivates. If the debt was fully discharged or paid through the plan, the module zeroes out instead.
  5. Collection resumes — with more runway. Notices restart quickly, and because the CSED was suspended (plus six months after a bankruptcy), the IRS has more time to collect than the calendar suggests. On the surviving balance you'll also see interest and penalty lines resume posting — that's what code 196 interest assessments and code 276 failure-to-pay penalties look like on the transcript.

The trap in this sequence is stage 5. People come out of a bankruptcy assuming the tax problem went with it, ignore the first post-521 notices, and meet a levy months later — on a debt the IRS now has extra years to collect. The week the 521 posts is your window to set the surviving balance up on your own terms.

Infographic: timelines, costs and options for Code 520 Transcript.
Code 520 Transcript: the timeline and options mapped out.

Staring at a 520 and not sure what survives?

Send us your transcript. An experienced tax professional will identify what triggered the freeze, what balance will come out the other side, and the smartest move to make before code 521 posts and collection restarts — free and confidential.

Get My Free Transcript Review Call (888) 825-7779

Decoding the 520 and the codes around it

The codes surrounding a 520 tell you where you are in the story. Use this table to place each one:

Code 520 transcript and related codes: what each means and what to do
CodeWhat it meansWhat to do
520Bankruptcy or other legal action filed; collection frozen for that yearMatch its date to your bankruptcy petition, Form 12153, or court petition; confirm one posted for every year you owe
521Freeze released; the case concluded and any surviving balance returns to collectionAct within weeks — set up a resolution before the notice stream escalates
522The 520 was posted in error and has been reversedVerify the rest of the account reflects reality; keep the correction letter
582Federal tax lien indicator on the accountCritical for homeowners — a lien can survive bankruptcy and block a clean refinance
150The original return posted and tax assessed — the assessment date starts the 10-year clock the 520 pausesNote its date; it's the starting point for any CSED math
971A notice or miscellaneous action — often the court notification or post-release lettersRead the paired notice; near a 521 it usually means collection letters have restarted

Your options while the freeze runs — and after it lifts

A 520 buys time; how you use that time decides what the debt costs you. While the freeze is active, your moves depend on the trigger:

Once code 521 posts, whatever balance survived is ordinary collectible debt again, and the realistic options track the amount:

Balance surviving a code 520 freeze: realistic options by amount
Surviving balanceRealistic optionsKey requirement
Under $10,000Guaranteed installment agreement; short-term plan (up to 180 days, $0 setup)All returns filed; pay within 3 years for the guaranteed IA
$10,000–$25,000Streamlined installment agreement, no financial disclosureFull-pay within 72 months or by the (now-extended) CSED
$25,001–$50,000Online 72-month plan — direct debit typically required at the top of this band; OIC or hardship status if finances warrantDirect-debit enrollment; current-year compliance
Over $50,000Non-streamlined agreement with full financials (Form 433); OIC; Currently Not CollectibleComplete financial disclosure; the IRS verifies ability to pay

One nuance worth knowing: fresh out of a bankruptcy, an Offer in Compromise deserves a hard look before you default to a payment plan. If the case stripped your equity and your income is thin, the collection-potential math may finally work — the IRS accepted roughly 1 in 5 offers in FY2024, so candidacy is a math question, never a given.

Refinancing your home with a code 520 on file

Mortgage underwriters see your 520 — lenders pull IRS transcripts during underwriting, and a legal-action freeze is exactly the kind of flag that generates conditions. What happens next depends on which 520 you have:

The strategic point for a homeowner: the freeze itself doesn't touch your title. If your transcript shows 520 but no 582, your refinance problem is documentation, not collateral — a very solvable problem.

A worked example: $41,800, a Chapter 13, and a refinance

Say you owe $41,800 for tax years 2021 and 2022, assessed in June 2023 — so the original CSED lands around June 2033. You file Chapter 13 in January 2026; a 520 posts for each year, and your five-year plan treats the recent tax as priority debt paid in full through the plan: roughly $41,800 ÷ 60 months ≈ $697/month toward the IRS alone, before other creditors.

Now the clock math. The automatic stay runs the full five years, and the CSED is suspended for that period plus six months — so if the plan fails and the debt survives, the IRS's deadline slides from mid-2033 to roughly the end of 2038. And the refinance: pulling equity mid-plan in 2028 requires trustee or court approval, which lenders in this situation know how to paper. Complete the plan instead, and by early 2031 you'd have a 521 on the transcript, a $0 balance for those years, and a clean answer for any underwriter. This is a hypothetical illustration — your dates, plan terms, and district practices will differ.

How to respond to code 520, step by step

  1. Pull your full account transcript. Download the account transcript for every year you owe and note the date on each 520 line — that date tells you which legal action triggered it.
  2. Match the 520 date to the legal action. Compare it to your bankruptcy petition date, a Form 12153 CDP hearing request, or a Tax Court petition so you know exactly which case the IRS is tracking.
  3. Verify the freeze matches reality. If the case was dismissed or closed and no code 521 or 522 has posted, contact the IRS with proof so the account status gets corrected.
  4. Stay current while the freeze runs. File every return on time and pay new-year taxes as they come due — new tax debt can default a Chapter 13 plan or undo the relief you filed for.
  5. Plan your exit before code 521 posts. Work out now what balance will survive the case and which resolution fits it, so you can act the week collection notices resume instead of scrambling.

When you can handle a code 520 yourself

Often, you don't need extra help for the 520 itself. If you have a bankruptcy attorney, the freeze is working exactly as designed — your only tax jobs are filing on time and confirming the 521 posts when the case closes. If your 520 reflects a CDP hearing you requested with a simple ask (say, converting to a payment plan), you can present that to Appeals yourself. And if the surviving balance will be small enough for a streamlined plan, setting it up online after release takes minutes.

Experienced help changes the outcome in four situations: when the discharge analysis is genuinely close (which years pass the 3-year/2-year/240-day tests can swing tens of thousands of dollars); when a recorded lien sits between you and a refinance and subordination or discharge paperwork has to be sequenced with the lender; when the freeze is stale — case long closed, no 521, and nobody at the IRS picking up; and when the post-521 balance is large enough that the difference between an OIC, a partial-pay plan, and a full-pay plan is real money. Those are judgment calls where a professional review before you commit tends to pay for itself.

Terms on your transcript, decoded

Code 520 questions, answered

What does code 520 mean on an IRS transcript?

Code 520 means the IRS has flagged your account for a bankruptcy filing or other legal action and has frozen collection while that case is open. It is an informational freeze, not a new charge — no tax, penalty, or interest is added by the code itself. The dollar amount next to a 520 is almost always $0.00.

Does code 520 mean my tax debt is being wiped out?

No. Code 520 pauses collection; it does not reduce or erase the balance. Whether any of the debt is eliminated depends on how the underlying case ends — for example, whether the tax meets the bankruptcy discharge rules. Recent income taxes and trust-fund payroll taxes generally survive bankruptcy and return to collection when the freeze lifts.

How long does code 520 stay on my account?

Code 520 stays until the legal action ends, at which point the IRS posts code 521 to release the freeze. A Chapter 7 bankruptcy might keep the freeze in place for a few months; a Chapter 13 plan can keep it there for three to five years. The 520 line itself remains visible on the transcript as history even after release.

Will I get my tax refund with a 520 on my transcript?

Often not automatically. While a bankruptcy-related 520 is active, the IRS typically holds refunds for review, may offset them against your tax debt, and in Chapter 13 your refund can be claimed by the trustee depending on your plan terms. Ask your bankruptcy attorney before counting on a refund check.

Can I refinance or get a mortgage with code 520 on my transcript?

Sometimes, but the 520 will come up. Mortgage lenders pull IRS transcripts during underwriting, and a 520 signals an open bankruptcy or tax litigation. During an active Chapter 13, taking on new mortgage debt generally requires trustee or court approval. If your 520 reflects a Collection Due Process hearing rather than bankruptcy, a letter of explanation plus proof there is no lien often satisfies the underwriter.

Does code 520 pause the IRS 10-year collection statute?

Yes. A bankruptcy freeze suspends the 10-year collection statute (CSED) for the entire time the automatic stay is in effect, plus six more months afterward. A 520 tied to a Tax Court case or CDP hearing also suspends the clock while the matter is pending. The IRS gets back every day the freeze was active — the debt does not quietly age out during a 520.

What if the code 520 is on my transcript by mistake?

It happens — usually when a bankruptcy was dismissed or closed and the release never posted, or when the IRS mis-keyed a case. The IRS uses code 522 to reverse a 520 that was input in error. Call the IRS Centralized Insolvency Operation for bankruptcy freezes, or send proof of the dismissal or closure, and ask that the freeze be corrected.

What does code 521 after code 520 mean?

Code 521 is the release: it tells the IRS computer the bankruptcy or legal action is over and collection can resume on whatever balance survived. Watch the weeks after a 521 posts — collection notices restart quickly, and your response windows begin running again. That is the moment to lock in a payment plan or other resolution.

Your next 24 hours

  1. Find the 520's date on your transcript. Pull the account transcript for each year you owe from IRS.gov's Get Transcript tool and confirm which legal action each 520 date matches — and whether a 582 lien line sits nearby.
  2. Gather your case papers. Bankruptcy petition or discharge order, Form 12153 or Tax Court petition, and your last filed return — everything needed to prove what stage the case is in.
  3. Get a free transcript review. Interest is accruing and the collection clock is only paused, not shrinking — use the 2-minute form at claritytaxrelief.com/#consult or call (888) 825-7779 and an experienced tax professional will map what survives the freeze and how to handle it.

If the surviving balance turns out bigger than you can pay at once, the IRS payments page covers official payment channels, and the independent Taxpayer Advocate Service can help when a stale freeze or misapplied case status won't clear through normal channels.

This guide is general information, not tax or legal advice for your specific situation. Eligibility for IRS programs depends on individual facts and circumstances; no outcome is guaranteed.

Related: waiting on the release? See code 521 — freeze released. Sorting a different hold? Compare the code 810 refund freeze, or browse all transcript-code guides.

📞 Free Consultation — (888) 825-7779
💬Get My Free Case Review