Water presence causes a dramatic reduction of sandstone strength. Under compressive stress conditions, the strength of a rock sample is controlled by frictional parameters and the fracture toughness of the material.