Taxstra Logo
State Tax Guide

New Mexico Capital Gains Tax, Explained

Gains are taxed as ordinary income up to 5.9%, but a capped deduction under Section 7-2-34 shields the first slice, and a much bigger break exists if you're selling a New Mexico business. Here's the actual math.

★ 5.0 on Google113 reviews1,000+ clientsAll 50 states, fully remote

Quick Answer

New Mexico taxes capital gains as ordinary income, on top of your wages and other income, at graduated rates up to 5.9%. Before that math runs, Section 7-2-34 lets you deduct the greater of your net capital gain up to a $2,500 cap, or, only if you sold a business with New Mexico-sourced gain, 40% of up to $1,000,000 of that gain. Sell stock or a rental for a $50,000 long-term gain and the deduction is capped at $2,500, leaving $47,500 taxable, about $2,802 in New Mexico tax at the top rate. Sell a qualifying New Mexico business for the same $50,000 gain and the 40% option shields $20,000, leaving just $30,000 taxable, about $1,770. Run your own numbers in the capital gains tax calculator.

The Section 7-2-34 Deduction: Two Very Different Paths

New Mexico doesn't run a separate capital gains schedule. Instead, Section 7-2-34 gives every taxpayer a deduction against net capital gain income before it's taxed at ordinary rates, and the deduction has two very different tracks. You claim whichever is larger:

Track one, the general deduction: your net capital gain for the year, dollar for dollar, up to a $2,500 cap. This applies to any capital asset, stock, a second home, a rental, cryptocurrency, whatever generated the gain.

Track two, the business-sale deduction: 40% of up to $1,000,000 of net capital gain, but only if that gain comes from the sale of a business allocated or apportioned to New Mexico under the state's apportionment rules. The maximum deduction under this track is $400,000.

Key Insight

This is not the old New Mexico rule

Through the 2024 tax year, New Mexico's deduction was the greater of a flat $1,000 or 40% of your entire net capital gain, with no restriction on what you sold. House Bill 37 rewrote the statute for tax years beginning on or after January 1, 2025: the flat-dollar option went up to $2,500, but the 40% option was narrowed to business sales only. If you're working from an older guide, calculator, or memory of how this used to work, the 40% break on a stock or rental sale no longer exists.

Sale typeStock, crypto, second home, rental (investment gain)
Deduction availableNet capital gain, dollar for dollar
Cap$2,500
On a $200,000 gain$2,500 deducted
Sale typeSale of a New Mexico business (qualifying gain)
Deduction available40% of net capital gain
Cap$400,000 (on gain up to $1M)
On a $200,000 gain$80,000 deducted

Worked example: an investor sells a stock position for a $200,000 long-term gain. The general deduction is capped at $2,500, so $197,500 is taxable, about $11,652 in New Mexico tax at the 5.9% top rate. A business owner who sells a qualifying New Mexico business for the identical $200,000 gain deducts 40% of it, $80,000, leaving $120,000 taxable, about $7,080 in state tax. Same gain, same top bracket, a $4,572 difference purely because of which deduction track the sale qualifies for.

The Rate on Everything the Deduction Doesn't Cover

Whatever portion of your gain the Section 7-2-34 deduction doesn't shield gets added to your other New Mexico income and taxed at the state's regular graduated brackets. New Mexico restructured its brackets for tax years beginning in 2025, and the same structure carries into 2026: six rates running from 1.5% up to 5.9% at the top.

For single filers, the 5.9% top rate applies to taxable income above $210,000. For married couples filing jointly, it applies above $315,000. Below those thresholds, lower graduated rates (1.5%, 3.2%, 4.3%, 4.7%, and 4.9%) apply in bands, so a moderate gain stacked on modest other income often lands well under the headline 5.9%.

Because New Mexico has no separate capital gains rate, holding period only matters through the federal system and through Section 7-2-34's definition of "net capital gain," which follows the federal long-term definition (assets held over one year). A short-term gain doesn't qualify for either deduction track and is fully ordinary income at your New Mexico bracket.

Watch Out

Short-term gains get no New Mexico deduction at all

Section 7-2-34 only applies to net capital gain as defined by IRC Section 1222(11), the federal long-term gain concept. A short-term sale, an asset held one year or less, doesn't generate net capital gain for this purpose and receives neither the $2,500 general deduction nor the 40% business-sale deduction. It's fully taxable at your ordinary New Mexico bracket, same as a paycheck.

Selling a rental in New Mexico? The depreciation recapture calculator separates unrecaptured section 1250 gain (taxed at up to 25%) from the rest, and the NIIT calculator shows whether the 3.8% tax applies at your income.

“I recently had the pleasure of working with Taxstra, and I must say, the experience exceeded my expectations. From start to finish, their professionalism, expertise, and customer care were outstanding.”
Google Reviewer · Read on Google

Published client feedback. Individual experiences vary.

Stacking the Federal Layer on Top

New Mexico's deduction only ever touches the state return. Federally, your gain is still taxed under its own rules: 0%, 15%, or 20% for long-term gains depending on your bracket, ordinary rates up to 37% for short-term gains, and the 3.8% net investment income tax layered on above $200,000 MAGI for single filers or $250,000 for married filing jointly.

Put both layers together: a $300,000 long-term investment gain taxed at the federal 15% bracket costs about $45,000 federally. After New Mexico's $2,500 general deduction, it costs about $17,552 to the state at the 5.9% top rate, a combined effective rate near 20.9%. Add the NIIT for a higher-income seller and the combined number climbs further, since neither the federal nor the state calculation offers relief beyond the capped deduction.

Scenario$300,000 gain, investment sale, top NM bracket
Federal rate15% + 3.8% NIIT
NM effective rate (after deduction)≈5.85%
Combined≈24.7%
Scenario$300,000 gain, qualifying NM business sale, top bracket
Federal rate15% + 3.8% NIIT
NM effective rate (after deduction)≈3.51%
Combined≈22.3%
ScenarioShort-term gain, top bracket both systems
Federal rateUp to 37% + 3.8% NIIT
NM effective rate (after deduction)Up to 5.9%
Combined≈46.7%

Everything that reduces the federal gain, loss harvesting, gain timing into a lower-income year, or an installment sale that spreads income across years, reduces the New Mexico number in the same motion, since the state deduction applies to whatever net capital gain shows up on the federal return.

Selling a Rental: Recapture Doesn't Qualify for the Deduction

A rental or investment property sale splits into two pieces for New Mexico purposes, and only one of them touches Section 7-2-34's deduction. The gain attributable to depreciation you claimed while renting the property comes back as recapture. Recapture is ordinary income for federal purposes, not the net capital gain defined in IRC Section 1222(11) that Section 7-2-34 references, so it doesn't qualify for the $2,500 general deduction (and it's never a business sale under the 40% track either). It's taxed in full at your ordinary New Mexico bracket.

The remaining piece, appreciation above your depreciated basis, is what actually qualifies as long-term capital gain, eligible for the $2,500 general deduction if you held the property more than a year.

Worked example: you sell a rental for a $180,000 total gain, of which $50,000 is depreciation recapture and $130,000 is appreciation, in the top federal and New Mexico brackets. Federally: $50,000 x 25% recapture rate = $12,500, plus $130,000 x 15% assumed LTCG bracket = $19,500. In New Mexico: the $50,000 recapture is taxed in full at 5.9% = $2,950; the $130,000 appreciation gets the $2,500 deduction, leaving $127,500 taxable at 5.9% = $7,522. New Mexico total: $10,472. The deduction only ever reached the appreciation slice.

Watch Out

A cost-segregated rental has a bigger recapture slice than expected

If you accelerated depreciation with a cost segregation study to shelter rental income during ownership, the recapture portion at sale can be larger than a straight-line assumption suggests, and none of it benefits from New Mexico's capital gain deduction. Run the accumulated-depreciation number before listing so the deduction math in your planning isn't overstated.

Selling a New Mexico Business: The One Path to a Bigger Deduction

Since the 2025 rewrite, the 40%-of-up-to-$1,000,000 deduction is available only for net capital gain from the sale of a business that is allocated or apportioned to New Mexico under the state's standard apportionment statute, Section 7-2-11 NMSA 1978. This is the sourcing rule that determines how much of a multi-state business's income counts as New Mexico's for tax purposes, and it now gates the state's single largest capital gains break.

For an owner whose business operates entirely in New Mexico, apportionment is usually a formality, most or all of the gain sources to the state. For an owner with operations, payroll, or sales spread across multiple states, only the New Mexico-apportioned share of the gain qualifies for the 40% deduction; the rest falls back to ordinary treatment with no deduction beyond what's left of the $2,500 general cap.

One more mechanical detail: married couples who file separate returns in a year they could have filed jointly can each claim only half of whatever deduction would have applied on a joint return, under both tracks. That's a filing-status choice worth modeling before a large sale closes, not after.

Key Insight

This deduction rewards planning, not memory

Because the 40% business-sale track replaced a broader rule that applied to any asset, the biggest planning risk on a New Mexico sale right now is assuming the old, more generous version still applies. Confirm which track your sale actually qualifies for, and the apportioned share if the business operates outside New Mexico, before the deal terms are set.

What changed in New Mexico

Rate and rule changes for recent tax years and changes already enacted for future years, each linked to the state source. Sources last checked September 2, 2026.

Tax year 2025

  • In effect

    New six-bracket schedule

    A new six-bracket table from 1.5% to 5.9% took effect for 2025, with 5.9% starting at $210,000 of taxable income for single filers. It continues unchanged for 2026.

    Effective January 1, 2025. Source: New Mexico TRD: personal income tax overview, checked September 2, 2026.

Tax year 2026

  • In effect

    Final scheduled year of the $30,000 military retirement exemption

    Tax year 2026 is the last scheduled year of the $30,000 military retirement exemption; the 2026 session did not extend it. Social Security thresholds of $100,000 and $150,000 are not indexed.

    Effective January 1, 2026. Source: New Mexico TRD: Social Security exemption, checked September 2, 2026.

Educational, not individualized tax advice. Rates shown are statutory; your result depends on residency, filing status, and the income involved.

New Mexico Capital Gains FAQs

How much is capital gains tax in New Mexico?

New Mexico doesn't have a separate capital gains rate. Gains are included in your regular New Mexico taxable income and taxed at the state's graduated brackets, up to 5.9% at the top. But New Mexico gives every taxpayer a deduction against net capital gain income first: the greater of your net capital gain up to a $2,500 cap, or, if you sold a business with New Mexico-sourced gain, 40% of up to $1,000,000 of that gain. For most investment and real estate sales, the deduction tops out at $2,500. For a New Mexico business sale, it can be worth up to $400,000.

What is New Mexico's capital gains deduction under Section 7-2-34?

Under NM Stat. Section 7-2-34, you can deduct the greater of two amounts from net income: your net capital gain for the year, capped at $2,500, or 40% of up to $1 million of net capital gain from the sale of a business allocated or apportioned to New Mexico, capped at a $400,000 deduction. "Net capital gain" is defined the same way the IRS defines it in Section 1222(11), the net long-term gain (assets held over one year) in excess of any net short-term loss. Short-term gains don't qualify for either option.

Didn't New Mexico used to let you deduct 40% of any capital gain, not just business sales?

Yes, and this is the detail people miss if they're working from an old article. Through the 2024 tax year, the law allowed the greater of a flat $1,000 or 40% of your total net capital gain, no matter what you sold: stock, a rental, a business, anything. House Bill 37 rewrote the statute for taxable years beginning on or after January 1, 2025. The flat-dollar option was raised to $2,500, but the 40% option was narrowed to apply only to net capital gain from the sale of a business with New Mexico-sourced income. If you're selling a stock portfolio, a second home, or a rental property today, the 40% path generally isn't available to you; the $2,500 cap is what you're working with.

What's New Mexico's top income tax rate for 2026?

5.9%, the same top rate in effect for 2025. New Mexico runs six graduated brackets from 1.5% up to 5.9%. For single filers, the 5.9% rate applies to taxable income above $210,000; for married couples filing jointly, it applies above $315,000. Everything below those thresholds is taxed at lower graduated rates, so a moderate gain rarely gets taxed entirely at the top rate.

Does the deduction apply to depreciation recapture on a rental sale?

No. The Section 7-2-34 deduction is defined by reference to "net capital gain" under IRC Section 1222(11), which is a long-term capital gain concept. Depreciation recapture on a rental or investment property is treated as ordinary income for federal purposes, not capital gain, so it falls outside the definition the New Mexico deduction is built on. Recapture flows into New Mexico taxable income and is taxed at your regular graduated bracket with no deduction, while only the appreciation above your depreciated basis is capital gain eligible for the (now capped at $2,500) general deduction.

I'm selling my New Mexico business. Does the 40% deduction actually help?

It can be significant. If the sale produces net capital gain allocated or apportioned to New Mexico under Section 7-2-11, you can deduct 40% of up to $1,000,000 of that gain, a maximum deduction of $400,000. On a $1,000,000 qualifying gain taxed at the 5.9% top rate, that deduction is worth roughly $23,600 in state tax savings compared to no deduction at all. The sourcing and apportionment rules matter here: gain has to be properly allocated or apportioned to New Mexico under the statute, which is a fact-specific determination worth modeling with a CPA before a letter of intent is signed, not after the deal closes.

Selling a business, rental, or investment in New Mexico?

We model which deduction track your sale qualifies for, the apportionment math on a business sale, and the federal stack together, before the sale locks your options. Nationwide remote firm with a deep real estate and business-sale practice.

Tax planning slots are limited before year-end.