Surface-enhanced Raman scattering (SERS) is a powerful technique primarily due to its high sensitivity and signal-enhancing properties, which enable the identification of unique vibrational fingerprints. These fingerprints can be used for the diagnosis and monitoring of diseases such as cancer. It is crucial to selectively identify cancer biomarkers for early diagnosis. A correlation has been established between the reduction in the concentration of specific amino acids and the stage of the disease, particularly tryptophan (TPP) and tyrosine (TRS) in individuals diagnosed with prostate cancer. In this work, we present a strategy to analyze TPP and TRS amino acids using molecularly imprinted polymer nanoparticles (nanoMIPs), which selectively detect target molecules in a SERS sensor. NanoMIPs are synthesized using the solid-phase molecular imprinting method with TPP and TRS as templates. These are then immobilized on a SERS substrate with gold nanoparticles to measure samples prepared from tryptophan and tyrosine in phosphate-buffered saline. The detection and quantification limits of the designed sensor are 7.13 μM and 23.75 μM for TPP, and 22.11 μM and 73.72 μM for TRS, respectively. Our study lays the groundwork for future investigations utilizing nanoMIPs in SERS assessments of TPP and TRS as potential biomarkers for prostate cancer detection.