Here is a made-up example, not a real client. Priya lives in Montclair, New Jersey. In 2026 she sells some fund shares she has held for three years and makes a $40,000 gain. She knows the IRS gives long-term gains a lower rate, so she expects a small tax bill. Earlier in the year, a side business she runs lost $15,000. She figures that loss will wipe out part of the gain. It may help on her federal return. On her New Jersey return it does not work that way, because New Jersey keeps gains and business losses in separate boxes. Nobody told her the IRS and her state play by different rules.
The IRS gives long-term capital gains a break. Most states do not. And each of New York, New Jersey, Pennsylvania and Connecticut has its own way of handling gains and losses. If you sell stock, real estate, a business or other property, you need to know both sets of rules before you sell.
I am an IRS-licensed tax professional in Brooklyn. I help people with IRS, New York, New Jersey, Connecticut and Pennsylvania tax problems, including questions about selling property and how the gain is taxed. This article covers the 2026 tax year in plain words. Where I could not confirm something from an official source, I say so.

The short version
- A capital gain is the profit when you sell something like stock or real estate for more than your basis. Your basis is, roughly, what you paid plus improvements, minus depreciation.
- The IRS has a lower rate for long-term gains. If you held the asset more than one year, the federal rate is 0%, 15% or 20%, depending on your income. If you held it one year or less, the gain is taxed like wages. Higher earners can also owe a 3.8% investment tax.
- New York and Connecticut start with your federal income and tax a gain at their regular rates. I found no lower state rate for long-term gains in either state.
- New Jersey has no short-term or long-term split. Gains go in their own category. A loss in another category cannot cancel them, and a loss cannot be carried to next year.
- Pennsylvania taxes gains at a flat 3.07%. Pennsylvania has no capital gains rules at all. A loss in one kind of income cannot offset another kind, and there is no carryover.
- Selling real estate in a state where you do not live can create a tax bill there. Each of the four states has its own form for it.
- I could not confirm everything. I list the open items near the end.
First, how the IRS taxes capital gains in 2026
A capital asset is almost anything you own for personal use or investment, like a house, stock or land. When you sell it, you subtract your basis from what you get. If the answer is positive, that is a gain. If it is negative, it is a loss. A loss on something you used personally, like your car, is not deductible.
Short-term and long-term
- Long-term: you held the asset more than one year. The federal rate is 0%, 15% or 20%.
- Short-term: you held it one year or less. It is taxed like wages, at the regular federal rates. The top regular federal rate is 37% (Rev. Proc. 2025-32).
The 2026 long-term rates
The 0% and 15% rates work on your taxable income, which is after deductions. Your gain stacks on top of your other income. Here are the 2026 limits from Revenue Procedure 2025-32:
| Filing status | 0% up to | 15% up to | 20% above |
|---|---|---|---|
| Married filing jointly (and surviving spouse) | $98,900 | $613,700 | $613,700 |
| Single (all other individuals) | $49,450 | $545,500 | $545,500 |
| Head of household | $66,200 | $579,600 | $579,600 |
| Married filing separately | $49,450 | $306,850 | $306,850 |
So a married couple filing jointly pays 0% federal tax on long-term gains if their total taxable income is $98,900 or less. That is taxable income, not adjusted gross income, and it is only the federal rate on long-term gains.
Extra federal rules to know
- 3.8% Net Investment Income Tax. It applies to the smaller of your net investment income or the amount your modified adjusted gross income goes over $250,000 (married filing jointly), $200,000 (single or head of household) or $125,000 (married filing separately). Capital gains count as investment income. The tax does not apply to gain from a main home that is excluded from income.
- 25% rate on unrecaptured Section 1250 gain. This is the part of a real estate gain that comes from depreciation you took on the building. The top rate on it is 25%.
- 28% rate on collectibles, such as coins or art.
- Main home. If you qualify, you may exclude up to $250,000 of gain from the sale of your main home, or up to $500,000 on a joint return.
Losses on the federal return
Capital losses first cancel capital gains. If you still have a net loss, you can deduct up to $3,000 of it against other income ($1,500 if married filing separately). Anything left over carries forward to later years. Keep this in mind, because it is the biggest difference between the IRS and two of the four states.
New York

If you live in New York
New York income tax starts with your federal adjusted gross income, then adds and subtracts a few items. Your gain is already inside that starting number. I found no separate, lower New York rate for long-term gains. So a gain is taxed at the same New York rates as wages and other income. Because you start with federal income, the federal $3,000 loss limit and loss carryover generally come along too.
New York cut its lowest rates for 2026 (Chapter 59 of the Laws of 2025), so the lowest rate is now 3.9%. Here are the 2026 rates from the state's estimated tax instructions. Each rate applies to the slice of taxable income above the number shown.
| Rate | Single starts over | Married filing jointly starts over |
|---|---|---|
| 3.9% | $0 | $0 |
| 4.4% | $8,500 | $17,150 |
| 5.15% | $11,700 | $23,600 |
| 5.4% | $13,900 | $27,900 |
| 5.9% | $80,650 | $161,550 |
| 6.85% | $215,400 | $323,200 |
| 9.65% | $1,077,550 | $2,155,350 |
| 10.3% | $5,000,000 | $5,000,000 |
| 10.9% | $25,000,000 | $25,000,000 |
- New York City. NYC residents also pay city income tax. The 2026 city rates run from 3.078% to 3.876%.
- Yonkers. Yonkers residents pay a surcharge of 16.75% of their New York State tax.
If you live somewhere else
A nonresident pays New York tax only on New York-source income. For capital gains, the state's instructions say that includes gains and losses from real or tangible personal property located in New York. It also includes gain from selling an interest in an entity that owns New York real property, if New York real property and co-op shares make up at least 50% of the value of the entity's assets that it has owned for at least two years. For stocks and bonds, the instructions count the gain as New York income only when the shares are used in or connected with a business carried on in New York.
When a nonresident sells New York real property, the deed generally cannot be recorded until the seller gives the county a Form IT-2663 and pays estimated tax, unless an exemption applies. One exemption is for a home that qualifies as your principal residence under the federal home sale rule. If the sale is part of a 1031 exchange, the instructions say to mark box 4B and note that it is a like-kind exchange. You may still need to file a New York return afterward.
A nonresident's New York capital loss is limited to $3,000 ($1,500 if married filing separately), with the rest carried to later years.
Who counts as a New York resident?
New York says you are a resident if your domicile is New York, or if you keep a permanent place to live in New York for most of the year and spend 184 days or more in the state. Your domicile does not change until you can show you gave up the New York one and set up a new one somewhere else. That matters a lot if you plan to move before you sell.
New Jersey
New Jersey does not work like the other states. It sorts your income into categories. "Net gains or income from disposition of property" is one category. Wages are another. Gambling winnings are another. The state adds up each category by itself.
- No short-term or long-term split. New Jersey does not tell the two apart, so there is no lower rate for long-term gains.
- Rates run from 1.4% to 10.75%. Table below.
- Losses stay in their category. You can net losses and gains from selling property against each other in the same tax year. If the result is a loss, you cannot use it against wages or any other category. The instructions say no carryback and no carryover of losses is allowed.
- Your New Jersey basis can be different. New Jersey generally uses your federal basis, but not always. If you sell an interest in a partnership, a sole proprietorship or rental property, you may need a New Jersey adjusted basis. If you sell S corporation shares, you must use your New Jersey adjusted basis. New Jersey also has its own depreciation rules for bonus depreciation and Section 179.
- Installment sales. You report the gain in the same year you report it federally. If your New Jersey basis is different, you make a separate New Jersey calculation.
- Main home. The gain is figured the same way as for federal purposes. Whatever is taxable federally is taxable in New Jersey.
| Rate | Single starts over | Joint, head of household starts over |
|---|---|---|
| 1.4% | $0 | $0 |
| 1.75% | $20,000 | $20,000 |
| 2.45% | no such rate | $50,000 |
| 3.5% | $35,000 | $70,000 |
| 5.525% | $40,000 | $80,000 |
| 6.37% | $75,000 | $150,000 |
| 8.97% | $500,000 | $500,000 |
| 10.75% | $1,000,000 | $1,000,000 |
These are the 2025 rate schedules, the latest the state has published. The state's rate page lists the schedules as "2020 and after," and I found no rate change for 2026. Check the state's 2026 instructions when they come out.
If you do not live in New Jersey and sell New Jersey real estate
A nonresident who sells New Jersey real property generally has to prepay Gross Income Tax at closing, whether or not there is a gain. The estimate is the gain you report for federal purposes times the highest New Jersey rate, and it cannot be less than 2% of the sale price on the deed. The seller fills out a GIT/REP form. On Form GIT/REP-3, there are boxes for a gain that is not recognized in a 1031 exchange. If part of a 1031 exchange is taxable, there are separate rules for the 2% payment.
Pennsylvania
- One flat rate: 3.07%. It has been 3.07% since 2004, according to the state's rate page.
- Eight classes of income. They are compensation, interest, dividends, net profits from a business, net gains from the sale of property, rents and royalties, estate and trust income, and gambling and lottery winnings. Your gain from selling property is its own class.
- No capital gains rules. The state guide says Pennsylvania makes no provision for capital gains and has no short-term or long-term split.
- Losses are very limited. A loss in one class cannot offset income in another class. It cannot be carried to another year. It also cannot offset a spouse's gain. A loss on property you did not buy for profit, like personal-use property, does not count at all.
- Wash sale rule. The federal wash sale rule does not apply in Pennsylvania. Each transaction stands on its own.
- Like-kind exchanges. Since January 1, 2023, Pennsylvania has allowed the deferral of gain from like-kind exchanges.
- Basis. Pennsylvania generally uses the same basis as the federal return, but for business property and for partnership and S corporation interests it is often different. The state suggests keeping separate Pennsylvania basis figures.
A Pennsylvania resident reports all gains and losses on the sale of property, no matter where the sale happens. A nonresident is taxed only on Pennsylvania-source income. For property, the state's examples include rental property in Pennsylvania, and land and buildings in Pennsylvania held as investments. The report goes on Pennsylvania Schedule D.
Connecticut
- Starts at federal income. Connecticut income tax starts with your federal adjusted gross income. A gain is already in that number.
- No lower rate for long-term gains. I found no separate Connecticut rate for capital gains on the state's 2026 Tax Calculation Schedule. Gains are taxed at the same rates as other income. Because the starting point is federal income, the federal $3,000 loss limit and loss carryover come along.
- Rates run from 2% to 6.99%. Table below.
- Extra steps for higher incomes. The 2026 schedule has a 2% rate phase-out add-back and a tax recapture. They can raise the tax above what the simple rate table gives. I did not work those out here.
| Rate | Single starts over | Married filing jointly starts over |
|---|---|---|
| 2% | $0 | $0 |
| 4.5% | $10,000 | $20,000 |
| 5.5% | $50,000 | $100,000 |
| 6% | $100,000 | $200,000 |
| 6.5% | $200,000 | $400,000 |
| 6.9% | $250,000 | $500,000 |
| 6.99% | $500,000 | $1,000,000 |
What about a Connecticut capital gains surcharge?
As of December 2, 2026, I found no capital gains surcharge in Connecticut law for the 2026 tax year. The state's 2026 Tax Calculation Schedule does not have one. In the 2026 session, a bill (Substitute Senate Bill 510) proposed a 1.75% surcharge on net capital gains starting in 2027, for Connecticut adjusted gross income of $1 million or more for single filers and $2 million or more for joint filers. The bill's status page shows it was tabled on the Senate calendar on April 20, 2026. I did not find that it became law. If that changes, the rules for 2027 could be different.
If you do not live in Connecticut
A nonresident is taxed on Connecticut-source income. The state's instructions say that includes capital gains and losses from real or tangible personal property located in Connecticut. Gains and losses from selling real property are not split up by percentage. Certain gains and losses from selling an interest in a partnership, LLC or S corporation that owns Connecticut real property must also be reported. A nonresident's Connecticut capital loss is limited to $3,000 ($1,500 if married filing separately), with the rest carried forward.
Side by side

This chart shows only the highest bracket for each. Most people pay less. New York's 10.9% starts above $25 million of taxable income, and New Jersey's 10.75% starts above $1 million. The federal 3.8% investment tax and New York City's tax would be on top of these.
| Lower rate for long-term? | Rates | Losses | Nonresident sells local real estate | |
|---|---|---|---|---|
| IRS | Yes: 0%, 15%, 20% | Short-term up to 37%. Long-term 0% to 20%. Plus 3.8% for higher incomes. | Offset gains, then $3,000 of other income. Carry the rest forward. | Not applicable |
| New York | None found | 3.9% to 10.9%. NYC residents also 3.078% to 3.876%. | Follows federal for residents. Nonresident: $3,000 limit, carryover. | NY-source income. Form IT-2663 at closing, unless exempt. |
| New Jersey | No. No short/long split. | 1.4% to 10.75% (2025 schedule). | Net within the category only. No other category. No carryover. | Prepay at closing: top rate times gain, at least 2% of price. GIT/REP forms. |
| Pennsylvania | No. No capital gains rules. | 3.07% flat. | Within the class only. No carryover. Not between spouses. | PA-source income. Reported on PA Schedule D. |
| Connecticut | None found | 2% to 6.99%, with extra steps for higher incomes. | Follows federal. Nonresident: $3,000 limit, carryover. | CT-source income, not apportioned. |
Where your loss can go

Losses are where the four states differ most. With the IRS, New York and Connecticut, a loss follows the federal pattern. In New Jersey and Pennsylvania, a loss does not travel. It has to find a gain in its own box in the same year, or it is gone. That is why Priya's $15,000 business loss does not reduce her New Jersey tax on the fund gain.
Common questions
Do New York, New Jersey, Pennsylvania or Connecticut give a lower rate for long-term gains?
Not that I found. New York and Connecticut tax gains at their regular rates. New Jersey says it does not tell short-term and long-term gains apart. Pennsylvania says it makes no provision for capital gains. Only the IRS has the 0%, 15% and 20% long-term rates.
If I live in one state and sell property in another, who taxes the gain?
Your home state taxes all of your income, including gains from property in other places. A state where the property sits can also tax the gain, if it is real property in that state. Your home state often gives a credit for tax you paid to the other state, so you are not taxed twice on the same income. New Jersey and Connecticut, for example, both have forms for it. But the rules are different in each state and the credit has limits. Check your own facts.
I live in New Jersey. Can a stock loss cancel a gain from selling another property?
Yes, if both are in the "net gains or income from disposition of property" category in the same tax year. They are netted together. What you cannot do is use that loss against wages or any other category.
I have a loss this year in New Jersey or Pennsylvania. Can I carry it forward?
No. Both states say there is no carryover of losses to a later year. This is different from the IRS, which lets you carry a net capital loss forward to later years.
Do the states follow the federal 1031 exchange rules?
Mostly, but you should check each one. Pennsylvania allows the deferral of gain from like-kind exchanges since January 1, 2023. New Jersey has a box for a 1031 exchange on its seller form. New York has a box for it on Form IT-2663. New York and Connecticut start with federal income, so a gain that is postponed federally is generally not in the starting number. See my article on Delaware Statutory Trusts for more on 1031 exchanges.
Is the gain on my main home taxed?
Federally, you may be able to exclude up to $250,000 of gain, or $500,000 on a joint return, if you qualify. New Jersey says the gain on a main home is figured the same way as federally, and New York has an exemption for a nonresident selling a home that qualifies as a principal residence. Check your own facts, because there are timing and use tests.
Does Connecticut have a capital gains surcharge?
Not for 2026, as far as I could find. A 2026 bill proposed one starting in 2027, but I did not find that it became law. See the Connecticut section above.
If I move out of state before I sell, do I avoid the tax?
Not automatically. Where you live on the day of the sale matters, but your old state may still tax income that built up while you lived there, or say you never left. For New York, your domicile stays New York until you can show you changed it. If you are being paid in installments, there are special rules too. I wrote about this in installment sales and moving from New York to Florida.
What this means for you
These are things to think about, not promises. Your own facts decide what is right for you.
- Check the date. The federal long-term rates need more than one year. If you are close to the one-year mark, the date can change your federal rate. The states mostly do not care about the date, but the year of the sale matters to all of them.
- Think about losses early. If you live in New Jersey or Pennsylvania, a loss that cannot find a gain in the same box or class that year is lost. Talk through your gains and losses before year end, not after.
- Keep your basis records. New Jersey and Pennsylvania can use a different basis than the federal return, especially for rental property, partnerships and S corporations. Keep depreciation records.
- Selling real estate where you do not live? Expect paperwork at closing: Form IT-2663 in New York, a GIT/REP form in New Jersey, and a return in Connecticut or Pennsylvania. A 1031 exchange may change what is due, but you still have to fill out the forms.
- Thinking of moving? The move date, your domicile and where you spend your days all matter. Keep a calendar and your records. Look at the installment sale rules before you move with payments still to come.
- Think about the whole year. A big gain can push you into higher federal and state brackets and into the 3.8% tax, and it can mean estimated tax payments.
- Do not decide on tax alone. Lower tax should be weighed together with the real potential of the asset. A tax saving is not worth much if the asset loses value.
What I could not confirm
- New Jersey has not yet published its 2026 rate schedules or 2026 instructions. I used the 2025 schedules, and I found no change for 2026.
- For New York residents and Connecticut residents, I used the 2025 instructions plus the 2026 rate schedules. The federal loss limit and carryover for residents follows from starting with federal income. I did not find a sentence that says so in each resident instruction.
- The Connecticut surcharge bill: I read the bill and its status page. I did not check for any later action or for a similar bill (Senate Bill 104).
- I did not research city or local income taxes other than New York City and Yonkers, or special assets such as qualified small business stock, crypto, or stock options.
- The IRS Topic 409 page still shows the 2025 rate limits. The 2026 limits above come from Revenue Procedure 2025-32.
If you are thinking about selling stock, real estate or a business and want to see how the IRS and your state will treat the gain, message me.
I help with IRS, New York, New Jersey, Connecticut and Pennsylvania tax problems.
General info, not advice for your specific case.
Sources
- Revenue Procedure 2025-32 (2026 inflation adjustments, including the capital gain rate limits and ordinary brackets)
- IRS Topic 409, Capital gains and losses (short-term and long-term, 25 percent and 28 percent rates, $3,000 loss limit and carryover; the page still shows 2025 limits)
- IRS, Net Investment Income Tax
- IRS Topic 701, Sale of your home
- New York Instructions for Form IT-2105 (2026): state, New York City and Yonkers rates
- New York Form NYS-50-T-NYS, 2026 withholding tables (notes the 2026 rate reductions under Chapter 59 of the Laws of 2025)
- New York Instructions for Form IT-201 (2025)
- New York Instructions for Form IT-203, nonresident and part-year resident return (2025): capital gains from New York sources
- New York Instructions for Form IT-2663 (tax year 2026)
- New York, Income tax definitions (domicile, permanent place of abode, resident)
- New Jersey Division of Taxation, Capital Gains
- New Jersey 2025 NJ-1040 Instructions (income categories, loss rules, Schedule NJ-DOP, 2025 tax rate schedules)
- New Jersey Division of Taxation, NJ Income Tax Rates (last updated 09/28/26)
- N.J.S.A. 54A:5-1, New Jersey gross income defined
- Governor Sherrill, FY 2027 Appropriations Act release (June 30, 2026), checked for any income tax rate change
- New Jersey TB-57(R), Estimated Gross Income Tax Payment Requirements on Sales of New Jersey Real Property by Nonresidents (revised June 15, 2026)
- New Jersey Form GIT/REP-3, Seller's Residency Certification/Exemption
- Pennsylvania Department of Revenue, Personal Income Tax (3.07 percent; eight classes of income)
- Pennsylvania Department of Revenue, Personal Income Tax Rates
- Pennsylvania Personal Income Tax Guide, Net Gains (Losses) from the Sale, Exchange, or Disposition of Property
- Connecticut Form CT-1040 TCS, 2026 Tax Calculation Schedule
- Connecticut Form CT-1040 instructions (2025)
- Connecticut Form CT-1040NR/PY instructions (2025)
- Connecticut General Assembly, Substitute Senate Bill 510 (2026), An Act Establishing a Capital Gains Surcharge (File No. 697)
- Connecticut General Assembly, bill status page for SB 510