Capital gains tax is a levy on the profit realized from the sale of a non-inventory asset, such as stocks, bonds, or real estate, when the asset’s selling price exceeds its purchase price. For Maryland taxpayers, understanding both federal and state implications of capital gains is crucial for effective financial planning.
Does Maryland Have a Capital Gains Tax?
Maryland does not impose a separate capital gains tax. Instead, capital gains are treated as ordinary income and taxed according to the state’s income tax brackets. As of 2025, Maryland’s personal income tax rates are as follows:
- 2% on the first $1,000 of taxable income
- 3% on the next $1,000
- 4% on the next $1,000
- 4.75% on the next $97,000
- 5% on the next $25,000
- 5.25% on the next $25,000
- 5.5% on the next $100,000
- 5.75% on taxable income exceeding $250,000
For example, if a taxpayer’s income is $350,000, the tax calculation would be:
- First $1,000 at 2%: $20
- Next $1,000 at 3%: $30
- Next $1,000 at 4%: $40
- Next $97,000 at 4.75%: $4,607.50
- Next $25,000 at 5%: $1,250
- Next $25,000 at 5.25%: $1,312.50
- Next $100,000 at 5.5%: $5,500
- Remaining $100,000 at 5.75%: $5,750
Total Maryland tax: $18,510.
Compared to other states, Maryland’s approach aligns with those that tax capital gains as ordinary income. However, the combined state and local tax rates can be higher than in states without a capital gains tax.
Federal Capital Gains Tax Rates
At the federal level, capital gains tax rates differ based on the asset’s holding period:
- Short-term capital gains: Assets held for one year or less are taxed as ordinary income.
- Long-term capital gains: Assets held for more than one year benefit from reduced tax rates.
For the 2025 tax year, long-term capital gains tax rates are:
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $44,625 | $44,626 – $492,300 | Over $492,300 |
| Married Filing Jointly | Up to $89,250 | $89,251 – $553,850 | Over $553,850 |
| Married Filing Separately | Up to $44,625 | $44,626 – $276,900 | Over $276,900 |
| Head of Household | Up to $59,750 | $59,751 – $523,050 | Over $523,050 |
Note: These brackets are subject to annual adjustments for inflation.
How Maryland Residents Are Taxed on Capital Gains
Maryland residents must account for both federal and state taxes on capital gains. For instance, a single filer with a $100,000 long-term capital gain would face:
- Federal tax: $100,000 falls into the 15% bracket, resulting in $15,000 in federal taxes.
- State tax: Assuming no other income, the $100,000 gain is taxed as ordinary income. The Maryland tax would be calculated based on the state’s progressive rates, totaling approximately $4,617.50.
Total tax liability: $15,000 (federal) + $4,617.50 (state) = $19,617.50.
Capital Gains Tax Planning Strategies
High-net-worth individuals and business owners can employ various strategies to minimize capital gains tax liabilities:
- Tax-Loss Harvesting: Offset gains by realizing losses on other investments. For example, selling an underperforming stock at a loss can counterbalance gains from other assets.
- Utilize Tax-Advantaged Accounts: Investing through retirement accounts like 401(k)s or IRAs can defer taxes until withdrawal.
- Invest in Opportunity Zones: Reinvesting capital gains into Qualified Opportunity Funds can defer and potentially reduce taxes.
- Renewable Energy Tax Credits: Investing in renewable energy projects can provide significant tax credits, offsetting capital gains.
- Charitable Giving: Donating appreciated assets to charity can provide deductions and eliminate capital gains tax on the donated asset.
Example Scenarios
Scenario 1: Tax-Loss Harvesting
Jane, a Maryland resident, has a $50,000 capital gain from selling stock. She also has a $20,000 loss from another investment. By offsetting the gain with the loss, her taxable gain reduces to $30,000, lowering both federal and state tax liabilities.
Scenario 2: Renewable Energy Tax Equity Deal
John invests $200,000 in a solar energy project, qualifying for a 26% federal tax credit, amounting to $52,000. This credit directly reduces his federal tax liability, effectively offsetting taxes owed on other capital gains.
Conclusion
Understanding and planning for capital gains taxes are essential for Maryland residents, especially those with significant investments. By employing strategic tax planning, individuals
FAQ
How does Maryland tax capital gains? Maryland does not impose a separate capital gains tax. Instead, it treats capital gains as regular income, taxing them at the state’s standard income tax rates. These rates are progressive, ranging from 2% to 5.75% based on your income bracket.
Are there different tax rates for short-term and long-term capital gains in Maryland? No, Maryland does not differentiate between short-term and long-term capital gains. Regardless of the holding period, all capital gains are taxed as ordinary income at the applicable state rates.
Do I owe capital gains tax on the sale of my primary residence in Maryland? While federal tax laws offer exclusions on capital gains from the sale of a primary residence (up to $250,000 for single filers and $500,000 for married filing jointly), Maryland conforms to these federal provisions. Therefore, qualifying sales may be exempt from state capital gains tax.
How are capital gains from the sale of real estate treated in Maryland? Capital gains from real estate sales in Maryland are subject to the state’s income tax rates. Additionally, if depreciation was claimed on the property, “depreciation recapture” may apply, taxing the depreciation deductions previously taken at a rate of 25%.
Are there any strategies to minimize capital gains tax in Maryland? Yes, several strategies can help reduce capital gains tax liability, including:
- Holding assets for over a year: Long-term capital gains are generally taxed at lower federal rates.
- Utilizing tax-advantaged accounts: Investments held within retirement accounts like IRAs or 401(k)s can grow tax-deferred or tax-free.
- Offsetting gains with losses: Selling other investments at a loss to offset gains, known as tax-loss harvesting, can reduce taxable income.
- Investing in Opportunity Zones: These investments offer federal tax incentives, including potential exclusions of gains from qualified investments held for at least 10 years.

