The EcoP1 and EcoP15 DNA restriction-modification systems are coded by the related P1 prophage and p15B plasmid. We have examined the organization of the genes for these systems using P1 itself, "P1-P15" hybrid phages expressing the EcoP15 restriction specificity of p15B and cloned restriction fragments derived from these phage DNAs. The results of transposon mutagenesis, restriction cleavage analysis. DNA heteroduplex analysis and in vitro transcription mapping allow the following conclusions to be drawn concerning the structural genes. (1) All of the genetic information necessary to specify either system is contained within a contiguous DNA segment of 5 x 10(3) bases which encodes two genes. One of them, necessary for both restriction and modification, we call mod and the other, required only for restriction (together with mod), we call res. (2) The res gene is about 2.8 x 10(3) bases long and at the heteroduplex level is largely identical for P1 and P15: it shows a small region of partial nonhomology and some restriction cleavage site differences. The mod gene is about 2.2 x 10(3) bases long and contains a 1.2 x 10(3) base long region of non-homology between P1 and P15 toward the N-terminus of the gene. The rest of the gene at this level of analysis is identical for the two systems. (3) Each of the genes is transcribed in vitro from its own promoter. It is possible that the res gene is also transcribed by readthrough from the mod promoter.