The clustered regularly interspaced short palindromic repeats (CRISPR) and CRISPR associated proteins (Cas) comprise a prokaryotic adaptive defense system against foreign nucleic acids. This defense is mediated by Cas proteins, which are guided by sequences flanked by the repeats, called spacers, to target nucleic acids. Spacers designed against the prokaryotic self chromosome are lethal to the prokaryotic cell. This self-killing of the bacterium by its own CRISPR-Cas system can be used to positively select genes that participate in this killing, as their absence will result in viable cells. Here we describe a positive selection assay that uses this feature to identify E. coli mutants encoding an inactive CRISPR-Cas system. The procedure includes establishment of an assay that detects this self-killing, generation of transposon insertion mutants in random genes, and selection of viable mutants, suspected as required for this lethal activity. This procedure enabled us to identify a novel gene, htpG, that is required for the activity of the CRISPR-Cas system. The procedures described here can be adjusted to various organisms to identify genes required for their CRISPR-Cas activity.