The production of K0S mesons in inelastic p+p collisions at beam momentum 158 GeV /c (sNN√=17.3 GeV ) was measured with the NA61/SHINE spectrometer at the CERN Super Proton Synchrotron. Double-differential distributions were obtained in transverse momentum and rapidity. The mean multiplicity of K0S was determined to be 0.162±0.001(stat.)±0.011(sys.) . The results on K0S production are compared with model predictions (EPOS 1.99, SMASH 2.0, PHSD and UrQMD 3.4 models) as well as with published world data.publishedVersio