Ag-doped ZnO nanoparticles form a hydrogen sensor with exceptional sensitivity and rapid response, crucial for effective hydrogen safety monitoring.