Unlike plants in the field, which experience significant temporal fluctuations in environmental conditions, plants in the laboratory are typically grown in controlled, stable environments. Therefore, signaling pathways evolved for survival in fluctuating environments often remain functionally latent in laboratory settings. Here, we show that TGA1 and TGA4 act as hub transcription factors through which the expression of genes involved in high-affinity nitrate uptake are regulated in response to shoot-derived phloem mobile polypeptides, CEP DOWNSTREAM 1 (CEPD1), CEPD2 and CEPD-like 2 (CEPDL2) as nitrogen (N) deficiency signals, and Glutaredoxin S1 (GrxS1) to GrxS8 as N sufficiency signals. CEPD1/2/CEPDL2 and GrxS1-S8 competitively bind to TGA1/4 in roots, with the former acting as transcription coactivators that enhance the uptake of nitrate, while the latter function as corepressor complexes together with TOPLESS (TPL), TPL-related 1 (TPR1) and TPR4 to limit nitrate uptake. Arabidopsis plants deficient in TGA1/4 maintain basal nitrate uptake and exhibit growth similar to wild-type plants in a stable N environment, but are impaired in regulation of nitrate acquisition in response to shoot N demand, leading to defective growth under fluctuating N environments where rhizosphere nitrate ions switch periodically between deficient and sufficient states. TGA1/4 are crucial transcription factors that enable plants to survive under fluctuating and challenging N environmental conditions.