In almost every ordinary situation, churches do not pay capital gains tax. A church recognized under Section 501(c)(3) owes no federal income tax on the profit from selling a building, donated land, appreciated stock, or other assets. The exemption has two real edges, though: a church that behaves like a real estate dealer, and a church that sells property while a mortgage is still on the books. Both can turn part of a gain into taxable income.
Why Most Church Property Sales Are Tax-Free
Churches that meet the requirements of Section 501(c)(3) are automatically treated as tax-exempt without applying to the IRS.1Internal Revenue Service. Churches, Integrated Auxiliaries and Conventions or Associations of Churches The exemption covers income connected to the church’s exempt purpose, and that includes capital gains from selling a sanctuary, donated land, or an investment portfolio.
Even income unconnected to the mission gets a specific shield for capital gains. Section 512(b)(5) of the Internal Revenue Code excludes gains from the sale of property from unrelated business taxable income, with only two exceptions: property that functions as inventory, and property held primarily for sale to customers in the ordinary course of business.2Office of the Law Revision Counsel. 26 U.S. Code 512 – Unrelated Business Taxable Income A church selling a donated parcel at a profit, or liquidating appreciated stock, generally owes nothing. The gain is excluded because the church is not acting as a dealer. This is the situation most churches actually face.
When a Sale Does Become Taxable
The 512(b)(5) exclusion falls away when a church’s activity starts to look like a real estate business. The classic pattern: a church receives a large land donation, subdivides it into lots, markets them, and sells them off over time. That is dealer activity, and the gains are unrelated business income rather than excluded capital gain.
For any income to become unrelated business income subject to tax, three conditions have to line up: the activity is a trade or business, it is regularly carried on, and it is not substantially related to the church’s exempt purpose.3Internal Revenue Service. Unrelated Business Income Tax A one-time land sale almost never meets that test. Repeated, systematic sales marketed to the public do.
When UBIT applies, the tax runs at the flat 21% federal corporate rate on the net income from the activity, so only the profit after directly connected expenses is taxed.4Office of the Law Revision Counsel. 26 U.S. Code 511 – Imposition of Tax on Unrelated Business Income of Charitable, Etc., Organizations
The Mortgage Trap: Debt-Financed Property
This is where churches most often walk into an unexpected tax bill. Even when a sale would qualify for the capital gains exclusion, that protection is overridden if the property was financed with debt. Section 514 treats a portion of the gain as unrelated business income whenever “acquisition indebtedness” existed on the property at any point during the 12 months before the sale.5Office of the Law Revision Counsel. 26 USC 514 – Unrelated Debt-Financed Income
The taxable share is calculated by dividing the highest outstanding debt balance during those 12 months by the average adjusted basis of the property.6eCFR. 26 CFR 1.514(a)-1 – Unrelated Debt-Financed Income and Deductions Say a church bought a property for $500,000 with a mortgage. In the 12 months before the sale, the highest mortgage balance was $200,000, and the average adjusted basis was $500,000. The taxable percentage is 40%. If the church sells for $700,000, producing a $200,000 gain, then $80,000 of that gain is unrelated business income, taxed at 21%.
The rule catches churches that simply carried a mortgage on a building they used for worship, if any debt remains within the 12-month window before selling. There is a straightforward way around it: pay off the mortgage before selling. If no acquisition indebtedness exists at any point during the 12 months preceding the sale, the debt-financed rules do not apply. Even reducing the balance before selling shrinks the taxable percentage, because the formula uses the highest balance during that window.
The 15-Year Land Rule for Churches
Congress built a specific carve-out for churches buying land for future use. Under Section 514(b)(3)(E), a church that acquires land intending to use it for its exempt purpose within 15 years is not treated as holding debt-financed property during that period, even if a mortgage sits on the land.5Office of the Law Revision Counsel. 26 USC 514 – Unrelated Debt-Financed Income Most other exempt organizations get only 10 years and must also meet a “neighborhood test” tying the land to existing property. Churches are exempt from the neighborhood requirement.
After year five, the church has to be able to show the IRS that use of the land for its exempt purpose is reasonably certain before the 15 years expire.7eCFR. 26 CFR 1.514(b)-1 – Definition of Debt-Financed Property A church buying land for a future campus and carrying a mortgage while it fundraises stays protected, as long as the plans remain credible. If the plans are abandoned or the 15 years pass without exempt use beginning, the protection disappears retroactively for the period after year five.
Filing When UBIT Applies
A church with $1,000 or more in gross income from an unrelated business must file Form 990-T, the Exempt Organization Business Income Tax Return.3Internal Revenue Service. Unrelated Business Income Tax Churches are generally not required to file the informational Form 990, but Form 990-T is a separate obligation triggered by taxable unrelated business income above that threshold.
For a church on a calendar year, Form 990-T is due May 15, with an extended deadline of November 15 if an extension is filed.8Internal Revenue Service. Return Due Dates for Exempt Organizations – Form 990-T (Corporations) Electronic filing is mandatory.9Internal Revenue Service. Instructions for Form 990-T If the church expects to owe $500 or more in UBIT for the year, quarterly estimated payments are required, calculated using Form 990-W as a worksheet.10Internal Revenue Service. Estimated Tax: Unrelated Business Income A church anticipating a significant sale with debt-financed exposure should plan those payments before the sale closes, because late-filing and late-payment penalties stack and interest accrues on top.
State Tax Is a Separate Question
Federal exemption does not automatically carry over to state and local tax. Most states offer income tax exemptions to 501(c)(3) organizations, but some require a separate state-level application, and treatment of unrelated business income and capital gains varies. A church should confirm its exempt status under its own state’s rules before assuming a property sale will be entirely tax-free.