2026 state guide
How New Mexico taxes capital gains
Short-term gains are taxed at New Mexico’s ordinary income tax rates. The gain is stacked on top of your other taxable income, so each slice of it is taxed at the rate of the bracket it lands in.
| Rate | Taxable income |
|---|---|
| 1.5% | Up to $5,500 |
| 3.2% | $5,500 – $16,500 |
| 4.3% | $16,500 – $33,500 |
| 4.7% | $33,500 – $66,500 |
| 4.9% | $66,500 – $210,000 |
| 5.9% | Over $210,000 |
| Rate | Taxable income |
|---|---|
| 1.5% | Up to $8,000 |
| 3.2% | $8,000 – $25,000 |
| 4.3% | $25,000 – $50,000 |
| 4.7% | $50,000 – $100,000 |
| 4.9% | $100,000 – $315,000 |
| 5.9% | Over $315,000 |
Up to $2,500 of long-term gains is excluded before the brackets apply.
This calculator applies the single schedule to married-filing-separately and head-of-household filers. New Mexico taxes dividends as ordinary income at up to 5.9%, without the special rules it applies to long-term capital gains.
Official source: New Mexico state tax agency. Federal rates come from IRS Rev. Proc. 2025-32 and IRC §1411.
New Mexico capital gains tax: worked examples
Each example below is calculated with the same 2026 engine as the calculator, using federal long-term rates, the 3.8% NIIT and New Mexico’s rules. Example 1 matches the calculator's starting inputs; Examples 2 and 3 show larger, long-term sales.
Example 1: $50,000 stock gain, long-term vs. short-term
A single filer earning $100,000 of taxable income sells shares for a $50,000 gain ($50,000 cost basis, $100,000 sale price). What they pay in New Mexico if they held the shares more than a year versus one year or less:
| Line item | Long-termheld > 1 yr | Short-termheld ≤ 1 yr |
|---|---|---|
| Federal tax | $7,500 | $11,886 |
| Net Investment Income Tax (3.8%) | $0 | $0 |
| New Mexico tax | $2,328 | $2,450 |
| Total tax | $9,828 | $14,336 |
| Net take-home profit | $40,173 | $35,664 |
- Long-term: the $50,000 gain is stacked on $100,000 of taxable income and taxed at federal long-term rates (15% on $50,000).
- Short-term: the same gain is taxed like wages at federal ordinary rates (22% on $5,700 and 24% on $44,300).
- No NIIT: income plus gain ($150,000) is below the $200,000 single-filer threshold.
- Effective state rate on the gain: 4.66% long-term vs. 4.90% short-term.
- Holding past one year saves $4,509 in total tax.
Example 2: $250,000 long-term gain, married filing jointly
A married couple filing jointly with $150,000 of other taxable income sells long-held shares for a $250,000 profit ($100,000 cost basis, $350,000 sale price).
| Federal capital gains tax | $37,500 |
|---|---|
| Net Investment Income Tax (3.8%) | $5,700 |
| New Mexico tax | $12,953 |
| Total tax | $56,153 |
| Effective total rate | 22.46% |
| Effective state rate on the gain | 5.18% |
| After-tax profit | $193,848 |
- Federal: the $250,000 gain is stacked on $150,000 of taxable income and taxed at long-term rates (15% on $250,000), for $37,500.
- NIIT: income plus gain is $400,000, above the $250,000 married filing jointly threshold, so 3.8% applies to $150,000: $5,700.
- New Mexico: $2,500 flat long-term gain exclusion leaves $247,500 taxable; taxed 4.9% on $165,000 and 5.9% on $82,500, for $12,953.
- Sold short-term instead, the same gain would cost $77,572 in total tax ($13,100 of it state tax), so holding past one year saves $21,420.
Example 3: $1.5 million long-term gain, married filing jointly
A married couple filing jointly with $200,000 of other taxable income sells a concentrated, long-held stock position for a $1,500,000 profit ($500,000 cost basis, $2,000,000 sale price).
| Federal capital gains tax | $279,315 |
|---|---|
| Net Investment Income Tax (3.8%) | $55,100 |
| New Mexico tax | $87,203 |
| Total tax | $421,618 |
| Effective total rate | 28.11% |
| Effective state rate on the gain | 5.81% |
| After-tax profit | $1,078,383 |
- Federal: the $1,500,000 gain is stacked on $200,000 of taxable income and taxed at long-term rates (15% on $413,700 and 20% on $1,086,300), for $279,315.
- NIIT: income plus gain is $1,700,000, above the $250,000 married filing jointly threshold, so 3.8% applies to $1,450,000: $55,100.
- New Mexico: $2,500 flat long-term gain exclusion leaves $1,497,500 taxable; taxed 4.9% on $115,000 and 5.9% on $1,382,500, for $87,203.
- Sold short-term instead, the same gain would cost $660,191 in total tax ($87,350 of it state tax), so holding past one year saves $238,573.
New Mexico vs. neighboring states
How New Mexico compares with the states it borders, using the same worked examples.
| State | Treatment | Top long-term rate | State tax: $50K gain, single | State tax: $1.5M gain, joint |
|---|---|---|---|---|
| New Mexico (this page) | Ordinary Income with Long-Term Exclusion | 5.9% | $2,328 | $87,203 |
| Arizona | Ordinary Income with Long-Term Exclusion | 1.875% | $938 | $28,125 |
| Colorado | Flat Income Tax | 4.4% | $2,200 | $66,000 |
| Oklahoma | Ordinary Income | 4.5% | $2,250 | $67,500 |
| Texas | No Capital Gains Tax | 0% | $0 | $0 |
| Utah | Flat Income Tax | 4.45% | $2,225 | $66,750 |
On a $50,000 long-term gain for a single filer with $100,000 of other taxable income (Example 1), Arizona, Colorado, Oklahoma, Texas, and Utah would take less in state tax than New Mexico. State tax is owed to the state where you live when you sell, so the comparison matters only if you are actually changing residency. See capital gains tax rates for all 50 states + DC.
New Mexico capital gains tax FAQ
Does New Mexico tax long-term stock capital gains in 2026 and 2027?
Yes. New Mexico taxes gains as ordinary income at up to 5.9%, after deducting up to $2,500 of long-term gains, since its 40% deduction now applies only to selling a New Mexico business. Long-term and short-term gains are taxed alike, with a top rate of 5.9%. In 2026, a $50,000 long-term gain for a single filer with $100,000 of other taxable income owes $2,328 in New Mexico tax. New Mexico's rules are unchanged for 2027 under current law.
What is the combined federal and New Mexico capital gains tax rate?
Adding the top marginal rates, long-term gains face up to 29.7% (20% federal + 3.8% NIIT + 5.9% New Mexico) and short-term gains up to 46.7% (37% + 3.8% + 5.9%). Most investors pay far less than the top rates: on a $50,000 long-term gain for a single filer with $100,000 of other taxable income, the combined effective rate is 19.66% ($7,500 federal, $0 NIIT and $2,328 New Mexico tax).
Are short-term and long-term gains taxed differently in New Mexico?
Slightly. New Mexico taxes both at the same rates, but a long-term gain deduction applies. On a $50,000 long-term gain for a single filer with $100,000 of other taxable income, state tax is $2,328 long-term vs. $2,450 short-term.
How much New Mexico tax would I owe on a $50,000 stock gain?
For a single filer with $100,000 of other taxable income and a $50,000 long-term gain, New Mexico tax is $2,328 (4.66% of the gain). Adding $7,500 federal tax and $0 NIIT brings the total to $9,828, leaving $40,173 after tax.
How can New Mexico investors legally reduce taxes on stock sales?
Hold shares for more than a year: long-term gains get federal rates of 0%, 15% or 20% instead of up to 37%. Harvest losses: realized losses offset gains dollar for dollar, and up to $3,000 of excess loss a year reduces other income on your federal return (see our tax-loss harvesting simulator). Trade inside tax-advantaged accounts such as a 401(k), traditional IRA or Roth IRA, where sales are not taxed when they happen. Donate appreciated long-term shares to charity instead of cash to avoid capital gains tax on the appreciation. New Mexico excludes up to $2,500 of long-term gains, another reason to hold past one year.
Does New Mexico tax dividends?
New Mexico taxes dividends as ordinary income at up to 5.9%, without the special rules it applies to long-term capital gains.
For the full federal picture (bracket stacking, the NIIT and ways to reduce the tax), read the 2026 stock capital gains tax guide.