Property taxes are generally not subtracted directly from a capital gain, but they may still reduce the amount of gain recognized when a property is sold if they were paid in the year of sale and properly apportioned between the seller and the buyer; separately, for many individual taxpayers, state and local property taxes are deductible only as an itemized deduction subject to statutory limits, not as an offset to the gain itself. The question is ambiguous because “deductible from capital gains” can mean three different things: (1) treated as a selling cost that reduces the amount realized and therefore the gain, (2) deducted against gross income on Schedule A, which may lower overall tax including tax on a gain, or (3) deducted from the gain line itself on a capital-gains computation. Only the first is a true gain-reducing treatment, and only in narrow circumstances; the second is an itemized deduction subject to the state-and-local-tax (SALT) cap and the standard-deduction comparison; the third is not how federal individual income tax works.
The short answer, then, is that property taxes do not come off capital gains as a class of “capital gains deduction.” They are either ordinary itemized deductions against income (subject to limits) or, in a real-estate sale, apportioned between seller and buyer with the buyer generally deducting the taxes for the portion of the year after closing, and any tax refunded or credited to the seller at closing reducing the amount realized. Which outcome applies depends on the year paid, who owned the property on the relevant date, whether the taxpayer itemizes, whether the property was personal or business/investment property, and whether the taxes were ordinary taxes or special assessments. The reference date is November 14, 2026, and the authoritative text available is the United States Code, 2024 Edition, of 26 U.S.C. § 164; because tax law changes, the specific SALT cap and any later amendments must be checked for the actual year of sale, and this answer cannot confirm post-2024 changes beyond the statute shown.
Why the confusion arises: three different “deductions”
Property taxes sit at an awkward intersection of two entirely separate parts of the tax code, and mixing them up produces most of the confusion.
First, real property taxes are “taxes” under 26 U.S.C. § 164(a)(1), which allows a deduction for state and local, and foreign, real property taxes “for the taxable year within which paid or accrued.” That is an itemized deduction from gross income, not a capital-gain adjustment in the sense of reducing the gain itself. It is taken on Schedule A of Form 1040 for individuals, and it competes with the standard deduction. If the taxpayer does not itemize, the property tax produces no federal income-tax benefit at all, let alone a capital-gains benefit.
Second, when real property is sold, § 164(d) and the accompanying regulations require apportionment of the real property taxes between seller and buyer based on the period each owned the property during the taxable year. This is often called the “seller-buyer apportionment” rule. The practical effect is that the seller and buyer each deduct the portion of the year’s taxes attributable to their own period of ownership, regardless of who actually wrote the check to the taxing authority. A seller who paid a full year’s taxes before closing may be treated as having paid, in effect, the buyer’s share, and that amount is typically credited at closing. The regulations also address what happens when taxes are refunded or credited.
Third, in a sale of property, certain taxes paid “in connection with an acquisition or disposition of property” that are not described in the first sentence of § 164(a) are treated as part of the cost of the acquired property or as a reduction in the amount realized on the disposition, rather than as a current deduction. That rule is in the last sentence of § 164(a). It matters for transfer taxes and similar charges, not for ordinary recurring real property taxes, which are described in § 164(a)(1) and therefore generally remain deductible as taxes rather than being capitalized. This is a key distinction: ordinary property taxes are deductible under the first sentence; other taxes connected with a sale may be capitalized or reduce amount realized.
Because these treatments coexist, a taxpayer can honestly say “my property taxes affected my capital gain” in one year and “my property taxes are an itemized deduction” in another. Both can be true, but they are not the same mechanism.
The core rule under § 164
The statute is the cleanest starting point. Section 164(a) says that, except as otherwise provided, the following taxes “shall be allowed as a deduction for the taxable year within which paid or accrued”: state and local, and foreign, real property taxes; state and local personal property taxes; state and local, and foreign, income, war profits, and excess profits taxes; and the generation-skipping transfer tax imposed on income distributions. The deduction is for the year of payment or accrual, which for a cash-basis individual generally means the year the tax bill is paid to the taxing authority.
Then § 164(b) supplies definitions and special rules. “Personal property tax” means an ad valorem tax imposed on an annual basis on personal property. “State or local taxes” include only taxes imposed by a state, a U.S. possession, a political subdivision of either, or the District of Columbia. “Foreign taxes” include only taxes imposed by a foreign country’s authority. These definitions matter because not every charge labeled a “tax” by a locality qualifies: a fee for a private benefit, a special assessment for a local improvement, or a charge that is really a service fee is treated differently.
The most important limitation for present purposes is that § 164 is an itemized deduction provision for individuals. It does not create a special capital-gains deduction. Capital gains are computed under the capital-gain rules (basis, amount realized, holding period, character), and § 164 deductions are applied against gross income in arriving at taxable income. The ordering matters: a capital gain increases gross income and adjusted gross income; an itemized § 164 deduction reduces taxable income after the standard-deduction comparison, which can reduce the tax attributable to the gain, but it does not change the gain figure that flows into the capital-gains computation.
Apportionment in a real-estate sale: the rule that actually touches gain
The provision that most directly touches a sale of real property is § 164(d), which requires that real property taxes be apportioned between the seller and the purchaser on the basis of the period each held the property during the taxable year. It applies for purposes of § 164, and the regulation at 26 C.F.R. § 1.164-4 and related provisions explain the mechanics. The governing idea is that the deduction belongs to the owner for the portion of the year during which that person owned the property, even if the other party actually paid the tax bill.
A concrete example makes this clear. Suppose a seller owned a house from January 1 through June 30 and sold it on June 30; the buyer owned it from July 1 through December 31. The county bills $6,000 for the calendar year, payable in the fall. Under apportionment, the seller is treated as having paid $3,000 (January through June) and the buyer as having paid $3,000 (July through December), regardless of who actually pays the county. At closing, the parties typically adjust for this by crediting the seller or buyer, so the economic burden matches the tax treatment. The seller deducts $3,000 as real property taxes on Schedule A; the buyer deducts $3,000. Neither party gets to deduct the full $6,000 merely because one of them wrote the check.
The connection to capital gain is indirect but real. If the seller had prepaid the full year’s taxes before closing, and the buyer’s share is credited to the buyer at closing, the seller’s amount realized may be affected by the credit, and the seller’s deduction is limited to the seller’s half. Conversely, if the buyer reimburses the seller for taxes the seller paid, the reimbursement is not income to the seller; it is part of the closing adjustment. The gain on the sale is computed from the amount realized (sales price minus selling expenses, plus or minus closing adjustments) minus adjusted basis. Property taxes are not a selling expense in the way a real-estate commission is; they are a separately deductible item (subject to the SALT cap and itemizing), and apportionment determines who deducts what.
This is where a common misconception arises: people sometimes say “I deducted my property taxes from my capital gain” when what actually happened is that the taxes were apportioned at closing, the buyer’s portion was credited, and the seller’s deduction appeared on Schedule A. The gain line on Form 8949 and Schedule D does not show a property-tax subtraction. The tax benefit, if any, shows up in the itemized deductions and the resulting taxable income.
The SALT cap and why the deduction may not help
For individual taxpayers, the § 164 deduction for state and local taxes is subject to a statutory cap on the aggregate deduction for state and local taxes. The cap was enacted in 2017 and has been modified since; its amount and any sunset or extension depend on the year and on subsequent legislation. The 2024 Edition of the U.S. Code reflects the statute as of that edition, but the actual cap for a 2026 sale must be confirmed against the law in effect for that year. The supplied source does not establish the 2026 cap, so this answer cannot state a 2026 dollar figure as verified.
The cap matters because it limits the practical benefit of deducting property taxes. If a taxpayer’s combined state and local income, sales, and property taxes exceed the cap, the excess is not deductible for federal purposes (with limited exceptions, such as certain business or rental uses). A high property-tax bill on a personal residence may therefore produce little or no federal benefit, even though it is nominally “deductible.” The capital gain itself is unaffected by the cap; the cap limits the deduction against income, not the gain computation.
There is also the standard-deduction comparison. For many homeowners, the standard deduction exceeds the sum of itemized deductions, especially after the SALT cap. In that case, the property tax produces no federal income-tax benefit. Again, the gain is computed the same way; the deduction simply does not materialize.
Business, rental, and investment property: a different path
When real property is used in a trade or business or held for the production of income, property taxes may be deductible as ordinary and necessary business expenses under other provisions, such as § 162 or § 212, rather than as itemized deductions under § 164. The § 164(a) flush language allows a deduction for state and local, and foreign, taxes not described in the first sentence that are paid or accrued in carrying on a trade or business or an activity described in § 212. For rental property, property taxes are typically deductible on Schedule E as an expense of the rental activity, and they reduce net rental income rather than beingitemized on Schedule A. They are not, however, subtracted from the capital gain on sale as a separate line item; the gain is computed from amount realized minus adjusted basis, and the annual rental expenses have already been accounted for in computing net rental income in prior years. A property tax paid in the year of sale may be apportioned under § 164(d) and deducted in the appropriate capacity.
For inventory or dealer property, the analysis differs again because the property is not a capital asset. The question specifically asks about capital gains, so the discussion here is limited to capital assets and § 1231 property; a full treatment of inventory accounting is beyond the question.
Special assessments are not deductible taxes
A frequent source of error is treating a special assessment as a deductible property tax. The regulation at 26 C.F.R. § 1.164-4 states that so-called taxes for local benefits—more properly assessments—paid for local benefits such as streets, sidewalks, and similar improvements, imposed because of and measured by some benefit inuring directly to the property against which the assessment is levied, are not deductible as taxes. A tax is considered assessed against local benefits when the property subject to the tax is limited to property benefited. Special assessments are not deductible, even if an incidental public benefit results. The real property taxes that are deductible are those levied for the general public welfare by the proper taxing authorities at a like rate against all property in the territory over which those authorities have jurisdiction.
The practical consequence for capital gains is that an assessment for a new sidewalk or sewer line is generally added to the property’s basis (if it increases the property’s value or useful life) rather than deducted currently. Adding to basis reduces gain on sale by increasing adjusted basis, which is a genuine gain-reducing effect, but it is not a § 164 deduction. This distinction is worth stating plainly because homeowners often lump assessments and taxes together on their returns and then wonder why the “property tax” deduction is disallowed in part.
What about paying property taxes in the year of sale?
Timing can create the appearance of a capital-gains offset. Suppose a seller pays the full year’s property tax in January and sells in December. Under apportionment, the seller is treated as having paid only the portion attributable to the seller’s period of ownership; the buyer is treated as having paid the rest. At closing, the buyer’s share is typically credited to the buyer, reducing the seller’s net proceeds. The seller’s deduction is limited to the seller’s share, and the credit affects the amount realized. The net effect is that the seller does not get a full deduction for taxes attributable to a period after the sale, and the gain is computed on the adjusted amount realized. This is not a “capital gains deduction” in the ordinary sense; it is an apportionment and closing-adjustment rule.
If the seller pays taxes after closing for a period during which the seller no longer owned the property, the apportionment rule still governs the deduction, and any reimbursement from the buyer is part of the closing adjustment. The IRS instructions for Schedule A and the regulations on apportionment provide the mechanics; the principle is that the deduction follows ownership for the portion of the year, not the checkbook.
Common misconceptions, stated directly
“Property taxes reduce my capital gain dollar for dollar.” Not as a general rule. Ordinary property taxes are itemized deductions subject to the SALT cap and the standard-deduction comparison; they do not appear on the capital-gain computation line. Only taxes that are properly capitalized or treated as a reduction in amount realized (for example, certain transfer taxes not described in § 164(a)(1)) affect the gain computation directly, and ordinary recurring property taxes are described in § 164(a)(1).
“I can deduct the full year’s taxes because I paid the bill.” Apportionment under § 164(d) can limit the deduction to the portion of the year the taxpayer owned the property, with the other portion treated as paid by the other party and adjusted at closing.
“Special assessments are just property taxes.” They are not deductible as taxes under the regulation; they are generally added to basis if they qualify as capital improvements, which affects gain on sale but by a different mechanism.
“The SALT cap does not matter because property taxes are deductible from the gain.” The cap limits the itemized deduction against income; it does not change the gain computation. The two are separate.
“If I do not itemize, I still get the property-tax benefit against my gain.” No. If the standard deduction is used, the § 164 deduction produces no federal benefit, and the gain is computed without regard to it.
A worked illustration
Assume a single taxpayer sells a personal residence on June 30, 2026, for $500,000. Adjusted basis is $300,000. The county bills $8,000 of ordinary real property taxes for the calendar year, payable in October. The seller owned the property January 1 through June 30; the buyer owns July 1 through December 31. At closing, the parties apportion the taxes: the seller’s share is $4,000 (roughly half the year), and the buyer’s share is $4,000. The seller pays the county $8,000 in October, and the buyer credits the seller $4,000 at closing (or the closing statement reflects the adjustment). The seller’s amount realized is $500,000 minus selling expenses, with the $4,000 credit treated as an adjustment; the gain is amount realized minus $300,000 adjusted basis. The seller deducts $4,000 as real property taxes on Schedule A, subject to the SALT cap and the standard-deduction comparison. The buyer deducts $4,000 as real property taxes for the buyer’s period, subject to the same limits. The $8,000 is not subtracted from the gain as a single line; the gain computation and the itemized deduction are separate. If the seller does not itemize, the $4,000 deduction produces no federal benefit, but the gain is still computed with the closing adjustment.
The numbers are illustrative and simplified; actual closing statements, escrow adjustments, and tax years vary. The principle is that apportionment and itemization, not a capital-gains subtraction, govern.
What must be checked for a specific year
Because the reference date is November 14, 2026, and the authoritative text supplied is the 2024 Edition of the U.S. Code, the following must be confirmed against the law in effect for the year of the sale: the SALT cap amount and any phase-down or extension; whether the taxpayer itemizes or takes the standard deduction; the taxpayer’s filing status and income; whether the property is personal, rental, business, or investment property; whether the taxes are ordinary real property taxes or special assessments; the closing-date apportionment; and any state income-tax treatment, which can differ from the federal rules. State conformity to § 164 varies, and some states decouple from the SALT cap or treat property taxes differently for state capital-gains purposes. Those points are outside the federal statute supplied and must be checked with the applicable state authority and a qualified tax professional.
The federal principle, as supported by 26 U.S.C. § 164 and the regulation on local-benefit assessments, is stable: ordinary real property taxes are deductible as taxes for the year paid or accrued, subject to apportionment in a sale and to the limitations applicable to itemized deductions; special assessments are not deductible as taxes; and neither is a direct subtraction from the capital gain line. The gain is computed from amount realized and adjusted basis, with closing adjustments and capitalization rules doing the work where they apply.
FAQ
Can I deduct property taxes from my capital gain on a rental property sale? Property taxes on rental property are generally deducted as rental expenses in the years paid, subject to apportionment in the year of sale. They are not subtracted from the capital gain as a separate line; the gain is amount realized minus adjusted basis, and prior-year rental expenses have already affected net rental income.
Do property taxes reduce the amount realized? Only in the sense of closing adjustments and apportionment. Ordinary real property taxes are described in § 164(a)(1) and are deducted as taxes, not treated as a reduction in amount realized. Certain other taxes connected with a sale that are not described in the first sentence of § 164(a) may be capitalized or reduce amount realized under the flush language.
Are property taxes deductible if I take the standard deduction? No federal benefit arises from the § 164 deduction if the taxpayer takes the standard deduction; the deduction is an itemized deduction. The gain computation is unaffected.
What about the SALT cap? The cap limits the aggregate state and local tax deduction for individuals. Its amount and any changes for 2026 must be confirmed against the law in effect; the 2024 Edition of the U.S. Code does not by itself establish the 2026 figure.
Are special assessments deductible? Generally no, under 26 C.F.R. § 1.164-4. They may be added to basis if they qualify as capital improvements, which affects gain on sale by increasing adjusted basis.
Does state law follow the federal treatment? Not always. State conformity, decoupling, and state capital-gains rules vary and must be checked separately.
This is general federal tax education, not individualized tax advice. The SALT cap, filing status, property use, closing adjustments, and state rules can change the outcome; confirm the law in effect for the year of sale and consult a qualified tax professional or the IRS instructions for the applicable forms.