Polymorphisms in IS1311, an insertion sequence common to Mycobacterium avium and M. avium subsp. paratuberculosis, can be used to distinguish between and within these species.