The gene encoding a putative nitrilase was identified in the genome sequence of the photosynthetic cyanobacterium Synechocystis sp. strain PCC6803. The gene was amplified by PCR and cloned into an expression vector. The encoded protein was heterologously expressed in the native form and as a His-tagged protein in Escherichia coli, and the recombinant strains were shown to convert benzonitrile to benzoate. The active enzyme was purified to homogeneity and shown by gel filtration to consist probably of 10 subunits. The purified nitrilase converted various aromatic and aliphatic nitriles. The highest enzyme activity was observed with fumarodinitrile, but also some rather hydrophobic aromatic (e.g., naphthalenecarbonitrile), heterocyclic (e.g., indole-3-acetonitrile), or long-chain aliphatic (di-)nitriles (e.g., octanoic acid dinitrile) were converted with higher specific activities than benzonitrile. From aliphatic dinitriles with less than six carbon atoms only 1 mol of ammonia was released per mol of dinitrile, and thus presumably the corresponding cyanocarboxylic acids formed. The purified enzyme was active in the presence of a wide range of organic solvents and the turnover rates of dodecanoic acid nitrile and naphthalenecarbonitrile were increased in the presence of water-soluble and water-immiscible organic solvents.