Herein, we report the fabrication and characterization of a myoglobin biomarker sensor to detect acute myocardial infarction using chromium (Cr)-doped zinc oxide (ZnO) NPs. The gene discussed is MB; the disease is myocardial infarction.