Restriction endonuclease BamHI from Bacillus amyloliquefaciens has been co-crystallized with a 12 bp DNA fragment that encompasses its recognition site. The co-crystals diffract to at least 1.95 A resolution and belong to space group P2(1)2(1)2(1). The unit cell parameters are a = 108.8 A, b = 81.9 A, c = 68.8 A, consistent with one complex in the crystallographic asymmetric unit. The direction of the DNA appears to be along the b axis. In order to achieve end to end stacking of DNA, the complex must lie on the screw axis along b. A self-rotation function has determined the directions of the non-crystallographic 2-fold axes.