Process for producing ammonia, wherein the process comprises the following steps: (a 1) provision of a synthesis gas A comprising the reactants nitrogen and hydrogen and optionally product and optionally inert components; (c 1) mixing of the synthesis gas A with a gas mixture B conveyed in a first circuit to produce a reaction gas C; (d 1) division of the reaction gas C into a substream D and a substream E; (e 1) synthesis of product from the reactants present in the substream D in a first ammonia synthesis unit at a pressure P 1 to produce a product gas F comprising unreacted reactants and products and optionally inert components; (f 1) separation of product from the product gas F to produce a gas mixture G depleted in product; (g 1) recirculation of the gas mixture G as gas mixture B conveyed in the first circuit to step (c 1); (i 1) mixing of the substream E with at least part of a gas mixture H which is conveyed in a second circuit and comprises unreacted reactants, product and optionally inert components to produce a reaction gas I; where, after the division of the reaction gas into the two substreams D and E, the first substream D is fed to the first ammonia synthesis unit which is part of the first synthesis circuit while the second substream E is transferred into a second synthesis circuit, mixed there with recycle gas H from the second synthesis circuit and then fed to a second ammonia synthesis unit which is part of the second synthesis circuit; (j 1) synthesis of product from reactants present in the reaction gas I in the second ammonia synthesis unit at a pressure P 2 to produce a product gas J comprising unreacted reactants and product and optionally inert components; (k 1) separation of product from the product gas J to produce a gas mixture K depleted in product; (l 1) division of the gas mixture K into at least one substream L and a substream M and recirculation of at least part of the substream L as circulated gas mixture H to step (i 1); and (m 1) discharge of the substream M. (a 1) provision of a synthesis gas A comprising the reactants nitrogen and hydrogen and optionally product and optionally inert components; (c 1) mixing of the synthesis gas A with a gas mixture B conveyed in a first circuit to produce a reaction gas C; (d 1) division of the reaction gas C into a substream D and a substream E; (e 1) synthesis of product from the reactants present in the substream D in a first ammonia synthesis unit at a pressure P 1 to produce a product gas F comprising unreacted reactants and products and optionally inert components; (f 1) separation of product from the product gas F to produce a gas mixture G depleted in product; (g 1) recirculation of the gas mixture G as gas mixture B conveyed in the first circuit to step (c 1); (i 1) mixing of the substream E with at least part of a gas mixture H which is conveyed in a second circuit and comprises unreacted reactants, product and optionally inert components to produce a reaction gas I; where, after the division of the reaction gas into the two substreams D and E, the first substream D is fed to the first ammonia synthesis unit which is part of the first synthesis circuit while the second substream E is transferred into a second synthesis circuit, mixed there with recycle gas H from the second synthesis circuit and then fed to a second ammonia synthesis unit which is part of the second synthesis circuit; (j 1) synthesis of product from reactants present in the reaction gas I in the second ammonia synthesis unit at a pressure P 2 to produce a product gas J comprising unreacted reactants and product and optionally inert components; (k 1) separation of product from the product gas J to produce a gas mixture K depleted in product; (l 1) division of the gas mixture K into at least one substream L and a substream M and recirculation of at least part of the substream L as circulated gas mixture H to step (i 1); and (m 1) discharge of the substream M.