Nuclear and nuclear-derived techniques such as isotopic and molecular methods can help assess how resistance genes are transferred between bacterial populations in animals, humans and the environment.