In a 1031 exchange, the replacement property must be like-kind to the relinquished property. The good news is that, in general, any real estate held for investment or business purposes in the US is considered like-kind; the difference in type, grade, or quality doesn’t matter. For example, you can exchange your multifamily rental property for a larger apartment building, or exchange it into a commercial property instead.