A molecularly imprinted electrochemiluminescence (ECL) sensor was developed for the specific detection of kanamycin in food using silver nanowires-gold nanoparticles (AgNWs-AuNPs) as a luminophore. Polythionine (pThi), another key component of the luminescent layer, can be used as an accelerator of the coreactant and can promote the formation of the AgNWs-AuNPs conductive network. In addition, molecularly imprinted polymers (MIPs) were polymerized on the AgNWs-AuNPs/pThi conductive network, which laid the foundation for the specific capture of kanamycin. The preparation and testing conditions of the sensor were optimized, and the performance was characterized. Under optimal conditions, the ECL intensity of AgNWs-AuNPs/pThi/MIP/GCE showed a good linear relationship (R2 = 0.9956) with kanamycin concentration (1 × 10-10-1 × 10-6 M) and a low detection limit (3.14 × 10-11 M, S/N = 3), showing satisfactory selectivity and stability. As proof, AgNWs-AuNPs/pThi/MIP/GCE was successfully used to detect kanamycin in actual samples with satisfactory recovery (83.27-94.13%), which was in good agreement with the results of HPLC-MS/MS (82.26-95.82%). The successful preparation of AgNWs-AuNPs/pThi/MIP/GCE in this experiment provided a new pathway for designing ECL components and constructing an ultrasensitive sensing platform in the field of hazardous substance detection.