The Self-DirectedThe plain-English desk for real estate inside a retirement account.

Does a solo 401k avoid UDFI on leveraged real estate?

The Self-Directed · Updated September 27, 2026 · 3 min read

The short answer

In most real estate cases, yes. Qualified plans get a statutory exception for debt-financed real property that IRAs do not get, so a solo 401k can use a mortgage on real estate without generating unrelated debt-financed income. The exception has conditions, and blowing one of them loses it.

Yes, usually, and this is one of the few places in the retirement account world where the right structure produces a genuinely large difference rather than a marginal one.

The rule

Section 514(c)(9) of the Internal Revenue Code carves out an exception from the debt-financed income rules for qualified trusts, which includes 401k plans, when the debt is incurred to acquire or improve real property.

IRAs are not qualified trusts for this purpose. They do not get the exception.

So the same deal, same property, same mortgage, produces UDFI in an IRA and no UDFI in a solo 401k. On a leveraged purchase with a meaningful gain at exit, the difference is measured in tens of thousands of dollars of tax.

The conditions

The exception is not unconditional. Broadly, the plan has to satisfy a set of requirements including:

  • The property must be real property, not personal property or a business.
  • The price must be fixed at the time of acquisition. Contingent purchase prices break the exception.
  • The debt service cannot be contingent on the property's revenue or profits. A participating mortgage where the lender shares in the upside breaks it.
  • The seller cannot be the lender on terms that amount to a contingent arrangement, and seller financing generally needs careful review.
  • The property generally cannot be leased back to the seller in a way that runs afoul of the rules.
  • If the property is held through a partnership, the partnership has to satisfy additional requirements about how income and loss are allocated, and this is where the exception most often fails in practice.

That last point matters for anyone investing in syndications. A solo 401k investing as a limited partner in a leveraged real estate partnership does not automatically get the exception. The partnership itself has to meet the allocation tests, and many do not. Ask the sponsor directly whether their structure preserves the 514(c)(9) exception for qualified plan investors, and get it in writing.

Who can have a solo 401k

This is the actual constraint, and it screens out most people who read this page hoping for an easy answer.

You need self employment income, from a business with no full time employees other than you and your spouse. Consulting, freelance work, a side business, a brokerage, a professional practice.

Passive rental income from property you already own generally does not create earned income for this purpose. Neither does a W-2 job by itself, although you can have a solo 401k for a side business while also having a 401k at work, subject to the combined limits.

If you have no self employment income, you cannot have a solo 401k, and the 514(c)(9) conversation is not available to you. That is the end of it.

The other differences worth knowing

If you do qualify, the 401k advantages stack up beyond UDFI:

  • Much higher contribution limits. For 2026 the employee deferral is $24,500 with an $8,000 catch-up at 50 and older, plus employer contributions, up to a total defined contribution limit of $72,000. An IRA is $7,500 with a $1,100 catch-up. The gap is enormous.
  • No custodian required. You can be the trustee, which removes the processing delays that make IRA real estate slow. This is a large practical benefit and a large practical risk, since nothing sits between you and a mistake.
  • A correction mechanism. A prohibited transaction in a 401k triggers an excise tax on the disqualified person and can be corrected. In an IRA it destroys the account. This asymmetry is underappreciated.
  • Plan loans. A 401k can lend you up to $50,000 or half the balance, whichever is less. An IRA cannot lend you anything.
  • Roth deferrals inside the plan, with no income limit on making them.

The costs: a plan document, ongoing administration, a Form 5500-EZ once assets exceed the filing threshold, and the fact that you are now a plan fiduciary with no custodian checking your paperwork.

The honest summary

If you have self employment income and a leveraged real estate strategy, look hard at the solo 401k before you open a self-directed IRA. The UDFI exception alone can justify the setup cost several times over, and the contribution limits are not close.

If you have no self employment income, the solo 401k is not an option and the IRA is your vehicle. In that case model the UDFI, including at sale, and look at the 12 month payoff window as your main lever.

Either way this is a conversation with your CPA before you open anything, not after. The choice of account is harder to undo than the choice of property.

Get the next one

One letter a week on holding real estate inside a retirement account. The mechanics, the tripwires, and what changed.

Educational only. No advice, no offer of any security. One click to leave.

Common follow-ups

Can I move my IRA into a solo 401k to get this?

Often yes. A traditional IRA can generally be rolled into a solo 401k if the plan document permits it, which most do. Roth IRAs cannot be rolled into a 401k. You need genuine self employment income to have a solo 401k in the first place, and that is the real gate.

What counts as self employment income?

Earned income from a trade or business where you are the owner, with no full time employees other than you and your spouse. Consulting, freelancing, a side business, a real estate brokerage. Rental income from property you own passively generally does not count as earned income for this purpose. Ask your CPA about your specific facts before you rely on it.

Does the exception cover a flip?

No. The exception is for debt-financed real property held for investment. Income from an active trade or business, which is how a pattern of flipping is often characterized, is unrelated business income on its own basis and the debt exception does not rescue it.

Read next

Educational only. Nothing here is investment, tax, or legal advice, and nothing here is an offer to sell or a solicitation to buy any security.