How to Avoid Capital Gains Tax in Missouri: Subtraction, Exclusions, and 1031s

Missouri residents have an unusually strong set of tools for keeping capital gains tax low. The state now subtracts 100% of capital gains from Missouri adjusted gross income, so the question of how to avoid capital gains tax in Missouri is really a question about the federal bill, where rates still reach 20% depending on your bracket. The strategies below work through that federal exposure using exclusions, deferrals, basis rules, loss offsets, and accounts where gains never get taxed at all.

Start With Missouri’s 100% Capital Gains Subtraction

Missouri allows residents to subtract 100% of the capital gains reported on their federal return when calculating Missouri adjusted gross income.1Missouri Department of Revenue. Missouri Department of Revenue – Individual Income Tax Year Changes The state’s income tax calculation begins with federal adjusted gross income and then applies state-specific modifications, and this subtraction is one of the largest.2Missouri Revisor of Statutes. Revised Statutes of Missouri, RSMo Section 143.121 – Missouri Adjusted Gross Income

In practice, when you sell stock, real estate, or another investment at a profit, that gain should not increase your Missouri tax bill. The flat state rate is 4.7% for 2026, but it does not reach your capital gains.3Missouri Department of Revenue. 2026 Missouri Withholding Tax Formula Everything else in this article is about trimming the federal portion, which is where real money is at stake.

Use the Home Sale Exclusion

Selling your home is where most people run into capital gains. Under Internal Revenue Code Section 121, single filers can exclude up to $250,000 of profit from a home sale, and married couples filing jointly can exclude up to $500,000.4Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence Gain that stays off the federal return stays off the Missouri return too.

To qualify, you must have owned and lived in the home as your primary residence for at least two of the five years before the sale. The two years don’t have to be consecutive. You also can’t have used the exclusion on another home sale in the prior two years.4Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence

Partial Exclusion for Early Sales

Selling before the two-year mark doesn’t automatically kill the exclusion. A prorated version is available when the sale results from a qualifying job relocation (at least 50 miles farther from the home than your previous workplace), a health-related move, or certain unforeseeable events like a natural disaster, divorce, or job loss.5Internal Revenue Service. Publication 523 – Selling Your Home The maximum shrinks in proportion to how long you actually lived there. Eighteen months of ownership and occupancy, for example, yields 75% of the full exclusion.4Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence

Inherit, Don’t Sell: Stepped-Up Basis

Inheriting an asset resets its cost basis to the fair market value on the date the original owner died. That reset, often called a stepped-up basis, wipes out all the capital gain that built up during the decedent’s lifetime.6Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent If a parent bought stock for $20,000 and it was worth $200,000 at death, your basis is $200,000. Selling it the next day for $200,000 produces no taxable gain.

Missouri sharpens this benefit by imposing neither an estate tax nor an inheritance tax, so inherited property can pass to Missouri residents with no state-level tax consequence. The step-up does not apply to retirement accounts like IRAs and 401(k)s, where distributions are taxed as ordinary income regardless.

1031 Exchanges for Investment Property

Real estate investors can defer federal capital gains indefinitely by swapping one investment property for another through a Section 1031 exchange. The replacement property must also be held for business or investment use. An apartment building can be traded for farmland or a commercial warehouse, but investment real estate cannot be exchanged for a personal vacation home.7Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Property Held for Productive Use or Investment

The timelines are strict. After selling the original property, you have 45 days to identify replacement properties and 180 days to close. A Qualified Intermediary must hold the sale proceeds in the meantime. Touch the money directly and the exchange fails, making the full gain taxable. Intermediary fees typically run $500 to $1,500 for a standard transaction.7Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Property Held for Productive Use or Investment

A 1031 exchange defers the tax rather than erasing it. The gain rolls into the replacement property’s basis, so you owe when you eventually sell without doing another exchange. Investors who chain exchanges for decades and then pass the property to heirs can combine 1031 deferral with the stepped-up basis above, permanently eliminating the deferred gain.

Installment Sales to Spread the Gain

If you sell property and receive payments over multiple years, the IRS lets you spread the capital gain across those years under the installment method. Instead of recognizing the entire profit in the year of sale, you report a proportional share of the gain with each payment received.8Office of the Law Revision Counsel. 26 USC 453 – Installment Method

The math uses a gross profit percentage: total gain divided by total contract price. Apply that percentage to each payment (excluding interest) to find the gain reported that year.9Internal Revenue Service. Publication 537 – Installment Sales Spreading a large one-time sale across several tax years can keep you in a lower federal bracket in each of them. The installment method applies automatically to qualifying sales unless you elect out.

Offset Gains With Losses

Capital losses cancel capital gains dollar for dollar. Sell one stock for a $40,000 profit and another for a $25,000 loss in the same year, and you owe tax on $15,000. The netting happens on the federal return before the result flows to Missouri.

When losses exceed gains, you can deduct up to $3,000 of the excess against ordinary income like wages or interest ($1,500 if married filing separately). Anything beyond that carries forward indefinitely to offset gains in future years.10Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Investors who took heavy losses in a downturn can chip away at gains for years afterward.

Watch the Wash Sale Rule

Selling a losing investment to harvest the loss and then immediately buying it back does not work. The wash sale rule disallows the loss if you purchase substantially identical stock or securities within 30 days before or after the sale.11Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The 61-day window catches the most common workaround. The disallowed loss is added to the replacement shares’ basis, so it isn’t gone forever, but it won’t help this year. The rule covers stocks, bonds, ETFs, and mutual funds, and currently does not cover cryptocurrency.

Donate Appreciated Assets Instead of Selling

Giving stock, real estate, or other appreciated property directly to a qualified charity sidesteps the gain entirely. You never sell, so nothing is realized and nothing hits the federal return. The charity can sell tax-free.

To deduct the full fair market value, you need to have held the asset more than one year. Short-term holdings cap the deduction at your original cost basis, which undercuts the strategy. For stock bought years ago at a fraction of today’s price, donating shares rather than selling and writing a check can save thousands in federal taxes while still producing a charitable deduction.

Shelter Growth Inside the Right Accounts

Investments held inside tax-advantaged retirement accounts avoid capital gains tax by design. Roth IRAs are the strongest version: qualified distributions are completely tax-free federally and at the state level. The account must have been open at least five years, and you must be at least 59½, permanently disabled, or withdrawing up to $10,000 for a first home purchase. Withdrawals outside those conditions face income tax plus a 10% early withdrawal penalty on the earnings portion.

Traditional IRAs and 401(k)s don’t tax trades inside the account either, but distributions come out as ordinary income. The payoff is decades of untaxed compounding, with you controlling the timing of withdrawals in retirement.

Missouri-Specific Tax-Free Accounts

Missouri’s First-Time Home Buyer Savings Account program allows a Missouri AGI deduction of up to $800 per year for individual filers or $1,600 for married couples filing jointly, and all earnings and growth within the account stay exempt from state income tax as long as the money is eventually used for eligible home purchase expenses.12Missouri Revisor of Statutes. Missouri Code Chapter 443 Section 443.1004 – Designation of First-Time Home Buyer Savings Account Withdrawals for anything else trigger state tax on the previously exempt gains plus potential penalties.

Missouri’s MOST 529 plan offers a state deduction of up to $8,000 per year for individuals or $16,000 for joint filers, and investment growth inside the account is exempt from both federal and state taxes when withdrawn for qualified education expenses.13Missouri Department of Higher Education and Workforce Development. MOST 529 College Savings Plan14MOST 529. Tax Advantages It is one of the few accounts where investment growth is permanently tax-free rather than merely deferred.

If You Already Deferred Gains Into an Opportunity Zone Fund

The federal Opportunity Zone program lets you defer capital gains by reinvesting them into a Qualified Opportunity Fund within 180 days of the sale that generated the gain. Hold the QOF investment for at least ten years and any appreciation on the investment itself is excluded from income when you sell.15Internal Revenue Service. Opportunity Zones Frequently Asked Questions

Timing matters right now. All previously deferred gains must be recognized no later than December 31, 2026, whether or not you’ve sold the QOF investment, so the deferred amount will appear on your 2026 federal return.16Office of the Law Revision Counsel. 26 USC 1400Z-2 – Special Rules for Capital Gains Invested in Opportunity Zones Missouri’s capital gains subtraction should shield that recognized gain from state tax. The ten-year exclusion on new appreciation stays intact even after the 2026 recognition event.