In enzymology, tryptophan 2,3-dioxygenase is a heme enzyme that catalyzes the oxidation of L-tryptophan to N-formyl-L-kynurenine, as the first and rate-limiting step of the kynurenine pathway.