ToddL99
Expert Alumni

Deductions & credits

If you sold your principal residence after becoming a US resident, enter the sale in the  "Sale of Home interview of Personal Income > Less Common Income.  

 

Second homes and land are entered as "investments" (as described by @Fern ).

 

Publication 523 (2019), Selling Your Home lists the rules for excluding the gain on the sale of your principal residence.  Foreign properties are not excluded from this tax break.