In recent years, FeCrNi medium entropy alloy, a new material with high hardness, high strength, good ductility and wear resistance, has been widely studied. In this work, the effect of precipitation volume fraction on the friction behavior of FeCrNi is studied by molecular dynamics simulation. With the increase of precipitation volume fraction, the average friction coefficient shows an upward trend. When the volume fraction of precipitation is between 2.33% and 3.10%, the wear resistance of FeCrNi would be enhanced after the nanoscratching. When the volume fraction of precipitation is between 2.33% and 3.10%, the normal force is larger, which means that a certain precipitation volume fraction will strengthen FeCrNi. Low precipitation volume fraction can effectively reduce the wear volume and wear rate during scratching, thus effectively reducing frictional force and friction coefficient. The interaction between dislocation and precipitation is an important factor that hinders dislocation propagation, leading to sample strengthening and the increase of wear volume, which is manifested as the increase of normal force and frictional force. The results guide the study of the effect of multiple precipitation on frictional properties and precipitation-dislocation interaction in FeCrNi.