Enterobacterial repetitive intergenic consensus PCR is a useful tool for typing Mycobacterium chelonae and Mycobacterium abscessus isolates.