A variety of factors affecting water quality in recirculating aquaculture systems (RAS) are associated with the occurrence of off-flavours. In this study, we report the impact of water quality on the bacterial diversity and the occurrence of the geosmin-synthesis gene (geoA) in two RAS units operated for 252 days. Unit 2 displayed a higher level of turbidity and phosphate, which affected the fresh water quality compared with unit 1. In the biofilter, nitrification is one of the major processes by which high water quality is maintained. The bacterial population observed in the unit 1 biofilter was more stable throughout the experiment, with a higher level of nitrifying bacteria compared with the unit 2 biofilter. Geosmin appeared in fish flesh after 84 days in unit 2, whereas it appeared in unit 1 after 168 days, but at a much lower level. The geoA gene was detected in both units, 28 days prior to the detection of geosmin in fish flesh. In addition, we detected sequences associated with Sorangium and Nannocystis (Myxococcales): members of these genera are known to produce geosmin. These sequences were observed at an earlier time in unit 2 and at a higher level than in unit 1. This study confirms the advantages of new molecular methods to understand the occurrence of geosmin production in RAS.