Tax Implications Of Selling Your House In Maine: Complete Real Estate Guide

Tax aspects of selling a home Maine

Selling a home in Maine? The state’s tax treatment of real estate gains is one of the most important things to understand before you list and one of the least intuitive. Maine taxes capital gains differently from the federal government and from most other states, which can significantly affect your net proceeds. This guide walks through every layer: federal rules, Maine state rules, and the specific scenarios most sellers encounter. If you’d prefer to skip the complexity and sell quickly, Brendan Buys Houses works with Maine homeowners navigating exactly these situations.

Federal vs. Maine Capital Gains Tax Treatment at a Glance

Before diving into the details, here is a quick side-by-side comparison of how federal and Maine tax rules differ on home sales.

FederalMaine
Long-term capital gains rate0%, 15%, or 20%Taxed as ordinary income (up to 7.15%)
Short-term capital gains rateOrdinary income (up to 37%)Ordinary income (up to 7.15%)
Distinguishes short vs. long-term?YesNo
Primary residence exclusion$250K / $500K MFJFollows federal rules
1031 exchange deferralYesYes (follows federal)

Federal Capital Gains Tax Rules When Selling a Home

Federal capital gains treatment depends on how long you owned the property and your income level.

If you lived in your home for at least two of the last five years, you can exclude up to $250,000 in profit from federal capital gains tax, or up to $500,000 if you file jointly. The two years don’t need to be consecutive. Only one spouse needs to meet the ownership test, but both must meet the residence test for the full $500,000 exclusion.

For properties held longer than one year, federal rates are 0%, 15%, or 20% depending on your total taxable income. A single filer with taxable income between $49,450 and $545,500 pays 15% on long-term gains. Property held one year or less gets taxed as ordinary income at rates up to 37%.

An additional 3.8% tax applies to investment income above $200,000 for single filers or $250,000 for married filers. This applies to gains on investment properties and any portion of a primary residence gain that exceeds the exclusion.

Maine State Capital Gains Tax on Home Sales

This is where Maine diverges sharply from most states. Maine taxes all capital gains (short-term and long-term) as ordinary income. There is no preferential rate for long-term holding periods at the state level.

Maine’s progressive income tax tops out at 7.15% in 2025. For single filers, the top rate applies to taxable income above roughly $58,050; for joint filers, above approximately $116,100.

Example: You sell a Bar Harbor property you bought for $200,000 for $450,000. That $250,000 gain gets added to your regular income for Maine tax purposes. If you already earn $80,000 from your job, your total Maine taxable income becomes $330,000, well into the top bracket. The state tax on the $250,000 gain would be approximately $17,875 ($250,000 x 7.15%).

Primary Residence Exclusion Rules in Maine

Maine follows the federal primary residence exclusion rules. If you owned and used the home as your principal residence for two of the five years before the sale, you can exclude up to $250,000 in gain ($500,000 for married joint filers) from both federal and Maine income tax.

Partial exclusions are available if you fail to meet the full two-year test due to health reasons, a work-related move, or other unforeseen circumstances. The exclusion is also limited to once every two years; you can’t use it on back-to-back home sales within a two-year window.

Military and government personnel can suspend the five-year test period during qualified official extended duty.

Capital Gains Tax on Investment Property Sales in Maine

Tax considerations when selling a home Maine

Investment properties don’t qualify for the primary residence exclusion, meaning you’ll pay tax on the full gain.

Example: A rental property in Camden purchased for $300,000 and sold for $500,000 generates a $200,000 gain. At Maine’s top rate, state taxes alone are $14,300 ($200,000 x 7.15%). Add federal long-term capital gains tax (likely 15%, or $30,000) and depreciation recapture (discussed below), and the total tax bill can easily exceed $50,000.

Timing investment property sales matters significantly. Selling in a high-income year pushes more of the gain into higher tax brackets at both the federal and state levels. If minimizing your tax exposure is a priority, explore options with a “we buy houses Maine” buyer who can close on your timeline.

Depreciation Recapture Tax on Maine Rental Properties

For rental property owners, depreciation recapture adds another layer. Any depreciation you claimed during ownership must be “recaptured” and taxed when you sell, even if you didn’t actually claim it (the IRS assumes you should have).

At the federal level, depreciation recapture is taxed at 25%. In Maine, recaptured depreciation is treated as ordinary income, subject to Maine’s progressive rates up to 7.15%.

Example: You owned a rental in Freeport for ten years and claimed $50,000 in depreciation. At closing, that $50,000 gets added to your taxable income. The state tax on that amount is $3,575 ($50,000 x 7.15%), on top of the $12,500 in federal recapture tax ($50,000 x 25%).

Keeping detailed records of capital improvements is critical. Improvements increase your cost basis and reduce the gain subject to tax, while accumulated depreciation reduces your basis and increases it.

How to Defer Capital Gains Tax with a 1031 Exchange in Maine

A 1031 exchange allows you to defer capital gains taxes by reinvesting the proceeds from an investment property into another “like-kind” property. Maine follows federal guidelines on 1031 treatment: if a gain is deferred for federal purposes, it is also deferred for Maine income tax purposes.

  • You have 45 days from the sale of your original property to identify potential replacement properties.
  • You have 180 days to complete the exchange.

These deadlines are strict and cannot be extended.

The exchange must involve real property: any real estate for any other real estate, regardless of type or location. You can exchange a Portland rental for raw land in Aroostook County and still qualify. If you need to move quickly to meet exchange deadlines, homeowners looking to sell their houses in Portland, ME, often use cash buyers to close within the 45-day identification window.

Non-resident sellers subject to Maine’s withholding requirement (see the Maine Real Estate Withholding section below) can request an exemption by filing Form REW-5 at least five business days before closing.

How Home Improvements Reduce Your Capital Gains Tax in Maine

Capital improvements reduce your taxable gain by increasing your cost basis. Qualifying improvements must add value to the home, prolong its useful life, or adapt it to a new use. Regular maintenance and repairs don’t count.

Qualifying improvements include additions, new roofing, HVAC systems, flooring, windows, landscaping, and major renovations.

If you bought a home for $200,000 and spent $75,000 on improvements, your adjusted basis is $275,000. Selling for $400,000 creates a $125,000 gain, not $200,000. At Maine’s top rate, that difference saves you roughly $5,375 in state taxes alone ($75,000 x 7.15%).

Document everything: receipts, contracts, permits, and before-and-after photos. The IRS and Maine Revenue Services can challenge poorly documented improvements.

Closing Cost Deductions That Lower Your Taxable Gain in Maine

Selling costs reduce your taxable gain dollar for dollar. Deductible costs include real estate commissions, attorney fees, title insurance, transfer taxes, and marketing expenses. These typically run 6 to 10% of the sale price.

Beginning November 1, 2025, Maine’s transfer tax rate increased significantly for properties over $1 million, from $2.20 per $500 to $6.00 per $500 on the portion of value exceeding $1 million. The tax is split equally between buyer and seller. As the seller, your half is deductible as a selling expense.

For a $400,000 home sale with $25,000 in selling costs, that reduces your taxable gain by the full $25,000, saving roughly $1,800 in Maine state taxes ($25,000 x 7.15%).

Capital Gains Tax on Inherited Property in Maine

Tax consequences of selling a home Maine

Maine does not have an inheritance tax. For capital gains purposes, inherited property receives a stepped-up basis: your cost basis becomes the property’s fair market value on the date of the original owner’s death, not what they originally paid. This eliminates any built-in gain that existed before you inherited it.

You pay capital gains tax only on appreciation that occurs after you inherit the property. If you inherit a Rockland house worth $300,000 and sell it six months later for $310,000, you owe capital gains tax only on the $10,000 of appreciation.

When multiple heirs inherit a property equally, each receives their proportional share of the stepped-up basis.

Home Sale Tax Rules During Divorce in Maine

Transfers of property between spouses during marriage or incident to divorce generally don’t trigger immediate tax consequences. The receiving spouse takes over the transferring spouse’s cost basis, meaning the built-in gain carries forward to whenever the property is eventually sold.

If both spouses meet the ownership and use tests at the time of sale, both can potentially claim the primary residence exclusion during divorce proceedings, allowing up to $500,000 in gains to be excluded on a joint return or two separate $250,000 exclusions if filing separately. If one spouse keeps the house and sells years later, only that spouse’s own period of use counts toward the two-year residency test.

Timing matters here as well. A spouse who moves out during a lengthy divorce proceeding may find that by the time the house sells, they no longer meet the two-year use requirement. If that is a risk, selling before one spouse vacates the property can preserve both exclusions. Consulting a tax professional alongside your divorce attorney early in the process helps avoid costly surprises at closing.

Tax Consequences of Short Sales and Foreclosures in Maine

In a short sale, you sell the property for less than you owe, and the lender agrees to accept the shortfall. You typically receive no proceeds, but the forgiven debt may be treated as cancellation of debt income and taxed accordingly. The same applies to foreclosures where the lender forgives a remaining deficiency after the sale.

Foreclosures often result in a loss rather than a gain. Losses on a primary residence are not deductible. Investment property losses may be deductible, but they are subject to passive activity loss rules and other limitations that vary depending on your income and level of participation in the property.

One important distinction is how the IRS calculates the amount realized in a foreclosure. For a recourse loan, the amount realized is the fair market value of the property. For a non-recourse loan, the amount realized is the full outstanding loan balance, which can result in a taxable gain even when the property sells for less than you owe.

Federal protections for forgiven mortgage debt on primary residences have expired and been extended several times over the years. Whether relief provisions apply to your situation depends on when the foreclosure or short sale occurred and the current state of federal law. A tax professional should be consulted before assuming any forgiven debt is excluded from income.

Tax Planning Strategies to Reduce Your Maine Home Sale Tax Bill

Time the sale to a lower-income year. Maine’s progressive system means timing matters. If your income will be lower next year, delaying the sale can reduce the effective rate on your gain.

Use an installment sale. Spreading the gain over multiple years via seller financing keeps you in lower tax brackets each year and can reduce both federal and Maine taxes significantly.

Harvest capital losses. Selling stocks or other investments with unrealized losses in the same year offsets gains from real estate sales.

Stay current on estimated tax payments. A large gain creates a large estimated tax obligation. Failing to make adequate quarterly payments triggers underpayment penalties. Plan ahead.

Maximize retirement contributions. Maximizing 401(k) and deductible IRA contributions in the year of sale reduces your adjusted gross income, potentially keeping you out of higher brackets.

Tax Implications of Selling a Vacation Home or Camp in Maine

Maine has one of the highest concentrations of vacation properties in New England, from lakefront camps in the Western Mountains to coastal cottages along the Down East shore. For tax purposes, a vacation home or seasonal camp is treated as a second property, not a primary residence, which means the primary residence exclusion is off the table regardless of how long you’ve owned it.

The full gain on a vacation property sale is taxable at both the federal and state levels. Federally, if you’ve held the property for more than a year, long-term capital gains rates of 0%, 15%, or 20% apply depending on your income. Maine taxes the same gain as ordinary income at rates up to 7.15%, with no distinction for how long you have held it.

If you’ve owned a camp on Sebago Lake for twenty years and watched its value triple, the entire appreciation is taxable when you sell. There is no exclusion, no deferral, and no special treatment for long-term ownership.

One strategy some owners pursue is converting a vacation property into their primary residence before selling. If you move in and live there as your main home for at least two of the five years before the sale, you may qualify for the primary residence exclusion on the portion of gain that accrued during your period of primary use. However, gains allocated to periods of non-qualified use are not eligible for the exclusion, and the IRS prorates accordingly. This strategy takes time and planning, and a CPA should be involved well before you list.

If you’ve been renting out your vacation property, additional rules apply. Any depreciation claimed on the rental portion must be recaptured at sale, and the personal use versus rental use split affects how you calculate gain and what expenses are deductible. Poor recordkeeping here is one of the most common sources of errors on real estate tax returns.

When to Hire a Tax Professional for Your Maine Home Sale

Real estate transactions are among the most significant financial events most people experience, and the tax consequences can be substantial. The complexity of layering federal capital gains rules, Maine’s ordinary income treatment, depreciation recapture, withholding requirements, and potential 1031 exchanges makes professional guidance valuable in most cases and essentially necessary in complex ones.

Tax effects of selling a home Maine

The best time to consult a CPA is before you list, not after you close. Once the sale is complete, your options narrow significantly. A CPA engaged early can help you assess whether to time the sale across tax years, whether an installment sale structure makes sense, which improvements qualify for basis adjustments, and whether a 1031 exchange is worth pursuing. These decisions cannot be undone retroactively.

For straightforward primary residence sales where the gain falls well within the exclusion threshold, professional help may be optional. But for investment properties, vacation homes, inherited properties, or any sale generating a gain above $200,000, a CPA familiar with Maine tax law is worth the cost.

If you’re pursuing a 1031 exchange, a qualified intermediary (QI) is required. The IRS mandates that exchange proceeds never pass through your hands. A qualified intermediary holds the funds between the sale of your relinquished property and the purchase of the replacement property, ensuring the exchange meets federal requirements. Maine follows the same rules, so a properly structured exchange defers both federal and state taxes. Choose a QI affiliated with a professional organization such as the Federation of Exchange Accommodators, and verify they carry an adequate fidelity bond and errors-and-omissions insurance.

Tax professionals can only work with the documentation you provide. Sellers who arrive with organized records, including original purchase documents, improvement receipts, depreciation schedules, and prior tax returns, get better advice and pay less in professional fees. After the sale, keep all closing documents, the Form 1099-S, and your tax return for the year of sale indefinitely.


FAQs

What taxes apply when selling a house in Maine?

Potentially three: capital gains tax (both federal and Maine state), the real estate transfer tax, and (for non-residents) a 2.5% withholding on the sale price as a prepayment of Maine income tax. Maine taxes all capital gains as ordinary income at rates up to 7.15%, while federal long-term rates range from 0% to 20% depending on your income.

How do I avoid capital gains tax on my Maine home sale?

The primary residence exclusion is the most powerful tool available. If you lived in the home for two of the last five years, you can exclude up to $250,000 in gains ($500,000 if married filing jointly) from both federal and Maine taxes. For investment properties, a 1031 exchange defers the tax by reinvesting proceeds into another property. Documenting all capital improvements also reduces your taxable gain by increasing your cost basis.

How much will I owe on $300,000 in profit?

It depends on whether the property was your primary residence and your total income in the year of sale. If you qualify for the primary residence exclusion and are married filing jointly, you could owe nothing on the first $300,000 in gain. For an investment property, expect a federal tax of 15 to 20% on long-term gains plus the 3.8% NIIT if your income exceeds $250,000, plus Maine’s 7.15% on the full amount, potentially $55,000 to $70,000 or more depending on your circumstances.

What is the two-year rule for capital gains?

To qualify for the primary residence exclusion, you must have owned the home and used it as your main residence for at least two of the five years immediately before the sale. The two years don’t need to be consecutive. A separate rule limits use of the exclusion to once every two years; you can’t claim it on back-to-back sales within a two-year window.


Maine’s treatment of capital gains as ordinary income, with no distinction between short-term and long-term, makes it one of the more expensive states in New England for real estate sellers, particularly those in higher income brackets. The combined federal and state tax burden on a large investment property gain can easily exceed 30% of the profit.

The primary tools for reducing that burden are the primary residence exclusion, capital improvements documentation, selling cost deductions, and 1031 exchanges for investment properties. For transactions involving significant gains, consulting a CPA or tax attorney before listing (not after closing) gives you the most options. If you want to discuss your specific situation, you can also contact us directly for guidance on selling within your tax planning timeline.

Get More Info On Options To Sell Your Home...

Selling a property in today's market can be confusing. Connect with us or submit your info below and we'll help guide you through your options.

ARE YOU LOOKING TO SELL YOUR HOUSE IN Maine? GREAT! WE ARE LOOKING TO BUY! LETS TALK...

We buy houses in Maine in ANY CONDITION and ANY SITUATION. There are no commissions, fees or closing cost and no obligation whatsoever. Start below by giving us a bit of information about your property or call/text (603) 380-4455.

  • By submitting the contact form and signing up for texts, you consent to receive marketing text messages from Brendan Buys Houses at the number provided. Consent is not a condition of purchase. Message frequency varies. Message and data rates may apply. You can unsubscribe any time by replying "STOP". Text ”HELP” to get help.

  • This field is for validation purposes and should be left unchanged.