Kanamycin (KAN) residues in animal-derived foods continuously enter the human body, which will pose serious threats to human health such as hearing loss, nephrotoxicity and other complications. Therefore, to sensitively detect KAN residues by a reliable technology is extremely urgent in food quality and safety. Compared with traditional methods being limited by cost and complexity, photoelectrochemical (PEC) biosensors benefit from some merits such as rapid response, excellent sensitivity and good stability. In this study, the construction of a highly efficient PEC platform to realize KAN residues detection is discussed.