This invention relates to the detection of carbapenem-resistant bacteria and the diagnosis of carbapenem-resistant bacteria infection. More specifically, the invention relates to new primers and probes for particular carbapenemase genes, which enable the accurate detection of carbapenem-resistant bacteria.