Here we describe the development and evaluation of a novel an air-dried high-resolution melt (HRM) assay to detect eight major extended spectrum beta-Lactamase (ESBL) (SHV and CTXM groups 1 and 9) and Carbapenemase (NDM, IMP, KPC, VIM and OXA-48) genes that cause antimicrobial resistance. The assay was evaluated using 440 DNA samples extracted from bacterial isolates from Nepal, Malawi and UK and 390 clinical Enterobacteriaceae isolates with known resistance phenotypes from Nepal. The sensitivity and specificity for detecting the ESBL and Carbapenemase genes in comparison to the reference gel-base PCR and sequencing was 94.7% (95%CI: 92.5%-96.5%) and 99.2% (95%CI: 98.8%-99.5%) and 98.5% (95%CI: 97.0%-99.4%) and 98.5% (95%CI: 98.0%-98.9%) when compared to the original wet format. The overall phenotypic agreement was 91.1% (95%CI: 90.0%-92.9%) on predicting resistance to cefotaxime and carbapenems. We observed good inter-machine reproducibility of the air-dried HRM assay using the Rotor-Gene Q, QuantStudioTM 5, CFX96, LightCycler 480 and MIC. Assay stability upon storage in the fridge, room temperature and oven were assessed at six time points for eight months and no loss of sensitivity occurred under all conditions. We present here a ready-to-use air-dried HRM-PCR assay that offers an easy, thermostable, fast and accurate tool for the detection of ESBL and Carbapenamase genes to improve AMR diagnosis and treatment.