Should I sell my house or rent it out when I leave the military?

Sell if you need the cash for your next home or do not want to be a landlord from far away; keep the house as a rental only if you want that job and can pay for it through empty months and repairs without counting on the rent. Either way, check two things first: your dates under the home-sale tax rule in 26 U.S.C. 121, which looks back 5 years from the sale, and, if the house has a VA loan, how much VA entitlement you have left.
The tax rule is the one people miss when they leave the service. Section 121 excludes gain on a home you owned and lived in for periods adding up to 2 years or more during the 5 years before the sale. Service members can elect to pause that 5-year clock, but only while they or their spouse are on qualified official extended duty. When you separate or retire, that duty ends, and the clock runs again from there.
The decision in one list
This page does not estimate rent, prices, or profit. Those depend on the house, the market, and your loan. What it can do is sort the reasons.
Selling tends to fit when:
- You need the equity for the next home or for the move.
- You do not want calls about repairs, tenants, or vacancies from another state.
- You lived in the home long enough that the 5-year window is closing, and you want the tax exclusion. The math is in the next section.
- You plan to buy again with a VA loan and want your entitlement back. The VA section below covers that.
Keeping it as a rental tends to fit when:
- You want to own rental property, and this house is the first one.
- You can cover the mortgage, taxes, insurance, and repairs from your own money during months with no tenant.
- You have someone on the ground: a property manager, or family you trust nearby.
- You have read your loan documents and called your insurer, and nothing there stops you.
If you are not sure you want to be a landlord, renting the house for a year to find out is a real option. The tax section shows how long that window stays open.
The tax clock: 2 of the last 5 years
26 U.S.C. 121(a) says gross income does not include gain from the sale of a home if, during the 5-year period ending on the date of the sale, you owned the property and used it as your principal residence for periods aggregating 2 years or more. IRS Publication 523, Selling Your Home, splits that into an ownership test and a residence test. It says the 24 months of residence can fall anywhere within the 5-year period, and it does not have to be a single block of time.
The cap on the exclusion is in the same law. Section 121(b)(1) says the excluded gain shall not exceed $250,000. Publication 523 says the exclusion is increased to $500,000 for a married couple filing jointly, when the joint-return conditions in the publication are met.
Here is the arithmetic that matters when you move out. Suppose you lived in the home for exactly 2 years and then moved out. The 5-year look-back still includes those 2 years for about 3 years after the move. After that, the oldest months of residence start to fall outside the window. This is the statute's math, not a rule about rentals. Publication 523 has worksheets, and a tax professional has to check your actual dates.
The military pause, and why it ends when you leave
Section 121(d)(9) lets you elect to suspend the running of the 5-year period during any period that you or your spouse is serving on qualified official extended duty as a member of the uniformed services. The statute defines that duty as extended duty while serving at a duty station at least 50 miles from the property, or while residing under Government orders in Government quarters. Extended duty means a call or order to active duty for more than 90 days or for an indefinite period. The 5-year period shall not be extended more than 10 years by reason of the suspension.
Read that with your separation date in mind. The pause covers time on that kind of duty. Once you separate or retire, you are no longer serving on it, so new time is not paused and the 5-year period runs again. If you moved out years ago on orders, the paused years may still help. A tax professional can tell you how much of the window you have left on the day you plan to sell.
Depreciation is taxed even when the rest is excluded
If you rent the house, you generally claim depreciation on it. Section 121(d)(6) says the exclusion does not apply to gain up to the depreciation adjustments attributable to periods after May 6, 1997. So a sale after renting can carry a tax bill for that part of the gain even when the rest is excluded. IRS Publication 527, Residential Rental Property, covers depreciation on a rental.
Renting after you move out is not nonqualified use
Section 121(b)(5) says the exclusion does not apply to gain allocated to periods of nonqualified use. It then excludes two kinds of time from that rule: any portion of the 5-year period after the last date you or your spouse used the property as a principal residence, and periods of qualified official extended duty, not to exceed an aggregate period of 10 years. A house you lived in first and rented after you left fits the first exception for the rental years.
If the house has a VA loan
Keeping the house does not lock you out of the VA benefit. VA News, September 15, 2026, says the VA home loan is a lifetime benefit. In many cases you can keep your current home and use your remaining entitlement to buy another home to live in, and that holds even while you also have another VA-backed home loan. VA News also says you cannot use a VA loan to buy a vacation home or an investment property, and that using the benefit again may result in a higher VA funding fee. The next home has to be one you intend to live in, and your lender has to approve you.
How much remaining entitlement you have depends on the county where you buy next. VA's loan limits page, last updated August 12, 2025, says to multiply the one-unit county loan limit by 25 percent and subtract the entitlement you have already used. It says most lenders require that your entitlement, down payment, or a combination of both covers at least 25 percent of the total loan amount. The worked steps are on Can I get a second VA loan and keep or rent out my first house?.
Selling works the other way. VA News says that if you paid off a previous VA loan in full, VA may be able to restore that entitlement. VA Form 26-1880, Request for a Certificate of Eligibility, lists "restoration" and "one-time restoration" among the reasons you can request a certificate. Ask VA which one fits your loan before you count on it.
The rest of the VA side already has its own pages on this site:
- Renting it out after you move: Can I rent out my VA loan house when I PCS?
- How long you had to live there first: How long do I have to live in my VA loan house before I can rent it out?
- Letting a buyer take over your loan: VA loan assumption
- Paying off the VA loan by refinancing the house you keep: Refinancing from a VA loan to a conventional loan
- The fee on your next VA loan: The VA funding fee
What keeping it means in practice
You become a landlord, often in a different state from the one you move to. IRS Publication 527 says that in most cases, all rental income must be reported on your tax return. The rest of the job is not tax: finding and screening tenants, a lease that fits that state's landlord-tenant law, repairs, and a landlord insurance policy in place of your homeowner's policy. Ask your insurer what changes when the house becomes a rental.
Most people leaving the service will not live near the house. A property manager can do the day-to-day work for a fee. Two pages on this site cover that choice: why and how to hire a property manager and managing a rental from far away. For the tax side of a VA-financed rental, see tax considerations for a VA loan rental.
Eight questions to answer before you decide
Write the answers down. Most of them come from your own records, not from an expert.
- What date did you move in, and what date did you move out (or will you)?
- Were you ever on orders at a duty station at least 50 miles from the house, or living in Government quarters under orders? Which dates?
- What is your separation or retirement date?
- Does the house have a VA loan? If so, what entitlement remains? Call VA at 877-827-3702.
- Will you buy your next home with a VA loan, and how soon?
- If the house sat empty for a few months, could you pay for it from savings without stress?
- Who would handle repairs and tenant calls: you, family, or a property manager?
- What would you net from a sale after costs? A local agent can give you a net sheet.
Questions 1 to 3 are the ones a tax professional needs. Questions 4 and 5 are for VA and a VA-approved lender. Questions 6 to 8 are yours alone.
Why ADPI cares about this decision
If you would rather sell and keep things simple, that is a sound choice. A rental you did not want is not an asset to your family.
If you keep it, the house you leave behind is often your first rental, planned or not. That moment is why ADPI exists. It was founded in 2017 by military veterans to teach real estate to the military community, starting with the VA loan and the home you live in. The question after "should I keep it?" is usually "what do I buy next, and who helps me run it from far away?" That is the residential path ADPI teaches: keep what you leave behind as a rental, buy the next home with the benefit you earned, and repeat. Residential Pro is our step-by-step program for it. For people who later want to go past small rentals into apartment buildings with a team, there is the Military Multifamily Academy, and what to do after military retirement compares the common paths.
If you are keeping the house and want it to be the first of several, book a call with our team. Bring your dates, your loan, and your goals, and we will talk through where this house fits.
FAQ
Should I sell or rent out my house when I get out of the military?
Sell if you need the cash for your next home or do not want to be a landlord from far away. Keep it as a rental if you want to own rentals and can pay for the house through empty months and repairs without counting on the rent. Before you choose, check your dates under 26 U.S.C. 121 and, if the house has a VA loan, ask VA what entitlement remains.
How long can I rent my house and still sell it without capital gains tax?
There is no rental time limit in the statute. The test is that you owned the home and used it as your principal residence for periods adding up to 2 years or more during the 5 years ending on the date of the sale. If you lived there exactly 2 years and then moved out, that math leaves about 3 years after move-out before those 2 years fall outside the 5-year window, unless a suspension applies. A tax professional has to check your dates.
Does the military pause on the 5-year rule keep running after I separate?
No. Under 26 U.S.C. 121(d)(9), the suspension you can elect covers any period that you or your spouse is serving on qualified official extended duty. That means extended duty at a duty station at least 50 miles from the home, or while living in Government quarters under Government orders. Once that duty ends, the 5-year period runs again. The statute caps the extension at 10 years.
Is the gain from depreciation excluded if I rent the house first?
No. 26 U.S.C. 121(d)(6) says the exclusion does not apply to gain up to the depreciation adjustments attributable to periods after May 6, 1997. If you rent the house, that part of the gain is taxable even when the rest is excluded. A tax professional can tell you the amount.
Does renting the house after I move out count as nonqualified use?
Not for the time after you last lived there. 26 U.S.C. 121(b)(5) excludes from nonqualified use any portion of the 5-year period that falls after the last date you or your spouse used the property as a principal residence. Periods of qualified official extended duty are also excluded, up to 10 years in total.
Can I keep my VA loan house and still use a VA loan again?
Often, yes. VA News says that in many cases you can keep your current home and use your remaining entitlement to buy another home to live in, even while you also have another VA-backed home loan. The new home has to be one you intend to live in, and your lender has to approve you. VA says using the benefit again may result in a higher funding fee.
If I sell, do I get my VA entitlement back?
VA News says that if you paid off a previous VA loan in full, VA may be able to restore that entitlement. VA Form 26-1880, Request for a Certificate of Eligibility, lists restoration and one-time restoration as options. Call VA at 877-827-3702 to ask what applies to your loan.