Molecularly imprinted polymer-based surface plasmon resonance sensor prepared using silver nanoparticles was designed for the selective recognition of Penicillin G (PEN-G) antibiotic from both aqueous solution and milk sample. PEN-G imprinted sensors (NpMIPs) SPR sensor was fabricated using poly (2-hydroxyethyl methacrylate-N-methacroyl-(L)-cysteine methyl ester)-silver nanoparticles-N-methacryloyl-L-phenylalanine methyl ester polymer by embedding silver nanoparticles (AgNPs) into the polymeric film structure. In addition, a non-imprinted (NpNIPs) SPR sensor was prepared by utilizing the same polymerization recipe without addition of the PEN-G template molecule to evaluate the imprinting effect. FTIR-ATR spectrophotometer, ellipsometer, contact angle measurements were used for the characterization of NpMIPs SPR sensors. The linear concentration range of 0.01-10 ng/mL PEN-G was studied for kinetic analyses. The augmenting effect of AgNPs used to increase the surface plasmon resonance signal response was examined using polymer-based PEN-G imprinted (MIPs) sensor without the addition of AgNPs. The antibiotic amount present in milk chosen as a real sample was measured by spiking PEN-G into the milk. According to the Scatchard, Langmuir, Freundlich and Langmuir-Freundlich adsorption models, the interaction mechanism was estimated to be compatible with the Langmuir model.