Diagnostic biomarkers such as proteins and enzymes are generally hard to detect because of the low abundance in biological fluids. To solve this problem, the advantages of surface plasmon resonance (SPR) and nanomaterial technologies have been combined. The SPR sensors are easy to prepare, no requirement of labelling and can be detected in real time. In addition, they have high specificity and sensitivity with low cost. The nanomaterials have also crucial functions such as efficiency improvement, selectivity, and sensitivity of the detection systems. In this report, an SPR-based sensor is developed to detect lysozyme with hydrophobic poly (N-methacryloyl-(L)-phenylalanine) (PMAPA) nanoparticles. The SPR sensor was first characterized by attenuated total reflection-Fourier transform infrared, atomic force microscope, and water contact angle measurements and performed with aqueous lysozyme solutions. Various concentrations of lysozyme solution were used to calculate kinetic and affinity coefficients. The equilibrium and adsorption isotherm models of interactions between lysozyme solutions and SPR sensor were determined and the maximum reflection, association, and dissociation constants were calculated by Langmuir model as 4.87, 0.019nM(-1), and 54nM, respectively. The selectivity studies of SPR sensor were investigated with competitive agents, hemoglobin, and myoglobin. Also, the SPR sensor was used four times in adsorption/desorption/recovery cycles and results showed that, the combination of optical SPR sensor with hydrophobic ionizable PMAPA nanoparticles in one mode enabled the detection of lysozyme molecule with high accuracy, good sensivity, real-time, label-free, and a low-detection limit of 0.66nM from lysozyme solutions. Lysozyme detection in a real sample was performed by using chicken egg white to evaluate interfering molecules present in the medium.