Precise RNA processing is fundamental to all small RNA-mediated interference pathways. In prokaryotes, clustered, regularly interspaced, short palindromic repeats (CRISPR) loci encode small CRISPR RNAs (crRNAs) that protect against invasive genetic elements by antisense targeting. CRISPR loci are transcribed as a long precursor that is cleaved within repeat sequences by CRISPR-associated (Cas) proteins. In many organisms, this primary processing generates crRNA intermediates that are subject to additional nucleolytic trimming to render mature crRNAs of specific lengths. The molecular mechanisms underlying this maturation event remain poorly understood. Here, we defined the genetic requirements for crRNA primary processing and maturation in Staphylococcus epidermidis. We show that changes in the position of the primary processing site result in extended or diminished maturation to generate mature crRNAs of constant length. These results indicate that crRNA maturation occurs by a ruler mechanism anchored at the primary processing site. We also show that maturation is mediated by specific cas genes distinct from those genes involved in primary processing, showing that this event is directed by CRISPR/Cas loci.conjugation | genetic interference | antisense RNA C lustered, regularly interspaced, short palindromic repeat (CRISPR) sequences are present in ∼40% of eubacterial genomes and nearly all archaeal genomes sequenced to date. CRISPR loci consist of short (∼24-48 nt) repeats separated by similarly sized unique spacers (1-4). CRISPR systems protect against bacteriophage and plasmid infection by a genetic interference mechanism that relies on the identity between CRISPR spacers and the invading targets (5-7). CRISPR arrays are transcribed into a long precursor containing spacers and repeats that are processed into small CRISPR RNAs (crRNAs) by dedicated CRISPR-associated (Cas) endoribonucleases (6,8,9). crRNAs act as guides for a targeting complex (10-15) that cleaves the genetic material of the invading bacteriophage or plasmid (16).In many prokaryotes, the biogenesis of mature crRNAs can be divided into two stages: (i) a primary cleavage of the crRNA precursor within repeat sequences that generates intermediate crRNAs containing a full spacer flanked by partial repeats, and (ii) a final maturation event where intermediate crRNAs are subject to additional nucleolytic digestion at one end. Repeat spacer arrays and their adjacent cas genes are classified into three CRISPR/Cas types (I-III) (17) that undergo different mechanisms of crRNA processing. In Types I and III CRISPR/Cas systems, primary processing is achieved by Cas6 endoribonucleases and results in crRNA intermediates with 5′-hydroxyl and 3′-phosphate or 2′-3′-cyclic phosphate ends (9,10,12,13). Cleavage occurs 8 nt upstream of the beginning of the spacer sequence, leaving a 5′ handle (6) or crRNA tag (18) on the 5′ end. In Type III systems, crRNA intermediates are subject to additional nucleolytic attack at the 3′ end, generating mature crRNAs with reduced...