Taxes On Selling A House In Maine In 2026: Reduce Or Avoid Capital Gains

by | Apr 5, 2026

Selling a house in Maine will trigger taxes that most homeowners don’t plan for until it’s too late. The biggest one is the capital gains tax, which hits the profit you made between buying and selling. Maine taxes capital gains as ordinary income at rates up to 7.15%, and that’s on top of what you owe the federal government. With the median Maine home price hitting $405,000 in 2025 (a record high, per the Maine Association of Realtors), more sellers are bumping into taxable territory than ever before.

Taxes on selling a house in Maine include federal and state capital gains tax, a real estate transfer tax of $2.20 per $500 of sale price, and ongoing property taxes prorated through closing day. Single filers can exclude up to $250,000 in gains, and married couples can exclude up to $500,000, but only if they meet specific ownership and residency requirements under Section 121 of the tax code.

This article won’t cover estate taxes or property tax appeals. Those are separate topics with their own rules. What it will cover is every tax you’ll actually face at the closing table, how each one is calculated, and the specific strategies that legally shrink what you owe.

Homeowners selling property in Maine

How Does Capital Gains Tax Work When You Sell a Maine Home?

Capital gains tax applies to the profit from your sale, not the full sale price. You calculate that profit by subtracting your cost basis from what the buyer paid you.

Your cost basis isn’t just the purchase price. It includes every dollar you spent on capital improvements (think new roof, kitchen remodel, added bathroom), plus your original closing costs, title fees, and legal expenses. The higher your basis, the smaller your taxable gain.

Here’s how that plays out with real Maine numbers. Say you bought a home in Portland for $280,000 in 2015. You’ve spent $35,000 on a new HVAC system and a bathroom addition over the years. Your selling costs (agent commissions, transfer tax, title insurance) total $28,000. You sell for $430,000 in 2026.

Your cost basis: $280,000 + $35,000 + $28,000 = $343,000. Your taxable gain before any exclusion: $430,000 minus $343,000 = $87,000.

If you qualify for the primary residence exclusion ($250,000 for single filers), that $87,000 gain is fully excluded. You owe zero capital gains tax. But miss one of the qualification rules, and you’re paying state and federal tax on the full amount.

One thing I see sellers get wrong constantly: they forget to include their improvement costs. I’ve watched people leave thousands on the table because they tossed out receipts for a $20,000 kitchen upgrade ten years ago. Every undocumented dollar of improvements can cost you 7.15% in Maine state tax alone on gains that exceed the exclusion. On a $50,000 gap, that’s $3,575 you didn’t need to pay.

What’s the Difference Between Short-Term and Long-Term Capital Gains?

How long you’ve owned the property changes your tax rate dramatically.

Short-term capital gains apply to properties held for one year or less. The IRS taxes these at your ordinary income rate, which can run as high as 37% federally. Maine stacks its own rate on top of that (up to 7.15%). For a high-income seller flipping a property in under 12 months, the combined hit can eat roughly 40–44% of the profit.

Long-term capital gains apply to properties held for more than one year. Federal rates drop to 0%, 15%, or 20% depending on your income. Most Maine sellers land in the 15% federal bracket. Maine still taxes long-term gains as ordinary income at up to 7.15%, but the federal savings alone make a massive difference.

The contrarian take here: some sellers rush to close before the one-year mark because they’re scared the market will dip. In most cases, waiting a few extra months to cross into long-term territory saves far more in taxes than any likely price decline. I’ve seen sellers save $15,000–$25,000 just by pushing a closing date back eight weeks.

Woman organizing documents for taxpayer relief

Can You Avoid Capital Gains Tax on a Maine Home Sale?

Yes, if you meet the requirements of the Taxpayer Relief Act of 1997 (IRS Publication 523). Single filers can exclude up to $250,000 in gains. Married couples filing jointly can exclude up to $500,000.

Three rules determine eligibility.

Ownership Requirement

You must have owned the home for at least two years before the sale date. For married couples claiming the full $500,000 exclusion, both spouses need to meet this rule. If only one spouse qualifies, the couple is limited to $250,000.

The 2-Out-of-5-Year Residency Rule

You must have lived in the property as your primary residence for at least two of the five years before selling. The two years don’t need to be consecutive. You could live there for 14 months, move out for a year, move back for 10 months, and still qualify.

Exceptions exist for military service members, Peace Corps volunteers, and certain government employees who were stationed elsewhere. If you or your spouse converted the home to a rental at some point, different rules apply to the period of “non-qualifying use.”

Lookback Requirement

You can’t have claimed this exclusion on another home sale within the past two years. If you sold a different property and took the exclusion 18 months ago, you’re locked out until the two-year window resets.

A data point that should get your attention: roughly 39.2% of Maine homeowners now exceed the single-filer exclusion threshold based on recent appreciation, according to a 2025 Realtor.com analysis. Maine home values jumped about 36.9% between 2021 and 2025, compared to 19.2% nationally. That means the exclusion that used to cover almost everyone is no longer a given.

How Does a Partial Exemption Work?

You can still claim a portion of the exclusion if you sell before hitting the two-year mark, but only under specific circumstances. The IRS allows partial exemptions when the sale happens because of a job relocation, a health condition, or an unforeseen event (divorce, death in the family, multiple births from a single pregnancy).

The math is straightforward. Divide the number of months you lived in the home by 24, then multiply by the full exclusion amount. If you’re a single filer who lived there for 12 months and sold due to a qualifying reason, your partial exclusion is 12/24 x $250,000 = $125,000.

“I changed my mind about the house” doesn’t count. The IRS is specific about what qualifies.

Different types of properties get taxed

Do Different Property Types Get Taxed Differently?

Absolutely. The tax rules shift based on how the property was used.

Investment Properties

Investment properties don’t qualify for the $250,000/$500,000 primary residence exclusion. Period. If you bought a rental strictly as an investment and never lived there, every dollar of gain is taxable.

The workaround is a 1031 like-kind exchange, which defers the tax (more on that below). Under the Tax Cuts and Jobs Act of 2017, mortgage interest on up to $750,000 may be deductible for principal residences and vacation homes, but purely investment properties don’t get that benefit either.

Rental Properties

A Maine rental is classified as an investment property if the owner uses it fewer than 14 days per year. Rental income from 15 days or fewer of annual rental use doesn’t need to be reported, but that’s a narrow window.

Rental properties must meet the IRS ownership and use rules to benefit from any capital gains exclusion. If it’s a second home, selling to an investor through a 1031 exchange may be an option, but you can’t do a 1031 on a property that’s been your primary residence for the required period and then flip strategies mid-sale. The rules are strict, and the IRS watches closely.

Woman carefully keeping every receipt

7 Ways to Reduce Your Capital Gains Tax Bill in Maine

Beyond the exclusion, these are the strategies that actually work.

1. Adjust Your Cost Basis

This is the lowest-hanging fruit and the one most sellers skip. Every capital improvement you’ve made (not routine maintenance) adds to your basis dollar for dollar. New windows, a deck addition, a finished basement, and an upgraded electrical panel. According to the JCHS Improving America’s Housing 2025 report from Harvard, Northeast homeowners spent an average of $5,200 on improvements in 2023. The 2025 Cost vs. Value Report from Zonda shows projects like garage door replacement recouping 267.7% at resale, but for tax purposes, the full job cost (roughly $4,672 in that example) increases your basis regardless of resale value.

Keep every receipt. If you’ve got improvements that boosted your home’s value, make sure those costs are documented and included.

2. Convert a Second Home Into Your Primary Residence

If you own a vacation home in Maine and want the exclusion, you’ll need to move in and live there for two years before selling. The Housing Assistance Tax Act of 2008 limits the exclusion to the period the property served as your primary residence. Time spent as a rental counts as “non-qualifying use,” which reduces your excludable gain proportionally.

It’s a long-term play. But if you’re already considering relocating to your lake house in Rangeley or your cottage in Bar Harbor, the tax savings can be significant.

3. Use a 1031 Exchange

A 1031 exchange lets you defer capital gains tax by rolling your sale proceeds into a similar investment property. The tax isn’t eliminated. It’s deferred until you eventually sell without doing another exchange.

The timelines are rigid. You must identify a replacement property within 45 days of your sale and complete the purchase within 180 days. The American Jobs Creation Act of 2004 added another rule: if you do a 1031 exchange and then try to claim the primary residence exclusion later, the replacement property must be held for at least five years.

1031 exchanges only apply to business or investment properties. You can’t use one on a primary residence sale. And yes, Maine still requires real estate withholding even on 1031 transactions, though you can apply for an exemption via Form REW-5.

Woman investing in an opportunity zone

4. Invest in an Opportunity Zone

Opportunity zones were designed to encourage investment in economically distressed areas. If you reinvest capital gains into a qualified opportunity fund, you can defer your tax. Hold the investment for five years, and your basis increases by 10%. Hold for ten years, and any new appreciation on the opportunity zone investment itself is tax-free.

This isn’t for everyone. It ties up your capital for a decade, and the underlying real estate in these zones can be risky. But for the right seller with the right risk tolerance, the math is compelling.

5. Harvest Tax Losses

If you sold another asset at a loss in the same tax year (stocks, a different property, anything), those losses can offset your gains. This is called tax-loss harvesting.

It’s not limited to real estate. A $40,000 loss on a stock portfolio can wipe out $40,000 of gain from your Maine home sale. The IRS allows you to use those losses strategically to reduce or eliminate your capital gains liability.

6. Claim Relief for Unexpected Life Events

Certain hardships can qualify you for a partial or full exemption even if you haven’t met the two-year residency requirement. These include health emergencies (for you or a close relative), natural disasters, divorce, job loss, and death in the family.

The IRS doesn’t hand these out loosely. You’ll need documentation. But if you’re selling a house quickly because of a genuine hardship, the tax relief can be substantial.

7. Spread the Tax Hit With Installment Sales

Instead of collecting the full sale price at closing, you can structure the deal so the buyer pays you in installments over several years. Each payment has a principal portion, a gain portion, and interest. Only the gain portion is taxable in the year you receive it.

This spreads your tax liability across multiple years, potentially keeping you in a lower bracket each year. It’s a useful tool for sellers with large gains who want to control their annual tax exposure.

Report Maine home sale to IRS

How Do You Report a Maine Home Sale to the IRS?

If you receive Form 1099-S from your closing agent (the title company, attorney, or real estate firm handling the transaction), you must report the sale on your federal return. The form is due to you by February 15 of the year following the sale.

You don’t need to report sales under $250,000 if the property was your primary residence and you qualify for the full exclusion. But if your gain exceeds the exclusion, if you received a 1099-S, or if you don’t meet all the eligibility requirements, report it.

Non-residents selling Maine property face a 2.5% withholding on the sale price for transactions of $100,000 or more. This catches a lot of out-of-state sellers off guard, especially those who inherited a Maine vacation home. You can apply for a reduction or exemption through Maine Revenue Services Form REW-5 if the primary residence exclusion covers your gain.

What Other Taxes Apply When Selling in Maine?

Capital gains aren’t the only tax on the table.

  • Real estate transfer tax. Maine charges $2.20 per $500 of sale price, split evenly between buyer and seller. On a $405,000 sale, the total transfer tax is about $1,782, with the seller paying roughly $891. As of November 2025, sales above $1 million trigger an additional $3.80 per $500 on the portion exceeding that threshold.
  • Property taxes. These are prorated through your closing date. Maine’s effective property tax rate is roughly 0.91% of assessed value, which is above the national average. On a home assessed at $341,900 (the state’s typical value), that’s about $3,111 per year. You’ll owe your share until the day you hand over the keys.

Transfers between immediate family members (spouse, parent, child, grandparent, grandchild) are exempt from the transfer tax, which is something most sellers don’t realize.

Man recording invoices for house renovations

What Most Sellers Get Wrong

The biggest mistake isn’t failing to understand the rules. It’s failing to document. People renovate kitchens, add decks, replace roofs, and then throw away every invoice. When it’s time to sell, they can’t prove their basic adjustments. Professional invoices are the easiest to defend in an audit. DIY projects can count too, but you’ll need receipts for materials and a clear record of what was done.

The second-biggest mistake is assuming the $250,000/$500,000 exclusion covers everything. It did for most sellers five years ago. Maine’s 36.9% price appreciation since 2021 means that the gap is closing fast, especially for single filers who bought before 2015 and are selling a home without a plan for closing costs and taxes.

Taxes on selling a house in Maine don’t have to be a surprise. Know your basis, keep your records, and talk to a CPA before you list. The sellers who plan ahead keep more of their profit. The ones who don’t find out the hard way.

Frequently Asked Questions

Does Maine tax capital gains on a home sale the same way as the federal government?

Not exactly. The federal government gives long-term capital gains a lower tax rate (0%, 15%, or 20%). Maine treats all capital gains as ordinary income and taxes them at rates up to 7.15%. So you’ll owe federal capital gains tax plus Maine income tax on any gain that exceeds your exclusion.

How much is the capital gains tax exclusion for Maine homeowners?

Single filers can exclude up to $250,000 in profit. Married couples filing jointly can exclude up to $500,000. You must have owned and lived in the home for at least two of the past five years. With Maine’s median home price at $405,000 in 2025 and an appreciation of 36.9% since 2021, more sellers are exceeding these thresholds than in previous years.

What happens if I’m a non-resident selling a Maine property?

The buyer is required to withhold 2.5% of the sale price for transactions of $100,000 or more. This withholding goes to Maine Revenue Services. You can apply for a reduction or exemption by filing Form REW-5 if the primary residence exclusion applies. Any overpayment gets refunded when you file your Maine income tax return.

Can home improvements reduce my taxes on selling a house in Maine?

Yes. Every dollar spent on capital improvements (not routine repairs) adds to your cost basis, which directly reduces your taxable gain. A $30,000 kitchen remodel reduces your taxable gain by $30,000. The IRS distinguishes between improvements and maintenance. New systems, additions, and structural upgrades count. Painting, cleaning, and patching don’t.

Do I need to pay capital gains tax if I sell my Maine home at a loss?

No. Capital gains tax only applies to profit. If your sale price is lower than your cost basis, there’s no gain to tax. You may be able to deduct the loss if the property was used for business or investment purposes, but losses on a personal residence aren’t deductible.

Is a 1031 exchange available for Maine residential property sales?

A 1031 exchange only applies to business or investment properties. You can’t use one on your primary residence. For qualifying properties, the exchange defers both federal and Maine capital gains tax, but you must identify a replacement property within 45 days and close within 180 days. Maine also requires withholding even on 1031 transactions, though exemptions are available via Form REW-5.

How long should I keep records of home improvements for tax purposes?

Indefinitely, or at a minimum until you sell the property and the IRS audit window closes (generally three years after filing). Professional invoices are the easiest to defend. If you did the work yourself, save all material receipts and document the project with photos and dates.

Get One-on-One Guidance

Contact us below or call (978) 228-1068 to speak with us about selling your home fast.

  • This field is for validation purposes and should be left unchanged.
Elie Deglaoui - Author

Author

Elie Deglaoui

Elie is our office admin who handles all our day-to-day tasks and makes sure we always stay on track. He brings his love of music and sports into the office everyday to always liven up the environment. His outgoing personality makes it easy and fun for him to talk to homeowners, homebuyers, and everyone in between.

Most Recent Posts

Best Time To Sell A House In Maine In 2026

Best Time To Sell A House In Maine In 2026

The best time to sell a house in Maine is late spring through early fall, with June and July delivering the fastest sales and August through October pulling the highest prices. Maine's statewide median hit $405,000 in 2025, up 3.85% year over year, according to the...

Selling Your House In Boston: What Actually Works In 2026

Selling Your House In Boston: What Actually Works In 2026

Selling your house in Boston right now comes down to one thing: pricing correctly in a market that's shifting under your feet. The median sale price hit $806,000 in February 2026, according to Redfin, but that number is down 5.7% year over year. Homes are sitting for...

How To Sell A House Without A Realtor In Maine: 2026 FSBO Guide

How To Sell A House Without A Realtor In Maine: 2026 FSBO Guide

Selling a house without a realtor in Maine means handling pricing, marketing, showings, negotiations, and closing paperwork on your own. You skip the average 2.90% listing agent commission, which saves roughly $11,745 on a $405,000 home (the 2025 statewide median, per...

How Much Does It Cost To Build A House In New Hampshire In 2026?

How Much Does It Cost To Build A House In New Hampshire In 2026?

Building a house in New Hampshire costs between $200,000 and $540,000 for the structure alone, depending on size, finish level, and location. That works out to roughly $150–$350 per square foot before you buy land or pull a single permit. I’ve watched these numbers...