Welsh onion (Allium fistulosum L.) has long been cultivated as a vegetable and spice for its flavor and aroma. However, transcriptomic and genomic data for A. fistulosum remain scarce. The goal of this study was to generate transcript sequences for functional genomic analyses, and identify genes potentially involved in sulfur, selenium, and vitamin metabolism. In total, 53,378,674 high-quality reads were generated, and de novo assembly resulted in 103,286 contigs and 53,837 unigenes. The average unigene length was 619 bp with an N50 of 832 bp. Similarity searches revealed that 36,155 sequences were similar to those of known proteins in public databases. Of these, 35,250 unigenes sequences were significantly similar to sequences in the NCBI non-redundant protein database and 22,804 were annotated in the Swiss-Prot database. Additionally, 13,125 and 26,660 unigenes were annotated in the Cluster of Orthologous Group and Gene Ontology databases, respectively. A total of 20,680 unigenes were classified into 128 pathways via functional annotation against the Kyoto Encyclopedia of Genes and Genomes pathway database. Key enzymes involved in sulfur and selenium metabolism were also identified. Additionally, our transcriptome revealed a number of unigenes encoding important enzymes involved in vitamin metabolism. We also identified 2014 simple sequence repeats in 1892 unigenes. This transcriptome analysis provides valuable information to further our understanding of the molecular mechanisms regulating the biosynthesis of organic sulfur compounds. The detected simple sequence repeats may facilitate marker-assisted selection in Welsh onion breeding experiments.