Here, we present the discovery that mutation of a non-Stock6-originating gene in qhir8, namely, ZmDMP, enhances and triggers haploid induction. ZmDMP was identified by map-based cloning and further verified by CRISPR–Cas9-mediated knockout experiments.