BackgroundAntibiotic residues in food chain have raised concerns regarding their toxicity and involvement in antimicrobial resistance. However, most existing antibiotic biosensors are primarily applicable to liquid food samples. Given the complex matrix characteristics of foods, there is an urgent need for the development of effective antibiotic detection platforms that exhibit high universality and flexibility. Porous microneedles (PMN) are microdevice structures with needle-like shapes and microscale pores throughout their composition, which facilitate rapid sampling. Consequently, the integration of PMN with biosensors holds significant promise for the detection of antibiotic residues in complex food samples. ResultsIn this study, hydrogel-forming PMN are fabricated by leveraging the oxygen-production capacity of thylakoid to generate bubbles and form porous structures. These PMN are then integrated with a fluorescence aptasensor for the quantification of the antibiotic netilmicin. The aptasensor consists of a netilmicin (NET) aptamer with stem loop and hairpin structure, which facilitated the binding of SYBR Green I to produce a fluorescent signal. In the presence of NET, the complete binding between NET and the aptamer results in a reduction of fluorescence intensity, thereby generating a detectable signal change for the detection of NET. Utilizing capillary action accelerate fluid extraction (2.9 times faster than nonporous microneedles) and a large specific surface area (5.1072 m2/g) conducive to aptasensor adsorb, the PMN achieve efficient capture and quantification of antibiotic with limits of detection and quantitation of 5.99 nM and 19.8 nM, respectively. SignificancePorous microneedles with tunable porosity and desirable mechanical properties are successfully fabricated. The integration of PMN with aptasensor enable the efficient detection of netilmicin in fish, milk and river water samples, demonstrating high recovery rates. The PMN represent potential tools for the convenient and rapid detection of antibiotic residues within complex food matrices, thereby enhancing food safety monitoring.