The performance of a surface Plasmon resonance (SPR) sensor with silver film was demonstrated. The Kretschmann setup's evanescent field, which can activate the sensor. The sensitivity and FWHM of the SPR sensor drop as the thickness of the silver layer in the metallic film increases. Using water as a sensing medium, it can create a simulation model at various thicknesses of the silver layers placed on the semicircular glass prism D-ZLAF50 with a thickness of dAg = 10–80 nm. The proposed sensor can function at wavelengths of up to 600,700nm in the visible area and the infrared region at wavelengths of 900 & 1000 nm. Optimum sensitivity (S = 100–140) may be observed in the visible and infrared spectrum with thicknesses ranging from dAg = (10–80) nm , ∆n = 0.1. At silver layer thicknesses, the values of SPR dip length and FWHM are excellent (40–60 nm).