Early and accurate diagnosis is critical in reducing the morbidity and mortality associated with malaria. Microscopy (MI) is the current diagnostic gold standard in the field; however, it requires expert personnel, is time-consuming, and has limited sensitivity. Although rapid diagnostic tests for antigen detection (RDTs) are an alternative to diagnosis, they also have limited sensitivity and produce false positive results in detecting recent past infection. The automated hematology analyzer XN-31 prototype (XN-31p) (Sysmex Corporation, Kobe, Japan) is able to identify plasmodium-infected erythrocytes, count parasitemia and perform complete blood-cell counts within one minute. The performance of the XN-31p in diagnosing malaria was evaluated and compared with real-time polymerase chain reaction (qPCR), MI and RDT in an endemic area of Colombia where Plasmodium falciparum and Plasmodium vivax are present. Acute febrile patients were enrolled from July 2018 to April 2019 in Quibdó, Colombia. Malaria diagnoses were obtained from MI and RDT in the field and later confirmed by qPCR. Venous blood samples in EDTA were processed with an XN-31p in the field. Sensitivity, specificity, positive/negative predictive values, and the likelihood ratios of positive and negative tests were calculated with respect to the results from qPCR, MI and RDT. The intraclass correlation coefficient (ICC) and Bland–Altman plot were used to evaluate the concordance in the parasitemia with respect to MI. A total of 1,754 subjects were enrolled. The mean age was 27.0 years (IQR 14–44); 89.6% were Afro-Colombians, 94.3% lived in urban areas and 0.91% were pregnant. With respect to qPCR, the XN-31p showed a sensitivity of 90% (95% CI 87.24–92.34) and a specificity of 99.83% (95% CI 99.38–99.98) in detecting Plasmodium spp.; both parameters were equivalent to those for MI and RDT. Using MI as the reference, the XN-31p showed a sensitivity of 98.09% (95% CI 96.51–99.08), a specificity of 99.83% (95% CI 99.4–99.98), an ICC of 0.85 (95% CI 0.83–0.87) and an average difference of − 3096 parasites/µL when compared with thick-smear MI and an ICC of 0.98 (95% CI 0.97–0.98) and an average difference of − 0.0013% when compared with thin-smear MI. The XN-31p offers a rapid and accurate alternative method for diagnosing malaria in clinical laboratories in areas where P. falciparum and P. vivax cocirculate.