Tryptophan 7-halogenase catalyses the chlorination of free tryptophan to 7-chlorotryptophan, which is the first step in the synthesis of the antibiotic pyrrolnitrin. Enzyme-catalysed chlorination of organic compounds in the laboratory remains a challenge, thus understanding the reaction mechanism of tryptophan 7-halogenase is important.