This paper discusses ratchetting deformation of lead-free solder Sn/3Ag/0.5Cu and lead-containing solder alloy Sn/37Pb with several stress amplitudes and stress ratios of the maximum stress to the minimum stress. First the uniaxial ratchetting testsare conducted with three maximum stresses and five stress ratios. The all tests are conducted using cylindrical bulk specimens of the solder alloys at 313 K. The test results show that there is the difference in the viscoplastic deformation behavior between two solder alloys. The relationship between ratchetting strain and time is estimated by Biley-Norton law to explain that the uniaxial ratchetting deformation is strongly dominated by the viscous deformation. Finally, the ratchetting deformation is simulated by the dislocation based constitutive model proposed by Estrin . The simulations show that there is a possibility to simulate the uniaxial ratchetting by clarifying the dislocation mechanism of the solder alloys.