The Kirkendall effect arises when two distinct materials are placed next to each other and diffusion is allowed to take place between them. In general, the diffusion coefficients of the two materials in each other are not the same. This is only possible if diffusion occurs by a vacancy mechanism; if the atoms instead diffused by an exchange mechanism, they would cross the interface in pairs, so the diffusion rates would be identical, contrary to observation. By Fick's 1st law of diffusion, the flux of atoms from the material with the higher diffusion coefficient will be larger, so there will be a net flux of atoms from the material with the higher diffusion coefficient into the material with the lower diffusion coefficient. To balance this flux of atoms, there will be a flux of vacancies in the opposite direction—from the material with the lower diffusion coefficient into the material with the higher diffusion coefficient—resulting in an overall translation of the lattice relative to the environment in the direction of the material with the lower diffusion constant.