TaxGuyBill
Level 15

The Net Investment Income Tax DOES apply to the non-excluded portion of the gain from the home.

See #11:

https://www.irs.gov/newsroom/questions-and-answers-on-the-net-investment-income-tax