Do You Pay Inheritance Tax on Inherited Stocks?
The short answer: probably not at the federal level, and almost certainly less than you think. The federal estate tax exemption for 2024 sits at $13.61 million per individual, which means most FATFIRE estates currently clear it cleanly. But "currently" is doing a lot of work in that sentence. The TCJA sunset after December 31, 2025 changes the math significantly, and state-level taxes hit regardless of where you land federally.
Understanding inheritance tax on stocks requires separating three distinct issues: whether an estate owes federal estate tax, whether your state imposes its own tax, and how the step-up in basis affects your capital gains exposure after you inherit. Most articles conflate all three. This one won't.
The Step-Up in Basis: The Most Valuable Tax Provision Most Heirs Underestimate
Start here, because this is where the real money is.
Under IRC Section 1014, inherited assets receive a new cost basis equal to their fair market value on the date of the decedent's death. The IRS confirms this in Publication 559: the step-up effectively erases all capital gains that accumulated during the deceased's lifetime.
The numbers are striking. A stock purchased for $50,000 that is worth $2 million at death receives a new basis of $2 million. The heir can sell immediately and owe zero capital gains tax on $1.95 million of appreciation. The Congressional Budget Office estimates this provision costs the Treasury over $40 billion annually, which gives you a sense of the aggregate value flowing to heirs.
For a FATFIRE portfolio with decades of unrealized gains, the step-up benefit frequently dwarfs any estate tax liability. A $15 million portfolio with $10 million in embedded gains passes to heirs with a clean basis. Sell the next day: no capital gains tax owed.
Inherited stocks also receive automatic long-term holding period treatment regardless of how long the deceased held them. If you inherit and sell within a week, the gain (if any, above the stepped-up basis) is taxed at long-term capital gains rates, not short-term ordinary income rates.
One critical distinction: inherited IRAs and 401(k)s do not receive a step-up in basis. As Fidelity notes, distributions from inherited retirement accounts are subject to ordinary income tax. The step-up applies to taxable brokerage accounts, directly held stocks, and similar non-retirement assets.
| Scenario | Original Basis | Value at Death | Heir's Basis | Capital Gains Tax on Immediate Sale |
|---|---|---|---|---|
| Taxable brokerage (inherited) | $500,000 | $5,000,000 | $5,000,000 | $0 |
| IRA (inherited) | N/A | $5,000,000 | N/A | Ordinary income on distributions |
| Gifted stock (lifetime transfer) | $500,000 | $5,000,000 | $500,000 (carryover) | Up to $680,000 at 20% + NIIT |
The carryover basis on lifetime gifts is why blanket gifting strategies require careful analysis. Gifting appreciated stock removes it from the taxable estate but transfers the embedded gain to the recipient. Holding appreciated stock until death and letting heirs benefit from the step-up is often the superior strategy for assets with large unrealized gains. For more on this tradeoff, see the tax implications of gifting shares before executing any transfer.
Federal Estate Tax on Stocks: Who Actually Owes It
The federal estate tax applies to the total taxable estate, not just stocks. Stocks are valued at their fair market value on the date of death (typically the average of the high and low trading prices for publicly traded securities, not the closing price). The executor then aggregates all assets, subtracts allowable deductions (debts, funeral expenses, charitable bequests, marital deduction), and applies the unified credit.
For 2024, the IRS sets the federal estate tax exemption at $13.61 million per individual. Married couples can effectively shelter $27.22 million through portability, which allows a surviving spouse to claim the deceased spouse's unused exemption (DSUE) by filing a timely Form 706 portability election. This election is not automatic. Miss the nine-month filing window (or the six-month extension), and the unused exemption disappears.
The federal estate tax rate on amounts above the exemption is 40%. A taxable estate of $17 million (after deductions) would owe 40% on $3.39 million, or roughly $1.36 million.
For privately held stock or shares in closely held businesses, valuation is more complex. Minority interest discounts and lack-of-marketability discounts can legitimately reduce the taxable value, sometimes by 20-40%. This is a contested area with the IRS, and professional appraisals matter.
For estates that include significant illiquid assets, IRC Section 6166 allows installment payments of estate tax attributable to closely held business interests, spread over up to 14 years at a reduced interest rate. This provision can be critical for estates where stocks in a family business represent a large portion of the value.
The 2026 Exemption Sunset: The Most Urgent Planning Deadline for FATFIRE Estates
The TCJA doubled the estate tax exemption when it passed in 2017. That doubling expires after December 31, 2025, reverting the exemption to approximately $7 million per individual (inflation-adjusted from the pre-TCJA baseline).
The implications are concrete. A married couple with a $20 million stock portfolio currently shelters the entire amount using portability ($27.22 million combined exemption). Post-sunset, their combined exemption drops to roughly $14 million, leaving $6 million exposed to federal estate tax at 40%. That is a $2.4 million liability that does not exist under current law.
For FATFIRE individuals with net worth between $7 million and $27 million, the sunset is the single most time-sensitive planning issue in estate law right now. Strategies that must be executed before December 31, 2025 include:
Spousal Lifetime Access Trusts (SLATs). A SLAT allows one spouse to gift assets into an irrevocable trust for the benefit of the other spouse, removing the assets from the taxable estate while the donor spouse retains indirect access through the beneficiary spouse. Gifts made now lock in the current $13.61 million exemption even if exemptions later revert.
Accelerated gifting. The IRS has confirmed that gifts made under the current higher exemption will not be "clawed back" if exemptions decrease post-sunset. Gifting appreciated stock now uses the exemption but transfers the carryover basis. For stocks with modest gains, this tradeoff may favor gifting. For stocks with large embedded gains, the step-up at death may be more valuable. Run the numbers both ways.
Irrevocable trusts funded before the deadline. Assets transferred into irrevocable trusts before December 31, 2025 are removed from the taxable estate and lock in current exemption amounts.
The window is closing. Anyone with a taxable estate between $7 million and $27 million who has not had this conversation with their estate attorney in the last 12 months should do so now.
Which States Have Inheritance or Estate Taxes on Stock Portfolios?
This is where the planning gets real for most FATFIRE readers. According to the Tax Foundation's 2024 analysis, twelve states and the District of Columbia levy estate taxes, and six states impose a separate inheritance tax. These apply regardless of the federal exemption.
Estate taxes are assessed on the estate before distribution. Inheritance taxes are assessed on the beneficiary after they receive assets. Some states, including Maryland and New Jersey, impose both.
| State | Tax Type | Exemption Threshold | Top Rate |
|---|---|---|---|
| Oregon | Estate | $1,000,000 | 16% |
| Massachusetts | Estate | $2,000,000 | 16% |
| Illinois | Estate | $4,000,000 | 16% |
| Washington | Estate | $2,193,000 (2024) | 20% |
| New York | Estate | $6,940,000 (2024) | 16% |
| Connecticut | Estate | $13,610,000 (matches federal) | 12% |
| Pennsylvania | Inheritance | None | 4.5% (direct descendants) |
| Nebraska | Inheritance | $40,000 (close relatives) | Up to 15% |
| New Jersey | Inheritance | None (Class D beneficiaries) | Up to 16% |
| Maryland | Both | $5,000,000 (estate) | 16% estate / 10% inheritance |
Pennsylvania deserves particular attention. There is no exemption threshold for inheritance tax. A $5 million inherited stock portfolio transferred to a child triggers a $225,000 state tax bill at 4.5%, full stop. The federal exemption is irrelevant. For FATFIRE individuals domiciled in Pennsylvania, state-level planning is not optional.
New York's "cliff" structure is also worth noting: if an estate exceeds the exemption by more than 5%, the entire estate becomes taxable, not just the excess. An estate worth $7.3 million in New York could owe more tax than one worth $7 million.
State-level planning options include domicile changes (establishing residency in a no-tax state like Florida or Texas before death), irrevocable trusts structured under favorable state law, and charitable strategies. The state inheritance tax deductibility rules add another layer worth reviewing with your tax attorney.
How to Calculate Capital Gains Tax When You Sell Inherited Stock
After the step-up in basis, capital gains on inherited stocks are calculated on appreciation above the date-of-death value, not the original purchase price.
If you inherit stock worth $500,000 at the date of death and sell it six months later for $550,000, you owe long-term capital gains tax on $50,000. The holding period is automatically treated as long-term, so the rate is 0%, 15%, or 20% depending on your income, plus the 3.8% Net Investment Income Tax if your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).
For FATFIRE individuals, the 20% + 3.8% = 23.8% combined rate applies to most capital gains. On $50,000 of gain, that is $11,900. Manageable. On $5 million of gain above a stepped-up basis, it is $1.19 million. Worth planning around.
Strategies to reduce capital gains after inheriting:
- Hold and let gains reset. If you inherit a concentrated position you want to exit, consider whether a brief hold allows you to time the sale across tax years or offset gains with losses elsewhere in your portfolio.
- Donate appreciated shares to a DAF. Contributing inherited stock (with a stepped-up basis) to a Donor-Advised Fund generates a charitable deduction at full fair market value. If the stock has appreciated further since the date of death, you avoid capital gains on that additional appreciation.
- Charitable Remainder Trusts. A CRT allows you to contribute appreciated stock, receive an income stream, and defer capital gains on the sale within the trust. The trust eventually passes the remainder to charity. For philanthropically inclined FATFIRE individuals, this structure can reduce estate tax, generate income, and satisfy charitable goals simultaneously.
For a broader set of capital gains tax strategies on inherited and non-inherited positions, the mechanics vary significantly by asset type.
Strategies to Minimize Inheritance Tax on a Large Stock Portfolio
For estates that do face estate tax exposure, the planning toolkit is specific. Generic advice about "trusts" and "gifting" is not useful at this level. Here is what actually moves the needle.
Grantor Retained Annuity Trusts (GRATs). A GRAT transfers assets out of the taxable estate while the grantor retains an annuity stream for a fixed term. If the assets outperform the IRS Section 7520 hurdle rate during the term, the excess appreciation passes to heirs estate-tax-free. GRATs are particularly effective for volatile or high-growth stocks. The 7520 rate has been elevated (above 5% through much of 2024), which compresses GRAT efficiency compared to the near-zero rate environment of 2020-2021, but rolling short-term GRATs remain viable for high-conviction positions.
Intentionally Defective Grantor Trusts (IDGTs). An IDGT is structured to be outside the estate for estate tax purposes but inside the estate for income tax purposes. The grantor pays income taxes on trust earnings, effectively making additional tax-free gifts to the trust beneficiaries. Selling appreciated stock to an IDGT in exchange for a promissory note is a common strategy: the sale is not a taxable event (grantor trust rules), the stock leaves the estate, and the note is repaid at the 7520 rate.
Annual exclusion gifting. The 2024 annual gift tax exclusion is $18,000 per recipient. A married couple can gift $36,000 per recipient per year with no gift tax and no exemption reduction. Over 10 years with three children and six grandchildren, that is $3.24 million removed from the estate. Not transformative on its own for a $20 million estate, but meaningful as part of a broader strategy. Review gifting assets during your lifetime for the mechanics and timing considerations.
Irrevocable Life Insurance Trusts (ILITs). An ILIT owns a life insurance policy outside the taxable estate. The death benefit passes to heirs estate-tax-free and can provide liquidity to pay estate taxes without forcing a sale of illiquid assets or concentrated stock positions.
Using trusts to minimize inheritance taxes across generations, including generation-skipping structures, requires coordination between your estate attorney and tax advisor. The trusts for grandchildren mechanics differ meaningfully from standard bypass trusts.
QTIP Trusts and Portability: Planning for Married Couples
Married couples have two primary tools for maximizing estate tax efficiency: portability and QTIP trusts. They serve different purposes and are not mutually exclusive.
Portability allows a surviving spouse to claim the deceased spouse's unused exemption by filing Form 706 within nine months of death (extendable to 15 months). The combined shelter under current law is $27.22 million. Portability is straightforward but has a critical weakness: the DSUE amount does not adjust for inflation and is not protected from future estate tax law changes. If Congress reduces exemptions, a surviving spouse holding a large DSUE may find it partially clawed back (though this remains legally contested).
QTIP trusts (Qualified Terminable Interest Property trusts) allow a decedent to provide income to a surviving spouse while controlling the ultimate disposition of assets. The assets qualify for the marital deduction, deferring estate tax until the surviving spouse's death. Critically, the assets receive a second step-up in basis at the surviving spouse's death, which can be enormously valuable for appreciated stock portfolios held in the trust.
The American Bar Association notes that QTIP trusts are particularly useful when the decedent wants to provide for a surviving spouse but ensure assets ultimately pass to children from a prior marriage, or when the couple wants to control how assets are invested and distributed rather than leaving full discretion to the surviving spouse.
For FATFIRE couples with blended families or significant separate property, the QTIP structure often outperforms simple portability reliance.
Reporting and Paying Estate Tax on Inherited Stocks
The executor of the estate bears responsibility for filing and paying. For estates subject to federal estate tax, Form 706 must be filed within nine months of the date of death. A six-month extension is available, but it extends the filing deadline only, not the payment deadline. Tax owed is due at the nine-month mark regardless.
For publicly traded stocks, valuation uses the average of the high and low prices on the date of death, not the closing price. If the date of death falls on a weekend or holiday, the executor averages the prices from the surrounding trading days. The estate can also elect an alternate valuation date six months after death if the estate's value has declined, which can reduce the tax bill.
Penalties for late filing run 5% of the unpaid tax per month, capped at 25%. Late payment penalties are 0.5% per month. Interest accrues on top of both. For a large estate, these add up quickly.
If the estate consists largely of illiquid assets, IRC Section 6166 allows installment payments over up to 14 years for the portion of estate tax attributable to closely held business interests. The interest rate on deferred tax is set at 2% on the first $1.77 million (2024, inflation-adjusted) and 45% of the federal short-term rate on amounts above that.
For non-U.S. citizens or beneficiaries receiving assets from foreign decedents, the rules differ substantially. The inheritance tax rules for non-residents involve both U.S. and foreign tax considerations that require specialized counsel.
What Happens to Unrealized Capital Gains on Stocks When Someone Dies?
They disappear. This is the step-up in basis at work, and it is the correct answer to one of the most common questions about inherited stocks.
Under current law, all unrealized appreciation that accumulated during the decedent's lifetime is permanently excluded from capital gains tax. The heir's basis resets to the date-of-death value. If the heir sells immediately, there is no capital gain. If the heir holds and the stock appreciates further, only the post-inheritance appreciation is taxable.
This has a significant planning implication: for assets with large embedded gains, holding until death is often the optimal strategy. Selling during life triggers capital gains tax. Gifting during life transfers the carryover basis to the recipient. Holding until death eliminates the gain entirely.
The Biden administration proposed replacing the step-up with a deemed realization at death in 2021. That proposal did not pass. The current administration has not advanced similar legislation, but the step-up remains a recurring target in tax reform discussions. Its elimination would represent one of the largest tax increases on inherited wealth in U.S. history, and estate planners should monitor legislative developments.
For transfer-on-death accounts, the step-up applies in the same manner as other inherited assets. Transfer on death accounts pass outside of probate but are still included in the taxable estate and still receive the stepped-up basis.
ETFs, Mutual Funds, and Other Stock Vehicles: Inheritance Tax Considerations
Stocks held inside ETFs and mutual funds receive the same step-up in basis treatment as directly held shares. The heir's basis in the ETF or fund shares resets to the date-of-death net asset value.
One nuance with ETFs: the in-kind creation/redemption mechanism that makes ETFs tax-efficient during life does not provide any additional benefit at death beyond the standard step-up. The step-up is the step-up, regardless of vehicle. For ETF taxation considerations during life, the mechanics differ, but at death the treatment converges.
Mutual funds can carry embedded capital gains distributions that affect heirs differently. If a mutual fund distributes capital gains shortly after the date of death, the heir may owe tax on those distributions even though the underlying shares received a step-up. This is a timing issue worth monitoring in the months after inheriting a mutual fund position.
For stocks held in retirement accounts, the rules are entirely different. Inherited traditional IRAs and 401(k)s do not receive a step-up in basis. Distributions are taxed as ordinary income. The SECURE Act 2.0 rules require most non-spouse beneficiaries to fully distribute inherited IRAs within 10 years, which can create significant income tax exposure for high-income heirs. The inheritance tax on retirement accounts deserves separate analysis from taxable stock portfolios.
To estimate your estate's tax liability across federal and state jurisdictions, a purpose-built calculator is more reliable than manual estimates given the complexity of exemptions, deductions, and state-specific rules.
References
- Internal Revenue Service -- "Publication 559: Survivors, Executors, and Administrators" (2024).
- Internal Revenue Service -- "IRC Section 1014 – Basis of Property Acquired from a Decedent" (via Cornell Law School).
- Internal Revenue Service -- "Estate and Gift Tax – IRC Section 2010, Unified Credit" (2024).
- Tax Cuts and Jobs Act (TCJA), Public Law 115-97 -- "Tax Cuts and Jobs Act of 2017 – Sunset Provisions" (2017).
- Tax Foundation -- "State Estate and Inheritance Taxes, 2024" (2024).
- Internal Revenue Service -- "Instructions for Form 706: United States Estate (and Generation-Skipping Transfer) Tax Return" (2024).
- American Bar Association -- "Section of Real Property, Trust and Estate Law – Estate Planning Resources."
- Fidelity Investments -- "Inherited Accounts: Tax Rules and Strategies" (2024).
- Congressional Budget Office -- "The Distribution of Major Tax Expenditures in the Individual Income Tax System" (2023).
