The effects of four sand contents on the compressive, flexural and splitting-tensile strength of cement mortars were evaluated. Moreover, we experimentally investigated the pore structure of cement mortar brought about by changing the sand content and water/cement ratio. The changes in the pore structure were quantified by measuring the porosity and pore size distribution obtained by using mercury intrusion porosimetry (MIP) technique. The test results show that the strengths of cement mortar increase with increasing sand content. It is also suggested that the traditional water/cement ratio law can be applied to cement mortar with different sand contents, provided that a slight modification is introduced. Sand content is an important parameter influencing the pore structure of cement mortar. Moreover, there is a good relationship between the pore structure and strength of cement mortar.