Provided is a method for producing a tetrafluoro nitrogen-containing heterocyclic compound such as tetrafluoropyrrolidine in good yield and at low cost. The method comprises the steps of: (A) reacting a compound represented by the formula (I) with fluorine gas to produce a tetrafluoro compound represented by the formula (II),
(B) converting the tetrafluoro derivative represented by the formula (II) to a compound represented by the formula (III), and
(C) reacting the compound represented by the formula (III) with an amine compound represented by the formula NH
2
R
9
to produce a tetrafluoro nitrogen-containing heterocyclic compound represented by the formula (IV) or salt thereof.