Deductions & credits

If you moved out early due to one of the qualifying events listed in publication 523, you might qualify for a partial exclusion.  It is not required that you sell immediately to use the partial exclusion.