5'-Nucleotidases (EC 3.1.3.5) are enzymes that catalyze the hydrolytic dephosphorylation of 5′-ribonucleotides and 5′-deoxyribonucleotides to their corresponding nucleosides plus phosphate. In the present study, to search for new genes encoding 5′nucleotidases specific for purine nucleotides in industrially important Bacillus species, "shotgun" cloning and the direct selection of recombinant clones grown in purine nucleosides at inhibitory concentrations were performed in the Escherichia coli GS72 strain, which is sensitive to these compounds. As a result, orthologous yitU genes from Bacillus subtilis and Bacillus amyloliquefaciens, whose products belong to the ubiquitous haloacid dehalogenase superfamily (HADSF), were selected and found to have a high sequence similarity of 87%. B. subtilis YitU was produced in E. coli as an N-terminal hexahistidine-tagged protein, purified and biochemically characterized as a soluble 5′-nucleotidase with broad substrate specificity with respect to various deoxyribo-and ribonucleoside monophosphates: dAMP, GMP, dGMP, CMP, AMP, XMP, IMP and 5-aminoimidazole-4carboxamide-1-β-D-ribofuranosyl 5′-monophosphate (AICAR-P). However, the preferred substrate for recombinant YitU was shown to be flavin mononucleotide (FMN). B. subtilis and B. amyloliquefaciens yitU overexpression increased riboflavin (RF) and 5-aminoimidazole-4-carboxamide ribonucleoside (AICAR) accumulation and can be applied to breed highly performing RFand AICAR-producing strains.