Trade diversion refers to the shift in trade patterns that occurs when a country joins a regional trade agreement, such as a free trade area or customs union. It happens when the country starts importing more from member countries and less from non-member countries, even though the non-member countries may be more efficient producers. This shift is driven by the preferential tariff rates offered within the trade agreement.