Totalization agreements are agreements between the US and other nations that benefit expats. Their purpose is to avoid double taxation. They have to be considered when determining whether any expat should pay US social security tax or social security tax in a different country.