Quail eggs comprise a significant and favourable part of table eggs in certain countries. Some quail eggs, however, present fishy off-flavor which directly influences their quality. It is reported that flavin-containing monooxygenase 3 (FMO3) is associated with fish-odour trait in human and animal products. FMO3 is responsible for the degradation of trimethylamine (TMA) in vivo. Loss-of-function mutations in FMO3 gene can result in defective TMA N-oxygenation, giving rise to disorder known as “fish-odour syndrome” in human, as well as the fishy off-flavor in cow milk and chicken eggs. In order to reveal the genetic factor of fishy taint in quail eggs, we cloned the cDNA sequence of quail FMO3 gene, investigated FMO3 mRNA expression level in various tissues, detected SNPs in the coding region of the gene and conducted association analysis between a mutation and the TMA content in quail egg yolks. The 1888 bp cDNA sequence of quail FMO3 gene encoding 532 amino acids was obtained and characterized. The phylogenetic analysis revealed quail FMO3 had a closer relationship with chicken FMO3. The FMO3 mRNA was highly expressed in liver and kidney of quail. Nine SNPs were detected in the coding sequence of quail FMO3 gene, including a nonsense mutation (Q319X) which was significantly associated with the elevated TMA content in quail egg yolks. Genotype TT at Q319X mutation loci was sensitive to choline. With addition of choline in the feed, the quails with homozygote TT at the Q319X mutation loci laid fish-odour eggs, indicating an interaction between genotype and diet. The results indicated that Q319X mutation was associated with the fishy off-flavor in quail eggs. Identification of the unfavorable allele T of quail FMO3 gene can be applied in future quail breeding to eliminate fishy off-flavor trait in quail eggs.