The concept of wife swapping has its roots in ancient cultures, where group marriages and communal living arrangements were not uncommon. In modern times, the practice gained popularity in the 1960s and 1970s, particularly in the United States and Europe, as part of the counterculture movement.