With centralized production, the price of ammonia-based fertilizers is affected by the volatility of the fossil fuel market, complex supply chains and long-distance transportation costs. Now, an analysis of the cost-competitiveness of decentralized low-carbon ammonia production suggests that a substantial fraction of the global ammonia demand could be cost-competitively supplied by small-scale technologies by 2030.