The short answer
It can, but most of the time there is nothing to defer. Under section 512(b)(5), gains from selling property are excluded from unrelated business taxable income unless the property is inventory or held for sale to customers, so a church selling a parsonage or an investment lot usually owes no federal income tax. The exception is debt-financed property under section 514: if the property carried acquisition debt within 12 months before the sale, a share of the gain is taxable at corporate rates. That is the case where an exchange, or simply retiring the debt early, matters.
At a glance
| Ordinary property sales | Gain excluded from unrelated business income unless dealer or inventory property |
|---|---|
| Debt-financed exception | A share of the gain is taxable if acquisition debt existed in the prior 12 months |
| Taxable share | Highest debt in that 12 months divided by average adjusted basis, capped at 100% |
| Rate for exempt corporations | 21%, the corporate rate applied to unrelated business income |
| Exempt-use carve-out | Property with 85% or more of its use in the exempt purpose is not debt-financed |
| Church future-use land | 15-year window instead of 10, without the neighborhood test |
| Filing trigger | Form 990-T when gross unrelated business income is $1,000 or more |
Most property sales by an exempt organization are already outside the tax
Exempt organizations pay income tax only on unrelated business taxable income. Section 512(b)(5) says 'there shall be excluded all gains or losses from the sale, exchange, or other disposition of property' other than inventory and property 'held primarily for sale to customers in the ordinary course of the trade or business'.
So the sale of a parsonage, a closed school or land held for appreciation normally produces no federal tax, and a 1031 exchange adds paperwork and deadlines without saving anything. The organization can simply sell and redeploy the cash.
Dealer property is excluded twice over: its gain is taxable under section 512(b)(5), and section 1031(a)(2) bars exchanges of 'real property held primarily for sale'. A church subdividing and selling lots should look at 1031 for developers rather than expect an exchange to help.
Debt-financed property pulls part of the gain back into tax
Section 512(b)(4) overrides the exclusion for debt-financed property. Section 514(b)(1) defines it as property 'held to produce income' with acquisition indebtedness at any time during the year, or, on a sale, 'at any time during the 12-month period ending with the date of such disposition'.
IRS Publication 598 gives the formula: the organization includes a percentage of the gain equal to 'the highest acquisition indebtedness with respect to the property during the 12-month period preceding the date of disposition, in relation to the property's average adjusted basis'. An exempt corporation pays tax on it at the 21% rate in section 11(b), through section 511.
Two carve-outs keep church buildings out. Property is not debt-financed if 'substantially all' its use relates to the exempt purpose, which Reg. section 1.514(b)-1 sets at 85% or more. Land bought for future exempt use gets a grace period, and section 514(b)(3)(E) gives churches 15 years instead of 10 and drops the neighborhood test.
Worked example: a mortgaged strip center sold by a church
Hypothetical, round numbers; run your own numbers with your CPA. A church bought a small strip center as an investment with a loan and leases it to unrelated tenants. It sells for $2,000,000 with an average adjusted basis of $1,000,000, so the gain is $1,000,000, and the loan balance was $500,000 during the prior year.
The debt/basis percentage is $500,000 over $1,000,000, or 50%. Half the gain, $500,000, is unrelated business income, and at 21% the federal tax is about $105,000, reported on Form 990-T.
Now suppose the board pays off the loan from reserves 13 months before the sale. No acquisition debt existed in the 12-month lookback, the property is no longer debt-financed for the sale, and the full $1,000,000 gain is excluded under section 512(b)(5). No exchange is needed.
- Loan outstanding within 12 months of sale: about $105,000 of federal tax in this example.
- Loan retired more than 12 months before sale: no federal tax on the gain.
- Exchange into new leveraged property: the debt-financed rules apply again to the new rents.
When an exchange is still worth doing, and how to set it up
An exchange makes sense when debt cannot be retired in time and the gain share is large. An exempt organization computes unrelated business income from recognized gain, and Publication 598's own example applies a different nonrecognition rule, section 351, to a hospital's transfer of debt-financed property. Confirm with counsel that section 1031 will be respected on your facts before you list the property.
The mechanics are the same as for any owner: a qualified intermediary engaged before closing, written identification by day 45 and closing by day 180 under section 1031(a)(3). Title to the replacement must go to the same organization that sold.
Taxable subsidiaries are a separate case. A for-profit corporation owned by a nonprofit is an ordinary taxpayer, so its rental sales are fully taxable and the standard exchange analysis applies, starting with what a 1031 exchange is.
Leverage in the replacement, including inside a trust, carries the problem forward
Replacement property bought with a loan is debt-financed property, so part of its rent becomes unrelated business income every year and part of the next sale's gain is taxable again. An organization that wants clean income usually buys without debt.
A Delaware Statutory Trust allocates its loan to each investor in proportion to the interest held, which is why it counts as replacement debt for individual exchangers; see does a DST loan count as replacement debt. For an exempt investor the same allocation is likely to make its share of the income debt-financed, so a trust carrying no loan fits better.
Trust interests also carry illiquidity, sponsor fees and no control over the property. For individual donors weighing a gift of property against an exchange, see charitable remainder trust vs 1031.
Related questions
Does a church have to file anything when it sells property?
If the gain is excluded and there is no other unrelated business income, there may be nothing to report as income. Form 990-T is required when gross unrelated business income is $1,000 or more, per Publication 598.
Is the sanctuary or school building ever debt-financed property?
Not if substantially all its use, 85% or more, is related to the exempt purpose. Section 514(b)(1)(A) removes that property from the definition even if it has a mortgage.
We bought land for a future building with a loan. Is the sale taxable?
Possibly not. Section 514(b)(3) gives land bought for future exempt use a grace period, 15 years for churches, but if plans change and you sell, check whether the conditions were met.
What if the organization is a trust rather than a corporation?
Section 511(b) taxes an exempt trust's unrelated business income at the trust rates in section 1(e) instead of the 21% corporate rate.
We inherited a mortgaged rental. Is the debt counted?
Not at first. Section 514(c)(2)(B) says a mortgage on property acquired by bequest or devise is not acquisition indebtedness for 10 years after the acquisition, subject to conditions in the statute.
Sources
Checked against these publications on September 30, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- 26 U.S.C. Section 512, unrelated business taxable income
- 26 U.S.C. Section 514, unrelated debt-financed income
- Treas. Reg. Section 1.514(b)-1, definition of debt-financed property
- IRS Publication 598, Tax on Unrelated Business Income of Exempt Organizations
- 26 U.S.C. Section 511, tax on unrelated business income
- 26 U.S.C. Section 11, corporate tax rate
- 26 U.S.C. Section 1031
