Giving backTo our military community
Giving backTo military families
Military & VeteranFocused
VA LoanExperts
Military familiesHelping military families
Learn More
Financial Guidance

Military Capital Gains Exclusion When Selling Your Home

Active-duty service can pause the IRS home-sale clock for up to 10 years. Here is how the military capital gains exclusion lets you avoid tax on more gain.

Sold sign in front of a military family's home after a PCS move

Helpful PCS Resources

Table of Contents

When you sell a home for more than you paid, the profit is called a capital gain, and it can be taxed. The military capital gains exclusion is a rule that lets active-duty families avoid tax on far more of that gain than civilians can. If a PCS (Permanent Change of Station, your next set of military move orders) ever forced you to leave a home you owned, this could save you thousands. Here is how it works in plain terms.

The Basic Home-Sale Exclusion

Most homeowners already get a generous tax break when they sell their main home. Under Section 121 of the tax code, you can exclude up to $250,000 of gain if you file taxes as a single person, or up to $500,000 if you are married and file jointly, according to IRS Publication 523. Exclude means that gain is not taxed at all.

To qualify, you normally must have owned the home and lived in it as your main home for at least two of the five years before you sell. That two-of-five-years rule is where military life creates a problem, and where the military rule comes to the rescue.

Infographic showing the Section 121 home-sale exclusion of up to 250,000 dollars for single filers and up to 500,000 dollars for married couples filing jointly The home-sale exclusion shields up to these amounts of gain from tax. Source: IRS Publication 523.

Why the Standard Rule Hurts Military Families

Imagine you buy a home, live in it for a year, then receive orders to a new base across the country. You rent the home out for several years while stationed elsewhere. By the time you sell, you may not have lived there for two of the last five years, so a civilian in your shoes could lose the exclusion entirely and owe tax on the gain.

That is unfair to families who left only because the military sent them. Congress agreed, which is why there is a special suspension for service members.

The Military Suspension: Up to 10 Extra Years

Here is the key benefit. If you are on qualified official extended duty, you can suspend, or pause, the five-year test period for up to 10 years, according to IRS Publication 523 and the IRS Armed Forces' Tax Guide. In practice, that stretches your window from 5 years to as many as 15 years. So you can still claim the exclusion as long as you lived in the home for two of the last 15 years before the sale.

You count as being on qualified official extended duty when you are ordered to active duty either indefinitely or for more than 90 days, and you are either stationed at least 50 miles from that home or living in government quarters under orders, per the IRS.

Timeline graphic showing the standard five-year ownership test extended up to fifteen years for service members on qualified official extended duty Active-duty orders can stretch the five-year test to as long as 15 years. Source: IRS Publication 523.

A Simple Example

Say a married couple buys a home, lives in it for two full years, then PCSes and rents the home out for the next eight years before selling. A civilian landlord would likely owe tax on the gain, because they did not live there for two of the last five years.

Planning Your Next Move?

Connect with Veteran & Military Spouse Real Estate Agents and VA Loan Experts You Can Trust.

Find a lenderTotally FREE to use!

The military couple can suspend the clock during those eight years of extended duty. Because they lived in the home for two years inside the longer 15-year window, they can still exclude up to $500,000 of gain. That is the difference between a large tax bill and none at all.

One caution: renting the home may have created depreciation, and the part of your gain tied to depreciation generally cannot be excluded and may be taxed. A tax professional can sort that out. Military OneSource explains the basics of taxes and military rental properties.

Thinking through whether to sell or hold a home at your next PCS? Connect with a VeteranPCS agent who understands military timing.

How This Fits Your PCS Decisions

This rule quietly shapes some of the biggest choices military families make about real estate.

It makes buying earlier in a career less risky, because the exclusion protects your gain even if orders move you before you can sell. Our complete guide to buying your first home with a VA loan pairs well with this benefit.

It also gives you flexibility to rent a home out for years and still sell tax-efficiently later, which is part of why some families build wealth across multiple duty stations. If a move has your housing plan in flux, our guide to buying or selling during a PCS lays out a workable timeline, and our explainer on whether you can use the VA loan more than once shows how to finance the next home.

First-Time Homebuyer and VA Loan guide covers

Free First-Time Homebuyer Guide

Make your move less stressful with our step-by-step first-time homebuyer guide.

We respect your privacy. Unsubscribe anytime.

Frequently Asked Questions

How much capital gain can I exclude when I sell my home?

Up to $250,000 if you file as single, or up to $500,000 if you are married filing jointly, as long as you meet the ownership and use tests.

How long can military orders pause the home-sale clock?

Up to 10 years. That can extend the normal five-year test period to as long as 15 years while you are on qualified official extended duty.

What counts as qualified official extended duty?

Being ordered to active duty indefinitely or for more than 90 days, while stationed at least 50 miles from the home or living in government quarters under orders.

Do I still owe tax on depreciation if I rented the home?

Generally yes. The portion of gain tied to depreciation you claimed while renting usually cannot be excluded. Ask a tax professional how it applies to you.

The Bottom Line

The military capital gains exclusion is one of the most valuable and least understood tax benefits in uniform. It can pause the home-sale clock for up to 10 years, letting you exclude a large gain even when orders kept you away for years. Before you sell or rent a home at your next move, connect with a VeteranPCS agent or lender and a tax professional to plan the timing. Know a family weighing what to do with their home? Share this guide with your military network.

This content is for informational purposes only and is not tax or legal advice. Consult a qualified tax professional about your specific situation.

β€œWhat an amazing resource for military families! They connected me with an incredible realtor and gave us a check to cash after closing for using their FREE service! Their team was so friendly and answered every question I had promptly. Everything went just as they said it would. No catches, no hidden agendas. I feel so grateful for stumbling across an ad for VeteranPCS on Facebook!”
Breanna Walker

Google review

Ready to Move?

Let us connect you with a VA loan expert for your next duty station.

Find a lenderIt’s free. No obligation.

Not Moving Yet?

Get PCS tips, VA loan advice, and duty station updates delivered to you.

Unsubscribe anytime.

Follow VeteranPCS

Daily tips, videos, and resources made for military families.

See all platforms β†’

VeteranPCS Bonus

Receive up to $4,000 back when you buy or sell with us!

Learn More

We’re Here for Your Next Move

Connect with a trusted Veteran or Military Spouse VA loan expert today!

Find a lender
Veteran & Military Spouse AgentsNo Cost to YouVeteranPCS BonusGive Back to Military Families