Malaria is listed as one of the three most hazardous infectious diseases worldwide. Travelers and migrants passing through exit and entry ports are important sources of malaria pandemics globally. Developing accurate and rapid detection technology for malaria is important. Here, a novel hairpin-mediated amplification (HMA) technique was proposed for the detection of four Plasmodium species, including P. falciparum, P. vivax, P. malariae, and P. ovale. Based on the conserved nucleotide sequence of Plasmodium, specific primers and probes were designed for the HMA process, and the amplicon can be detected using lateral flow detection (LFD); the results can be read visually without specialized equipment. The specificity of HMA-LFD was evaluated using nucleic acids extracted from four different Plasmodium species and two virus species. The sensitivity of HMA-LFD was valued using 10× serial dilutions of plasmid containing the template sequence. Moreover, 78 blood samples were collected to compare HMA-LFD and qPCR. The HMA-LFD results were all positive for four different Plasmodium species and negative for the other two virus species. The sensitivity of HMA-LFD was tested to be near five copies/μL. The analysis of clinical samples indicated that the consistency of HMA-LFD and qPCR was approximately 96.15%. Based on these results, the HMA-LFD assay was demonstrated to be a rapid, sensitive, and specific technique for the detection of Plasmodium and has great advantages for on-site detection in low-resource areas and exit and entry ports.