Internal Revenue Code section 1031
SOURCE: WIKIPEDIA
To qualify for Section 1031 of the Internal Revenue Code, the properties exchanged must be held for productive use in a trade or business or for investment. Stocks, bonds, and other properties are listed as expressly excluded by Section 1031 of the Internal Revenue Code, though securitized properties are not excluded. The properties exchanged must be "like-kind", i.e., of the same nature or character, even if they differ in grade or quality. Personal properties of a like class are like-kind properties. Personal property used predominantly in the United States and personal property used predominantly elsewhere are not like-kind properties.
Real properties generally are of like-kind, regardless of whether the properties are improved or unimproved. However, real property in the United States and real property outside the United States are not like-kind properties