Can Itemized Deductions Offset Capital Gains? (w/Examples) + FAQs

No, itemized deductions cannot directly offset capital gains dollar for dollar. They lower your taxable income after your adjusted gross income (AGI) is already set, and your capital gains are part of that AGI.

The reason is the order of the math. Internal Revenue Code Section 63 has you subtract itemized deductions from AGI to reach taxable income. It does not let you subtract them from one kind of income, such as a stock gain.

The deductions still help, because they cut your ordinary income first. Wages and interest sit at the bottom of the stack, and your gains sit on top of them. For tax years 2026 and 2027, a smaller base of ordinary income can keep more of your gain in the 0% or 15% bracket.

What they do not lower is your AGI or your modified adjusted gross income (MAGI). That matters for anything measured by income before deductions, including the 3.8% net investment income tax and Medicare premium surcharges.

A large gain can now shrink one of your biggest deductions as well. For 2027, the state and local tax (SALT) deduction is capped at $40,804, and under Section 164(b)(7) the cap starts to shrink once MAGI passes $510,050. People often ask whether itemized deductions increase your refund when a sale lands in the same year, and the answer depends on that order.

Itemizing only pays when your total beats the standard deduction. For 2027, that is $16,600 for a single filer and $33,200 for a married couple filing jointly under Revenue Procedure 2026-35. For 2026, the amounts are $16,100 and $32,200 under Revenue Procedure 2025-32.

The Foundation: What Itemized Deductions Actually Do to Your Tax Bill

Itemized deductions shrink the amount of income that gets taxed, but they do not cancel one kind of income. Say you earn $100,000 in wages and $20,000 in capital gains, so your AGI is $120,000. With $25,000 in itemized deductions, your taxable income is $95,000.

Internal Revenue Code Section 1 then taxes the pieces at different rates. For 2027, wages, interest and short-term gains are taxed at ordinary rates from 10% to 37%. Long-term gains get rates of 0%, 15% or 20%, based on your total taxable income.

Long-term gains stack on top of ordinary income. As a result, deductions reduce the ordinary income underneath first, which is the income taxed at your highest regular rate. In the example, the $25,000 comes off the wages, leaving $75,000 of ordinary income and the full $20,000 gain on top.

That stacking is the indirect benefit, because a lower base can pull your gain into a lower capital gains bracket. For 2027, the 15% capital gains rate ends at $563,200 of taxable income for single filers and $633,600 for married couples filing jointly, as listed in Revenue Procedure 2026-35.

Picture a single filer whose 2027 taxable income would be $590,000 with the standard deduction. The top $26,800 of the gain sits above $563,200 and is taxed at 20%. With $45,000 in itemized deductions instead, taxable income falls to $561,600 and the whole gain is taxed at 15%. The rate drop alone saves $1,340, on top of the tax saved on ordinary income.

The two schedules feed the same return at different stages. Schedule D totals your gains and losses, and that net figure lands on the capital gain line of Form 1040, where it becomes part of AGI. Schedule A totals your itemized deductions, which come off after the AGI line. Married couples who file apart have their own rules for deductions when filing separately, but the order of the math is the same.

Breaking Down AGI, Taxable Income, and Capital Gains Interaction

AGI is all of your income added together, minus a short list of adjustments such as deductible individual retirement arrangement (IRA) and health savings account contributions. Gains from selling stock, bonds, real estate or other assets are in that total. Internal Revenue Service (IRS) Publication 550 explains that both short-term and long-term gains count.

Taxable income is AGI minus the standard deduction or your itemized deductions, whichever is larger. For 2027, the standard deduction is $16,600 for single filers, $33,200 for married couples filing jointly and $24,925 for heads of household. For 2026, the head of household amount is $24,150. These amounts rise with inflation each year under Section 63(c)(4).

Other deductions also come after AGI. The Schedule 1-A deductions for seniors, tips, overtime and car-loan interest lower taxable income for tax years 2025 through 2028. Like itemized deductions, they leave AGI alone.

Here is the flow with numbers. A taxpayer has $80,000 in wages, $30,000 in long-term gains and $20,000 in itemized deductions. AGI is $110,000, and taxable income is $90,000.

The return then treats the $30,000 gain as the top layer, which gets the capital gains rates. The first $60,000 of taxable income is ordinary income taxed at regular rates.

The rate on your gain depends on taxable income, not AGI. For 2027, the 0% rate covers taxable income up to $51,050 for single filers and $102,100 for joint filers. The bracket section later in this article works through a single filer with $58,000 in wages and a $12,000 gain who reaches the 0% rate on the whole gain only by itemizing.

Early retirees who live only on long-term gains often worry that deductions have nothing to offset, but they do. With no wages, the standard or itemized deduction comes straight off the gain, and the 0% rate then covers the first layer of what is left.

The Seven Most Common Itemized Deductions and Their Capital Gains Impact

Mortgage interest

You can deduct interest on up to $750,000 of debt used to buy, build or improve your home, or $375,000 if married filing separately. Section 163(h)(3) now keeps that limit in place permanently. From tax year 2026, mortgage insurance premiums count as deductible interest again for households under the law's income limit.

The deduction lowers taxable income, not the gain. If you pay $18,000 in mortgage interest and have a $40,000 gain, Schedule D still shows the full gain.

A married couple shows the real effect. They have $150,000 of ordinary income and $50,000 of long-term gains. They pay $30,000 in mortgage interest and $12,000 in state and local taxes, for $42,000 in itemized deductions. That beats the 2027 standard deduction of $33,200 by $8,800, which saves about $1,936 at their 22% rate. Their long-term gains are taxed at 15% either way.

State and local taxes

For 2026, the cap on state and local income, sales and property taxes is $40,400, or $20,200 if married filing separately. For 2027, it is $40,804. Section 164(b)(7) cuts the cap by 30% of MAGI above $505,000 for 2026 and above $510,050 for 2027, but never below $10,000. The cap goes back to a flat $10,000 in 2030.

A New York City resident who pays $25,000 in state and city income tax and $15,000 in property tax can deduct the full $40,000. That holds only while MAGI stays at or under $510,050. A big gain can push MAGI past that line and take most of the deduction away.

A gain also raises the state tax bill itself. For tax year 2026, California taxes a gain at your regular marginal rate, and its tax rate schedules apply the top rate of 13.3% only to taxable income above $1 million. That top rate includes the 1% Mental Health Services Tax. A $200,000 gain for a Californian in the 9.3% bracket adds about $18,600 of state tax, not $26,600.

Charitable contributions

Cash gifts to public charities are deductible up to 60% of AGI, and gifts of appreciated property up to 30%, under Section 170(b). From tax year 2026, itemizers can deduct only the part of their gifts that is above 0.5% of AGI. A gain raises AGI, so it raises that floor too.

Say your AGI is $200,000, including a $60,000 gain, and you give $15,000. The floor is $1,000, so $14,000 is deductible.

Giving appreciated stock held more than a year works better than selling it first. Stock bought for $5,000 and now valued at $20,000 gives you a deduction for its full value before the floor. The $15,000 gain is never taxed, as Publication 526 explains.

Medical expenses

Medical costs count only above 7.5% of AGI under Section 213. A gain raises AGI, so it raises the bar. This is the main reason the answer to whether medical expenses offset capital gains is so often disappointing for people with large hospital bills.

With $80,000 in wages and $20,000 in medical bills, you can deduct $14,000, which is your bills minus 7.5% of your wages. Add a $50,000 gain and AGI becomes $130,000. The floor then rises to $9,750 and the deduction falls to $10,250, so the gain wiped out $3,750 of medical deductions.

Investment interest

Interest on money borrowed to buy taxable investments, such as margin interest, is deductible only up to your net investment income under Section 163(d). Interest, ordinary dividends and short-term gains count as investment income. Qualified dividends and net long-term gains do not, unless you elect to include them.

The election has a price, because any gain or qualified dividend you elect to count is taxed at ordinary rates instead of 0%, 15% or 20%. Suppose you pay $8,000 of margin interest and have $10,000 of qualified dividends and $20,000 of long-term gains. Without the election your deduction is $0, and the unused interest carries forward to the next year.

Casualty and theft losses

Personal casualty losses are deductible only when they come from a federally declared disaster or, from tax year 2026, certain state-declared disasters under Section 165(h). The loss must exceed $100 per event plus 10% of AGI. A gain in the same year raises that 10% floor, so a $200,000 gain alone removes $20,000 of a disaster loss deduction.

Gambling losses

From tax year 2026, Section 165(d) lets you deduct only 90% of your gambling losses, and never more than your winnings. A player who wins $30,000 and loses just as much can deduct $27,000. The other $3,000 is taxed even though the player broke even.

The winnings raise AGI, and the losses come off later on Schedule A. A gambling year therefore pushes up the same AGI-based floors that a capital gain does. Professional gamblers report on Schedule C, but the 90% limit applies to them as well.

How the Standard Deduction Decision Affects Capital Gains Tax Strategy

You itemize only when your deductible expenses add up to more than the standard deduction. A married couple with $12,000 in mortgage interest, $10,000 in state and local taxes and $3,000 in charitable gifts has $25,000 at most. For 2027, the joint standard deduction is $33,200, so itemizing gains them nothing.

The standard deduction rises with inflation every year, as the figures in Revenue Procedure 2026-35 show. Expenses that justified itemizing one year may fall short the next. The comparison has to be redone each year, and again whenever a sale changes your income.

High earners face a newer limit. The old Pease limitation was permanently repealed, and in its place Section 68 now trims itemized deductions for filers in the top bracket by 2/37, so each dollar deducted saves 35 cents instead of 37. For 2027, the 37% bracket starts above $661,375 of taxable income for single filers and $793,650 for joint filers. A large gain can lift taxable income into that range for one year.

Bunching means packing deductible expenses into every other year, so you clear the standard deduction in those years. Someone who gives $8,000 a year can give $16,000 every second year instead. The 0.5% charity floor that started in tax year 2026 makes this more valuable, because you lose the floor amount once instead of twice. Bunching pairs well with gains you can time, such as a stock sale or a year of loss harvesting, since both can be placed in the same year.

Rental property sales add a twist. A $100,000 gain on a rental often comes in a year when mortgage interest and property tax already exceed the standard deduction, so every extra deduction counts in full. The part of the gain tied to past depreciation, called unrecaptured Section 1250 gain, never faces a rate above 25%, and below that ceiling it follows your regular bracket. Deductions that lower your ordinary income can therefore lower the rate on that slice too.

What Changed for 2026 and 2027 Itemizers

Public Law 119-21 rewrote several Schedule A rules starting with tax year 2026. Each change below affects how much a deduction is worth in a year when you also have a capital gain.

  • The SALT deduction limit is now $40,400 for 2026, rising to $40,804 for 2027. It shrinks by 30% of MAGI above $505,000 for 2026 and $510,050 for 2027, down to a $10,000 floor.
  • Itemizers can deduct charitable gifts only above 0.5% of AGI.
  • People who take the standard deduction can still deduct up to $1,000 of cash gifts to charity, or $2,000 on a joint return.
  • Filers in the 37% bracket lose 2/37 of the value of their itemized deductions.
  • For tax years 2025 through 2028, people 65 or older can claim a senior deduction of up to $6,000 each. It phases out as MAGI rises above $75,000, or $150,000 on a joint return.
  • Mortgage insurance premiums are deductible again as mortgage interest.
  • Only 90% of gambling losses count, and never more than your winnings.
  • Miscellaneous itemized deductions, such as investment advisory fees and tax preparation fees, are permanently gone.

Three Critical Scenarios Showing Deduction and Capital Gains Math

All three scenarios use 2027 figures from Revenue Procedure 2026-35 and the 2027 SALT cap of $40,804. Each one shows a different way a deduction and a gain meet on the same return.

Three fuller household returns come later in the article, built on the same figures. A California couple shows the SALT phase-down, a Texas homeowner shows the charity floor, and a retired couple shows the senior deduction.

Scenario One: Mortgage Interest and Stock Sales

Sarah is single and lives in New Jersey. She earns $95,000 in wages and sells stock for a $45,000 long-term capital gain. She pays $22,000 in mortgage interest and $14,000 in state income and property taxes, and she gives $4,000 to charity.

Item (2027)Tax impact
Wages: $95,000Taxed at ordinary rates
Long-term capital gain: $45,000Taxed at 15%
AGI: $140,000Base for the charity floor
Itemized deductions: $39,300Beats the $16,600 standard deduction
Taxable income: $100,700Final amount taxed
Rate on the gain: 15%Ordinary income already fills the 0% range up to $51,050

Sarah's AGI is $140,000, so her 0.5% charity floor is $700. That leaves $3,300 of her $4,000 gift deductible. Her itemized deductions add up to $39,300, which is $22,000 of mortgage interest, $14,000 of state and local taxes and the charity that survives the floor.

That total beats the standard deduction of $16,600 by $22,700. All of the extra deduction comes off wages taxed at 22%, so itemizing saves her about $4,994 in federal tax. Her taxable income is $100,700 instead of $123,400.

The mortgage interest is her largest deduction. A balance of $400,000 at 5.5% produces $22,000 of interest a year, and all of it sits under the $750,000 debt limit. Her New Jersey taxes are fully deductible too, because they are under the cap of $40,804 and her MAGI is far below $510,050.

Her gain does not change what she can deduct, apart from the small charity floor, and the deductions do not earn it a lower rate. After deductions she has $55,700 of ordinary taxable income, which is more than the 0% ceiling of $51,050 for single filers. The whole $45,000 gain is therefore taxed at 15%, or $6,750, and she is nowhere near the 20% rate that starts above $563,200.

Scenario Two: Investment Interest Expense Trap

Marcus is single with $180,000 in wages, $60,000 in long-term capital gains and $25,000 in qualified dividends. He paid $18,000 in margin interest to his broker. He also has $10,000 in state and local taxes and $8,000 in charitable gifts. Margin interest rarely shows up on a list of popular tax deductions, and it comes with a limit of its own.

Choice (2027)Result
No election$0 deductible, $18,000 carried forward
Elect $18,000 of gain or dividendsFull $18,000 deduction this year
Value of the deduction at 24%$4,320 saved
Extra tax on the elected income (24% instead of 15%)$1,620 added
Net investment income tax reductionAbout $684 saved
Net savings from the electionAbout $3,384

The trap is that Marcus has no investment income that counts on its own. Qualified dividends and long-term gains are both left out of net investment income unless he makes the Section 163(d)(4)(B) election. Without it, his net investment income is $0, his deduction is $0, and the whole $18,000 carries forward.

The fix is to elect only the $18,000 he needs, not the full $85,000. He enters that amount on line 4g of Form 4952, and the 2026 version of the form is the latest one the IRS has posted. That amount of gain or dividends then loses the 15% rate and is taxed at his 24% ordinary rate.

The trade works in his favor. The $18,000 deduction saves $4,320 at 24%, while taxing the elected income at that rate instead of 15% costs $1,620. The deduction also lowers his net investment income for the 3.8% tax, which saves about $684. He comes out roughly $3,400 ahead.

Electing all $60,000 of gains would be a mistake. The extra $42,000 would be taxed 9 points higher, costing $3,780, and it would not add a dollar to his deduction. Publication 550 explains the election, and the elected amount then reduces the gain that goes through the Qualified Dividends and Capital Gain Tax Worksheet or the Schedule D Tax Worksheet.

Investment interest is an itemized deduction, so from tax year 2026 it falls under the 2/37 limit for filers in the 37% bracket. Marcus is in the 24% bracket, so the limit does not touch him.

Scenario Three: High-Income Earner With Multiple Properties

Jennifer and Mark file jointly and earn $350,000 in combined wages. They sell a rental property for a $120,000 long-term capital gain. They pay $28,000 in mortgage interest on their home and a vacation property, $45,000 in state income and property taxes, and they give $15,000 to charity.

Item (2027)Amount allowed
SALT paid: $45,000$40,804 deductible
Mortgage interest: $28,000Fully deductible
Charity: $15,000$12,650 after the 0.5% floor
Total itemized deductions$81,454
AGI: $470,000Net investment income tax of $4,560
Taxable income: $388,546Gain taxed at 15%

Their AGI of $470,000 is under the phase-down threshold of $510,050. They can therefore deduct $40,804 of the $45,000 they paid in state and local taxes. Only $4,196 is lost, which costs them about $1,007 at their 24% rate.

Their charity floor is 0.5% of $470,000, or $2,350, leaving $12,650 deductible. Total itemized deductions are $81,454, which is $48,254 more than the joint standard deduction of $33,200. Taxable income is $388,546, and their ordinary income falls in the 24% bracket.

The deductions do nothing for the 3.8% net investment income tax under Section 1411. Their MAGI of $470,000 is $220,000 over the $250,000 joint threshold. The tax applies to the smaller of that excess or their $120,000 gain, so it adds $4,560. The gain is taxed at 18.8% in total.

A bigger sale would have cost them far more. Had the gain been $300,000, their MAGI would be $650,000. That is past $612,730, where the SALT cap bottoms out, so their SALT deduction would fall from $40,804 to $10,000.

State returns follow their own rules. Texas has no income tax, so only property and sales taxes count toward the federal cap, and each state decides for itself which federal itemized deductions it allows.

How the Investment Interest Limit Works

Section 163(d) limits the deduction for interest on money borrowed to buy or carry investments. The deduction cannot be more than your net investment income for the year. Margin interest is the most common example.

Investment income for this limit includes interest, ordinary dividends, short-term capital gains and royalties. It leaves out qualified dividends and net long-term capital gain, unless you elect to include them on line 4g of the 2026 Form 4952. The form compares your interest expense with your net investment income and allows the smaller amount.

The election is a permanent trade for the dollars you elect. Each elected dollar of gain or qualified dividends is taxed at your ordinary rate instead of 0%, 15% or 20%. The elected amount comes out of the gain that gets the lower rates in the Qualified Dividends and Capital Gain Tax Worksheet or the Schedule D Tax Worksheet.

A trader shows when no election is needed. She keeps a $500,000 margin balance at 6%, which costs $30,000 of interest a year. She earns $15,000 of interest income and $50,000 of short-term gains, along with some long-term gains. On her 2027 return, her investment income is $65,000 before any election, so all of her margin interest is deductible and her long-term gains keep the 15% rate.

Interest you cannot use is not lost. It carries forward to later years with no time limit under Section 163(d)(2), and a year with more interest income or short-term gains can absorb it.

Rental property owners follow a different path. Interest on a loan used to buy a rental goes on Schedule E as a rental expense, not on Schedule A. That matters because Schedule E expenses reduce rental income and AGI, while Schedule A deductions only reduce taxable income. The passive activity loss rules can still limit a rental loss.

State-Level Capital Gains Treatment and Itemized Deduction Interactions

Most states tax a gain as ordinary income, which is why the question of whether capital gains are taxed at the state level matters as much as the federal rate. The state tax you pay on a gain then counts toward your federal SALT deduction, up to the cap.

California taxes capital gains at its regular income tax rates. For tax year 2026, the state's rate schedules set the top rate at 13.3%, which includes the 1% Mental Health Services Tax on taxable income over $1 million. A Californian in the top federal bracket can face 23.8% federal tax, including the 3.8% net investment income tax, plus that state rate on a gain.

For tax year 2026, New York State taxes gains at rates up to 10.9%, and New York City adds up to 3.876% for residents, for a combined top rate of 14.776%. New York also computes its own itemized deduction, which can differ from the federal amount. A deduction that helps on the federal return may therefore be worth less on the state return.

Texas has no state income tax, so a Texan who sells stock for a $100,000 gain owes only federal tax on it. For 2027, a Texas homeowner's property tax and sales tax both fit under the $40,804 cap. High property tax bills are far less likely to be cut off than they were under the old $10,000 limit.

Florida also has no income tax, but it charges a documentary stamp tax of 70 cents per $100 on real estate deeds in most counties. That is $7,000 on a $1 million sale. It is not a Schedule A deduction, but it is a selling expense, so it reduces the gain you report.

Washington has no income tax but does have a capital gains excise tax. The Washington Department of Revenue lists a 7% rate on long-term gains above the standard deduction, which was $278,000 for 2025. The part of taxable gains over $1 million is taxed at 9.9%.

For tax year 2026, Pennsylvania taxes gains at a flat 3.07% and does not use the federal standard or itemized deductions. Mortgage interest and charitable gifts lower a Pennsylvania resident's federal tax but not the state tax.

How Net Investment Income Tax Changes the Calculation

The 3.8% net investment income tax (NIIT) under Section 1411 applies to the smaller of two amounts. One is your net investment income. The other is the amount by which your MAGI is over $200,000 for single filers, $250,000 for joint filers or $125,000 for married filing separately. These thresholds were never indexed for inflation, so more sellers cross them every year.

The tax covers capital gains, dividends, interest, rents and other passive income. For most people, MAGI here is the same as AGI. A married couple with $300,000 in wages and $50,000 in capital gains on a 2027 return has MAGI of $350,000, which is $100,000 over the joint threshold.

The tax applies to the smaller figure, the $50,000 of gains, so at 3.8% it adds $1,900. A second couple with $240,000 in wages and $40,000 in gains has MAGI of $280,000, only $30,000 over the line. The tax on that excess comes to $1,140.

Here is the part many sellers get wrong: itemized deductions do not reduce MAGI. A couple with $35,000 of mortgage interest and charity still has MAGI of $280,000, and the $1,140 still applies. Schedule A comes after AGI, and the threshold test looks only at MAGI.

What does lower MAGI is anything that lowers AGI. Pre-tax 401(k) contributions count. So do health savings account contributions, which for 2027 are limited to $4,500 for self-only coverage and $9,000 for family coverage under Revenue Procedure 2026-24. Harvested losses, installment sale timing and qualified charitable distributions (QCDs) from an IRA do the same.

Some itemized deductions help in a narrower way. On Form 8960, deductions that are properly allocable to investment income reduce net investment income itself. Investment interest and the share of state income tax tied to investment income both qualify. They shrink the first of the two amounts, even though they leave MAGI alone.

Rental income usually counts as net investment income. The exception is a real estate professional under Section 469(c)(7) who materially participates in the rentals. That status takes more than 750 hours a year in real property businesses and more than half of your working time.

How a Capital Gain Can Shrink Your SALT Deduction

The SALT cap is tied to MAGI, and a capital gain is part of MAGI. For 2027, the cap is $40,804 minus 30% of your MAGI above $510,050. It cannot fall below $10,000, and it reaches that floor at MAGI of $612,730.

A married couple with $480,000 in wages pays $42,000 in state income and property taxes. With no sale, their MAGI is under $510,050 and they deduct $40,804. Then they sell stock for an $80,000 long-term gain, and their MAGI becomes $560,000.

That is $49,950 over the threshold. The sale took away 30% of that excess, or $14,985 of deductions they would have had without it, so their cap drops to $25,819.

At a 32% ordinary rate, the lost deduction costs about $4,795. That comes on top of $12,000 of capital gains tax at 15% and $3,040 of NIIT. The true federal cost of the $80,000 gain is close to $19,835, or about 24.8% of the gain.

The fix is timing. Splitting the sale across two tax years, harvesting losses, or raising pre-tax retirement contributions can hold MAGI under $510,050 for 2027. For 2026, the same test uses a $40,400 cap and a $505,000 threshold.

Capital Gains Tax Brackets and How Deductions Shift Your Position

For 2027, the 0% long-term capital gains rate covers taxable income up to $51,050 for single filers, $102,100 for joint filers and $68,350 for heads of household. The 15% rate then runs up to $563,200 for single filers, $633,600 for joint filers and $598,400 for heads of household. The 20% rate applies above those amounts, as set out in Revenue Procedure 2026-35.

These are taxable income figures, so deductions decide where you land. A single filer has $58,000 in wages and a $12,000 long-term gain, for AGI of $70,000. With the 2027 standard deduction of $16,600, taxable income is $53,400. That puts $2,350 of the gain above $51,050, where it is taxed at 15%, for $352.50.

Now give the same person $19,000 of itemized deductions from mortgage interest, property tax and charity. Taxable income falls to $51,000, and the whole gain is taxed at 0%. The extra $2,400 of deductions also saves $288 on wages at 12%, so total savings come to about $640.

The same effect shows up one bracket higher, where the rate on gains steps up again. A single filer has $580,000 of taxable income with the standard deduction, including $100,000 of long-term gains. The top $16,800 of the gain is over the ceiling of $563,200 and is taxed at 20%. Itemized deductions that beat the standard deduction by $20,000 bring taxable income to $560,000, and the whole gain is then taxed at 15%, saving $840.

Most sellers sit in the middle. Someone with $400,000 of taxable income, including $100,000 of long-term gains, pays 15% on those gains even though their wages are taxed at 32% or 35%.

Short-term gains get no special rate. They are taxed at ordinary income rates, which for 2027 go up to 37%. Section 1222 requires a holding period of more than one year for long-term treatment. Stock sold after 364 days is short-term, and stock sold after 366 days is long-term.

The ordering is what makes deductions valuable. The IRS worksheets tax ordinary income first and place long-term gains on top. Someone with $100,000 in wages, $50,000 in long-term gains and $20,000 in deductions has $130,000 of taxable income. The deductions come off the wage layer, leaving $80,000 of ordinary income with the whole gain stacked on top.

Figure20262027
Standard deduction, single$16,100$16,600
Standard deduction, married filing jointly$32,200$33,200
Standard deduction, head of household$24,150$24,925
0% capital gains rate ends, single$49,450$51,050
0% capital gains rate ends, married filing jointly$98,900$102,100
15% capital gains rate ends, single$545,500$563,200
15% capital gains rate ends, married filing jointly$613,700$633,600
37% bracket starts above, single$640,600$661,375
37% bracket starts above, married filing jointly$768,700$793,650

The 2026 column comes from Revenue Procedure 2025-32 and the 2027 column from Revenue Procedure 2026-35. Use the column that matches the year of your sale, not the year you file.

Common Mistakes That Cost Taxpayers Thousands

Electing too much gain for investment interest

An investor has $40,000 of margin interest, $20,000 of interest and ordinary dividends, and $100,000 of long-term gains. Without an election, only half the margin interest is deductible this year and the rest carries forward. The right move on Form 4952 is to elect just enough gain to cover that shortfall, not every dollar of gain.

Electing $20,000 of gain unlocks a deduction that saves $4,800 at a 24% rate. Taxing that gain 9 points above the 15% rate costs $1,800, so the election nets about $3,000. Electing all $100,000 would add $7,200 of tax on the other $80,000 and unlock nothing more. The Form 4952 instructions walk through the election on the form itself.

Tracking investment fees that are no longer deductible

Investment advisory fees, IRA custodial fees and tax preparation fees were miscellaneous itemized deductions. Section 67(g), as amended by Public Law 119-21, now disallows them permanently for individuals. A $15,000 annual advisory fee on a $1.5 million portfolio produces no federal deduction for 2026, 2027 or later years.

Fees paid from inside an IRA reduce the account balance but create no deduction either. Any plan that counts on these deductions coming back should be redone.

Assuming the full SALT cap in a big-gain year

The cap is $40,400 for 2026 and $40,804 for 2027, and it covers state income tax, local income tax and property tax together. The newer error is counting on the full cap when a gain pushes MAGI over $505,000 for 2026 or $510,050 for 2027. Someone who pays $20,000 in state income tax and $12,000 in property tax can deduct all $32,000 at lower income, but only $10,000 once the cap is fully phased down.

Business owners have another route. Many states let a partnership or S corporation pay state income tax at the entity level, and Notice 2020-75 allows the entity to deduct it. That deduction reduces the income on the owner's Schedule K-1 and does not count against the owner's personal SALT cap.

Overlooking qualified charitable distributions

From age 70½, you can send money straight from an IRA to a charity as a qualified charitable distribution. For 2026, the limit is $111,000 per person under Notice 2025-67. For 2027, it is $114,000 under Notice 2026-66. A QCD counts toward your required minimum distribution, which starts at age 73, and it never enters AGI.

A 74-year-old single filer has $80,000 of capital gains and a $30,000 required distribution, so AGI is $110,000. Giving the whole distribution as a QCD lowers AGI to $80,000. The 7.5% medical floor falls from $8,250 to $6,000. AGI also drops below $109,000, where the 2026 Medicare surcharge brackets begin for single filers.

A QCD creates no itemized deduction, because the income was never taxed. The lower AGI is usually the bigger prize, as Publication 590-B explains.

Selling in a high-income year without a plan

Someone selling a business for a $500,000 gain should look at deductions and timing before closing. Two years of charitable gifts in the sale year can make sense, but the gain may also cut the $40,804 SALT cap and raise the 0.5% charity floor.

An installment sale under Section 453 spreads the gain. A rental sold for a $1 million gain with 20% down and payments over five years reports about $200,000 of gain a year. That can keep each year in the 15% bracket and under the SALT phase-down threshold of $510,050.

Opportunity zone investors have a deadline this year. Gain deferred under the original opportunity zone program must be recognized on December 31, 2026, and it goes on the 2026 return. Under Section 1400Z-2, a revised program applies to investments made after December 31, 2026, with a five-year deferral.

Keeping poor basis records

Poor basis records lead people to overpay. Shares bought through dividend reinvestment pile up in dozens of small lots at different prices. The IRS allows the average cost method for mutual fund shares and for shares in a dividend reinvestment plan. Other stock needs lot-by-lot records, and a missing lot can overstate a gain by thousands of dollars.

Skipping the depreciation worksheet on a rental sale

Rental sellers often miss the depreciation piece. Unrecaptured Section 1250 gain is figured on a worksheet in the Schedule D instructions, not on a line of the form itself. Reporting the whole gain at the 15% rate leaves tax unpaid, and the IRS adds interest and penalties when it corrects the return.

Bunching gifts that barely clear the standard deduction

Bunching fails when the total barely clears the standard deduction. A $20,000 gift in a year with $15,000 of other deductions makes $35,000. For a couple with the 2027 standard deduction of $33,200, only $1,800 of that saves tax. Giving $40,000 every other year lifts the total to $55,000 in the gift year, and they take the standard deduction in the off year.

Letting automatic investing undo a harvested loss

Automatic investing breaks loss harvesting, because monthly purchases and reinvested dividends keep buying while you sell. Selling an index fund at a loss while still buying the same fund inside 30 days disallows the loss. The loss moves into the basis of the new shares and gives no benefit this year.

Copying federal deductions onto a state return

State returns do not copy the federal one. California adjusts some federal deductions, New York has its own itemized deduction rules, and Pennsylvania uses neither the standard nor itemized deductions. A plan that is right for the federal return can still overpay the state, so each state return needs its own check.

The Pros and Cons of Itemizing When You Have Capital Gains

Itemizing in a year with a gain has real upsides and real limits. The table sets them side by side, using 2027 figures where a number applies.

Pros (2027)Cons (2027)
Lowers taxable income by the amount over the standard deduction, which cuts the total bill in a gain yearTakes records, receipts and statements, which adds time and preparation cost
Can keep taxable income under $563,200 single or $633,600 joint, where the gain rate rises from 15% to 20%SALT cap of $40,804 phases down to $10,000 as MAGI rises above $510,050
Investment interest and allocable state tax can lower net investment income for the 3.8% taxDoes not lower AGI or MAGI, so the 3.8% tax thresholds and Medicare surcharges are unchanged
The investment interest election lets you deduct margin interest against gains you chooseElected gains lose the 15% rate and are taxed at ordinary rates
Charitable gifts lower taxable income, and gifts of appreciated stock also avoid the gainOnly gifts above 0.5% of AGI count, and a gain raises that floor
Mortgage interest on up to $750,000 of home debt often lifts the total over the standard deductionThe medical floor of 7.5% of AGI rises when a gain raises AGI
State income tax paid on the gain counts toward the SALT deductionFilers in the 37% bracket lose 2/37 of each deduction's value

How Depreciation Recapture Affects Real Estate Capital Gains and Deductions

When you sell a rental, the depreciation you claimed comes back as unrecaptured Section 1250 gain. It is taxed at your ordinary rate, capped at 25%, under Section 1250 and Section 1(h). It is not a flat tax at the cap, so a seller whose ordinary rate is 12% or 22% pays that lower rate on this slice.

Suppose you bought a rental for $300,000, claimed $80,000 of depreciation and sold it for $500,000. Your gain is $280,000. The part tied to depreciation gets the capped ordinary rate, and the other $200,000 gets the regular 0%, 15% or 20% long-term rates for the year of sale.

The sale itself is reported on Form 4797 and flows to Schedule D. The split is then worked out on the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions. Sellers who skip that worksheet often report the whole gain at the lower long-term rate and underpay.

Itemized deductions matter here because the recapture slice stacks right on top of ordinary income. For 2027, deductions that push ordinary income down can drop that slice from the 24% bracket to the 22% or 12% bracket. They can also keep the rest of the gain at 15% instead of 20%.

A Section 1031 exchange can defer both the appreciation and the recapture, but it applies to real property only. The replacement property carries over the old basis, so the deferred depreciation is taxed when you finally sell without exchanging.

A gain from another asset can also cost you rental loss deductions. The passive activity loss rules allow up to $25,000 of rental losses a year for active owners, and the law does not index that figure. For 2026 and 2027 alike, the allowance shrinks by 50 cents for each dollar of MAGI over $100,000 and is gone at $150,000. Someone with $90,000 in wages and $40,000 in stock gains has MAGI of $130,000, which cuts the allowance to $10,000 and suspends $15,000 of losses.

Selling costs work better than any itemized deduction. Commissions, title insurance and legal fees reduce the gain itself, dollar for dollar, before any tax is figured.

Tax-Loss Harvesting Strategies and Itemized Deduction Coordination

Capital losses do what itemized deductions cannot. They offset capital gains dollar for dollar, with no limit, under Section 1211. With $50,000 of gains and $30,000 of losses, you pay tax on $20,000.

Losses beyond your gains can offset up to $3,000 of ordinary income a year, or $1,500 if married filing separately. The law does not index those amounts, and the rest carries forward with no time limit. On a 2027 return, someone with $50,000 of gains and $80,000 of losses owes no capital gains tax, deducts the yearly limit against wages and carries $27,000 forward to 2028.

The netting is broader than many investors expect. Short-term losses first offset short-term gains, then long-term gains, and then the yearly amount of ordinary income. Capital gain distributions from mutual funds, shown on Form 1099-DIV, are long-term gains on Schedule D, so your stock losses offset them too. The full rules for when gains are offset by capital losses cover the carryforward math.

Harvested losses also beat itemized deductions in one key way, because they lower AGI and MAGI. That helps with the 3.8% net investment income tax, Medicare premium surcharges, the SALT phase-down and the phase-out of the senior deduction. An itemized deduction of the same size helps with none of those.

The order on the return is fixed. Losses net against gains first, the net gain goes into AGI, and itemized deductions come off after that. With $100,000 of gains, $60,000 of losses and $30,000 of itemized deductions, the net gain in AGI is $40,000, and the deductions then reduce taxable income.

The wash sale rule blocks a loss if you buy substantially identical securities within 30 days before or after the sale. Selling a stock at a loss and buying it back 25 days later disallows the loss and adds it to the basis of the new shares. Automatic dividend reinvestment inside that 61-day window causes many of these.

Losses on sales to related parties are disallowed under Section 267. Selling stock at a loss to your spouse, a family trust or a corporation you control gives you no deduction.

Qualified Small Business Stock Exclusion and Itemized Deduction Interactions

Section 1202 lets founders and early investors exclude gain on qualified small business stock. The stock must come from a C corporation and be bought at original issue. Two sets of rules now apply, based on when the stock was issued.

For stock issued after September 27, 2010, and on or before July 4, 2025, the exclusion is 100% after a five-year holding period. The gain cap is the greater of $10 million or 10 times your basis, and the company's gross assets could not exceed $50 million.

For stock issued after July 4, 2025, the exclusion is 50% after three years, 75% after four years and 100% after five years. The dollar cap is $15 million for 2026 and $15,480,000 for 2027. The gross asset limit is $75 million for 2026 and $77,390,000 for 2027, as adjusted in Revenue Procedure 2026-35.

Excluded gain never enters AGI. That means it does not raise the medical floor, the charity floor or MAGI for the SALT phase-down. Your itemized deductions then offset only your other income, such as wages or taxable gains.

California does not follow Section 1202. A California resident who excludes $5 million on the federal return still owes state tax on the full gain at rates up to 13.3%. For 2027, that state tax is deductible on the federal return only up to the SALT cap, and at that income level the cap is $10,000.

The alternative minimum tax can also limit what deductions do. For 2027, the exemption is $93,000 for single filers and $144,700 for joint filers. State and local taxes are not deductible at all for this tax, so a large SALT deduction can be lost in a year when the alternative tax applies.

The Timing Strategy: When to Realize Gains Based on Deduction Availability

Putting deductions into the same year as a large gain can raise their value. A taxpayer who plans to sell a business for an $800,000 gain can make extra charitable gifts and schedule elective medical care in the sale year. Packing $60,000 of deductions into that year can beat spreading $20,000 a year over three years.

The new limits cut the other way, so run the numbers first. A large gain can push MAGI over the 2027 SALT threshold of $510,050 and into the 2/37 limit. Splitting a sale between December and January can keep each year's MAGI under the threshold and save the full SALT deduction in both years.

Suspended passive losses follow their own timing. Section 469(g) releases them when you sell the whole activity in a taxable sale. Someone with $200,000 of suspended rental losses can deduct them all in the year the property is sold, which may wipe out the gain. Those losses reduce AGI, so they are worth more than itemized deductions.

Installment sales under Section 453 spread a gain over the years you are paid. Selling a rental for $1 million with $400,000 down and $600,000 over three years reports 40% of the gain in year one. That lets you use each year's deductions and brackets instead of wasting them in one high-income year.

The installment method has limits. Section 453(k)(2) excludes publicly traded stock and securities, and Section 453(b)(2)(A) excludes dealer sales. Stock sold on an exchange is taxed in full in the year of sale, so real estate sellers who carry the buyer's financing benefit most.

December 31 is the cutoff. For stock sold on an exchange, the trade date controls, so a sale on December 31 belongs to that year and a sale on January 2 belongs to the next. The constructive sale rules under Section 1259 stop you from locking in a gain with a short sale against the box or a swap while putting off the tax.

Medicare Premium Surcharges and Capital Gains Interaction With Deductions

Timing matters for Medicare too. Higher-income enrollees pay an income-related monthly adjustment amount on top of their Part B and Part D premiums. For 2026, the standard Part B premium is $202.90 a month. Surcharges start when MAGI from the 2024 return is above $109,000 for single filers or $218,000 for joint filers, and the top Part B total is $689.90 a month.

For 2027, CMS set the standard Part B premium at $209.40 a month, with the first IRMAA tier starting above $112,000 of MAGI for single filers or $224,000 for joint filers. Current amounts are listed on the Medicare costs page.

A gain counts in full. A married couple with $200,000 of other income and a $30,000 gain has MAGI of $230,000. Under the 2026 brackets, that puts them in the first tier, which adds $81.20 a month each to Part B. That is about $1,949 a year for the couple, before the smaller Part D surcharge.

Itemized deductions do not lower the income used for this test. It is AGI plus tax-exempt interest, so mortgage interest, state taxes and charity on Schedule A change nothing. QCDs, harvested losses and the timing of a sale do lower it. The link between capital gains and Medicare costs catches many first-year retirees.

The brackets are cliffs, so one dollar over a line triggers the full surcharge for the year. A seller close to a line can sometimes stay under it by moving part of a sale into January.

There is also a two-year lag, which means a gain on your 2026 return affects your 2028 premiums. Form SSA-44 lets you ask for a lower surcharge after a life-changing event such as retirement, but a one-time capital gain is not one of the listed events.

Specific Deduction Strategies for Different Types of Capital Gains

Stock and bond sales

Stock and bond sales are the easiest gains to time, because you can sell on any day the market is open. That lets you match a sale to a year with high deductions. Someone with $40,000 of itemized deductions this year and only $20,000 expected next year gets more from realizing the gain this year.

The specific identification method lets you pick which shares to sell when you bought at different prices. Selling the high-cost lot keeps the gain small, and selling the low-cost lot makes it large. An investor with 1,000 shares bought in three lots can size the gain to fit the year's deductions and brackets.

Cryptocurrency

The IRS treats digital assets as property under Notice 2014-21, so every sale or trade produces a gain or loss, even a small purchase paid in crypto. Brokers now report sales on Form 1099-DA. The form shows gross proceeds for sales from 2025 on, and it adds cost basis for covered assets acquired from 2026 on.

For older coins, the basis records are still yours to keep. Without them, you may have to report a larger gain than you really had, and no itemized deduction fixes that. Mining income is ordinary income when you receive the coins, and later growth is a capital gain when you sell.

Collectibles

Art, coins, stamps, antiques, fine wine and gold bullion are collectibles under Section 1(h)(5). A long-term gain on a collectible is taxed at your ordinary rate, capped at 28%. A short-term gain is taxed at your ordinary rate with no cap.

A collector who sells a painting for $500,000 with a $100,000 basis has a $400,000 long-term gain. At the 28% cap, the federal tax is $112,000, and the 3.8% net investment income tax adds $15,200 for a seller over the $200,000 single threshold. Itemized deductions still come off ordinary income first, so they do not save tax at the capped rate unless ordinary income is already used up.

How Business Owners Can Maximize Benefits Through Entity Structure

Owners of S corporations and partnerships get a Schedule K-1 each year, and gains keep their character as they pass through. If an S corporation sells a building for a $200,000 long-term gain, a 50% shareholder reports $100,000 of long-term gain on a personal return.

Deductions come in two layers. The business deducts rent, wages and supplies on its own return, which lowers the income on the K-1 and your AGI. Your personal itemized deductions then come off after AGI on Schedule A.

Partnership sales have a catch under Section 751. The part of a gain tied to inventory and unrealized receivables, often called hot assets, is ordinary income, not capital gain. Selling a partnership interest can therefore produce both kinds of income on one return.

The entity-level state tax election is the most useful tool for owners with large gains. Many states let a partnership or S corporation pay state income tax itself, and Notice 2020-75 still allows the entity to deduct it. That deduction lowers K-1 income and AGI, and it sits outside the owner's personal SALT cap.

It matters most for owners whose MAGI is high enough to push the 2027 cap from $40,804 toward $10,000. For them, the entity-level payment may be the only way to deduct most of the state tax on a gain. Owners who hope a business loss will absorb a stock gain should check first that the loss is nonpassive and that they have enough basis and at-risk amount to claim it.

Worked Examples: Three Full Household Returns

These three returns use 2027 federal figures from Revenue Procedure 2026-35. Each one follows a household from income to taxable income, so you can see where a gain changes the deductions along the way.

High-Income Couple in California

David and Maria live in San Francisco and have combined wages of $450,000. They sold stock for a $180,000 long-term gain. Their $1.2 million mortgage at 6% costs $72,000 a year in interest. They paid $55,000 in California income tax and $18,000 in property tax, and they gave $25,000 to charity. Like many couples at this income, they assumed the only question was the itemize or standard deduction choice, but the gain changed the answer inside Schedule A.

Component (2027)Amount
Federal AGI$630,000
SALT allowed after the phase-down$10,000
Deductible mortgage interest$45,000
Charity after the 0.5% floor$21,850
Total itemized deductions$76,850
Taxable income$553,150
Net investment income tax$6,840
Tax cost of the SALT deduction lost to the gainAbout $7,393

Their MAGI of $630,000 is above $612,730, so their SALT deduction is the $10,000 floor. Without the gain, their MAGI would be $450,000 and they could deduct $40,804. The sale cost them $30,804 of deductions, which is about $7,393 of extra tax at their 24% rate.

Their mortgage is also over the $750,000 debt limit. Only 62.5% of the interest qualifies, which is that limit divided by their $1,200,000 balance, so they deduct $45,000 of the $72,000 paid. The charity floor is 0.5% of $630,000, or $3,150, leaving $21,850 deductible.

Itemized deductions add up to $76,850, which is $43,650 more than the joint standard deduction of $33,200. Taxable income is $553,150. Their ordinary income is taxed at up to 24%, and the whole gain is taxed at 15% because taxable income is under $633,600.

The net investment income tax applies in full. Their MAGI is $380,000 over the $250,000 joint threshold, which is more than the $180,000 gain, so 3.8% of the gain adds $6,840. No itemized deduction changes that.

California taxes the gain as ordinary income. Under California's 2026 rate schedules, their marginal state rate is roughly 9.3%, so the gain adds about $16,700 of state tax. The top 13.3% rate applies only to taxable income over $1 million.

Middle-Income Single Filer in Texas

Robert is an engineer who earns $85,000. He sold inherited stock for a $35,000 long-term gain. Texas has no state income tax, but he pays $14,000 in property tax and $11,000 in mortgage interest, and he gave $3,500 to his church.

Component (2027)Amount
Federal AGI$120,000
Property tax paid and deductible$14,000, under the $40,804 cap
Mortgage interest$11,000
Charity after the 0.5% floor$2,900
Total itemized deductions$27,900
Taxable income$92,100
Tax saved by itemizingAbout $2,486

Robert's $14,000 of property tax is now fully deductible, because it is well under the cap of $40,804. His charity floor is 0.5% of $120,000, or $600, so $2,900 of his gift counts. His itemized deductions total $27,900.

That is $11,300 more than the single standard deduction of $16,600. At his 22% rate, itemizing saves about $2,486. The mortgage interest of $11,000 reflects a loan of about $183,000 at 6%.

His taxable income is $92,100. After deductions he has $57,100 of ordinary income, which is more than the 0% ceiling of $51,050, so the whole $35,000 gain is taxed at 15%. That is $5,250, compared with $7,700 if the gain were taxed at 22%.

Inherited stock is always treated as long-term, however briefly the heir holds it. Its basis is generally the value on the date of death under Section 1014, as Publication 551 explains, which kept his gain small. He owes no net investment income tax, because his MAGI of $120,000 is under the $200,000 single threshold.

Retired Couple With Multiple Income Sources

James and Patricia are both 68. They receive $48,000 a year in Social Security benefits and take $55,000 in IRA withdrawals. They sold a rental property for a $95,000 long-term gain plus $15,000 of unrecaptured depreciation gain. They pay $19,000 in mortgage interest and $10,000 in property tax, have $22,000 in medical expenses and gave $8,000 to charity.

Component (2027)Treatment
Social Security income: $48,000Partly taxable, based on other income
IRA withdrawals: $55,000Fully taxable as ordinary income
Capital gain: $95,000$39,140 at 0%, the rest at 15%
Unrecaptured depreciation gain: $15,000Taxed at 12% here, since 25% is only a cap
Provisional income: $189,000Decides how much Social Security is taxed
Taxable Social Security: $40,80085% of benefits included in AGI
Total AGI: $205,800Before deductions
Medical expense floor: $15,435Only the excess is deductible
Itemized deductions$42,536
Senior deduction$5,304
Taxable income$157,960
Net investment income taxNone

Their provisional income is their other income of $165,000 plus half of their Social Security, or $189,000. That is far over the $44,000 joint base amount, which the law does not index, so 85% of their benefits, $40,800, is taxable. Their AGI is $205,800.

The gain shrinks two deductions. The medical floor is 7.5% of $205,800, or $15,435, so only $6,565 of their $22,000 in medical bills counts. The charity floor is $1,029, leaving $6,971 of their $8,000 gift.

Itemized deductions total $42,536. Their standard deduction would be $36,600, which is $33,200 plus $1,700 for each spouse age 65 or older, so itemizing wins by $5,936.

The sale also cuts their senior deduction. Each spouse starts with $6,000, reduced by 6% of joint MAGI over $150,000. Their MAGI is $55,800 over, so each loses $3,348 and they keep $5,304 in total. Without the sale they would have kept the full $12,000, and a larger sale could push them out of the senior deduction altogether.

Taxable income is $157,960. Ordinary income is $47,960, and the $15,000 of unrecaptured gain sits on top of it in the 12% bracket, costing $1,800. The 25% rate is only a ceiling. Of the $95,000 gain, $39,140 is taxed at 0% because it falls under the joint ceiling of $102,100, and the other $55,860 is taxed at 15%.

They owe no net investment income tax, since their MAGI is under $250,000. Under the 2026 Medicare brackets, a joint MAGI of $205,800 is also under the $218,000 surcharge line. QCDs are not an option yet, because they are not available until age 70½.

What to Do Next

  1. Add up your Schedule A deductions for the sale year and compare the total with the standard deduction for that year: $32,200 joint for 2026 or $33,200 joint for 2027.
  2. Add the gain to your other income to get your MAGI, then compare it with the SALT threshold of $505,000 for 2026 or $510,050 for 2027.
  3. Check your brokerage Form 1099-B and Form 1099-DIV for unrealized losses and capital gain distributions before December 31.
  4. If you paid margin interest, fill out Form 4952 with and without an election on line 4g.
  5. If you are 63 or older, compare your MAGI with the Medicare surcharge brackets that will apply two years from now.

Frequently Asked Questions

Can I deduct capital losses against ordinary income?

Yes, but only $3,000 a year against wages and other ordinary income under Section 1211(b), or $1,500 if married filing separately. Losses beyond that carry forward with no time limit. They offset future capital gains first and then the same yearly amount of ordinary income.

Do capital gains count toward the SALT cap?

Indirectly, yes. The cap applies to taxes paid, but a gain raises your MAGI. For 2027, once MAGI is above $510,050, the $40,804 cap shrinks by 30% of the excess until it reaches $10,000. A large gain can therefore cut your SALT deduction.

Can mortgage interest offset capital gains directly?

No. Mortgage interest is an itemized deduction, so it reduces your overall taxable income, not one type of income. It lowers your final tax bill, but it does not cancel a capital gain dollar for dollar the way a capital loss does.

Do itemized deductions reduce AGI?

No. Itemized deductions reduce taxable income after AGI is set. Only adjustments under Section 62, such as deductible IRA contributions, student loan interest and health savings account contributions, reduce AGI. The Schedule 1-A deductions for seniors, tips, overtime and car-loan interest do not reduce AGI either.

Can I deduct tax preparation fees?

No, not as an individual. Section 67(g), as amended by Public Law 119-21, permanently disallows miscellaneous itemized deductions, and tax preparation fees are among them. If part of the fee is for preparing your business schedules, that part can be deducted as a business expense on Schedule C.

Can medical expenses offset capital gains impact?

Indirectly, yes, but the gain works against you. Medical expenses are deductible only above 7.5% of AGI. A capital gain raises AGI, which raises that floor and shrinks the deduction. The deduction helps only when your medical bills are far above the floor.

Do state taxes on capital gains count toward SALT?

Yes. State income tax paid on a capital gain counts toward the SALT deduction with your other state and local taxes. The cap is $40,400 for 2026 and $40,804 for 2027, and it phases down to $10,000 as MAGI rises above $505,000 for 2026 or $510,050 for 2027.

Does a capital gain reduce the new senior deduction?

Yes. The deduction of up to $6,000 per person age 65 or older shrinks by 6% of MAGI over $75,000, or $150,000 on a joint return. A capital gain is part of MAGI. The deduction applies for tax years 2025 through 2028.

Can I deduct charity if I take the standard deduction?

Yes, starting with tax year 2026. People who do not itemize can deduct up to $1,000 of cash gifts to qualifying charities, or $2,000 on a joint return. Gifts of stock or other property do not count for this deduction.

Is my opportunity zone deferred gain due now?

Yes, if you invested under the original program. The deferred gain is recognized on December 31, 2026, and reported on your 2026 return, even if you still hold the fund. A revised program with a five-year deferral applies to investments made after December 31, 2026.