Deductions & credits

First, please see https://www.irs.gov/taxtopics/tc701 for information on how the gain on the sale of a home affects active duty military.

I am not sure that you qualify for the up to 10 year grace period, but to find out, please do the following:

Do a Search for "sale of home, exclusion" (all lower case, without the double quotes). Jump to it.

Go through the home sale interview. When you get to the screen that is headed "Reason for Sale", indicate "other reasons".

On the next screen, it will ask you if you are military, foreign service, intelligence community employee, Peace Corps. Check that box.

The next screen will start a number of questions designed to see if you qualify under the special rule for military, foreign service, intelligence community employee, and Peace Corps.