Alkyl hydroxyquinoline N-oxides (AQNOs) are antibiotic compounds produced by the opportunistic bacterial pathogen Pseudomonas aeruginosa They are products of the alkyl quinolone (AQ) biosynthetic pathway, which also generates the quorum-sensing molecules 2-heptyl-4(1H)-quinolone (HHQ) and 2-heptyl-3-hydroxy-4(1H)-quinolone (PQS). Although the enzymatic synthesis of HHQ and PQS had been elucidated, the route by which AQNOs are synthesized remained elusive. Here, we report on PqsL, the key enzyme for AQNO production, which structurally resembles class A flavoprotein monooxygenases such as p-hydroxybenzoate 3-hydroxylase (pHBH) and 3-hydroxybenzoate 6-hydroxylase. However, we found that unlike related enzymes, PqsL hydroxylates a primary aromatic amine group, and it does not use NAD(P)H as cosubstrate, but unexpectedly required reduced flavin as electron donor. We also observed that PqsL is active toward 2-aminobenzoylacetate (2-ABA), the central intermediate of the AQ pathway, and forms the unstable compound 2-hydroxylaminobenzoylacetate, which was preferred over 2-ABA as substrate of the downstream enzyme PqsBC. In vitro reconstitution of the PqsL/PqsBC reaction was feasible by using the FAD reductase HpaC, and we noted that the AQ:AQNO ratio is increased in an hpaC-deletion mutant of P. aeruginosa PAO1 compared with the ratio in the WT strain. A structural comparison with pHBH, the model enzyme of class A flavoprotein monooxygenases, revealed that structural features associated with NAD(P)H binding are missing in PqsL. Our study completes the AQNO biosynthetic pathway in P. aeruginosa, indicating that PqsL produces the unstable product 2-hydroxylaminobenzoylacetate from 2-ABA and depends on free reduced flavin as electron donor instead of NAD(P)H.