The preservation of drug stability in biological evidence during the processes of collection and storage poses a substantial obstacle to the progress of forensic investigations. In conjunction with other constituents, the microorganisms present in the samples play a vital role in this investigation. The present investigation employed the high-performance liquid chromatography (HPLC) technique to assess the stability of (1R,2 S)-(–)-2-methylamino-1-phenyl-1-propanol hydrochloride in plasma and urine samples that were inoculated with Escherichia coli. These samples were subjected to storage conditions of 37 °C for 48 h and − 20 °C for a duration of 6 months. Minimal inhibitory concentration (MIC) and Minimal bactericidal concentration (MBC) of MPPH against E. coli were determined using microdilution method. The stability of MPPH in plasma and urine samples inoculated with E. coli was investigated using HPLC method. The results showed the MIC and MBC of MPPH were 87.5 ± 25 ppm and 175 ± 50 ppm, respectively. While MPPH remained stable in plasma for 48 h at 37 °C, it showed a notable decrease of about 11% in stability when stored in urine for the same period and temperature. From the beginning of the first month, a decrease in the stability of the compound appeared in all samples that were stored at − 20 °C, and the decrease reached 7% for plasma samples and about 11% for urine samples. The decrease in the stability reached its peak in the sixth month, reaching more than 30% and 70% of plasma and urine samples preserved at − 20 °C. This work concluded that E. coli can negatively affect the stability of MPPH in plasma and urine samples. This may lead to incorrect conclusions regarding the analysis of biological samples in criminal cases.