Chronic wounds such as diabetic foot ulcers heal slowly, and bacterial biofilms on their surface block treatment. We combine micromotors with microneedles to deliver drugs locally into the wound, and use light-driven nanomotors that move into and break down biofilms.