Genome transcription and replication of influenza A virus (FluA), catalyzed by viral RNA polymerase (FluAPol), are delicately controlled across the virus life cycle. A switch from transcription to replication occurring at later stage of an infection is critical for progeny virion production and viral non-structural protein NS2 has been implicated in regulating the switch. However, the underlying regulatory mechanisms and the structure of NS2 remained elusive for years. Here, we determine the cryo-EM structure of the FluAPol-NS2 complex at ~3.0 Å resolution. Surprisingly, three domain-swapped NS2 dimers arrange three symmetrical FluPol dimers into a highly ordered barrel-like hexamer. Further structural and functional analyses demonstrate that NS2 binding not only hampers the interaction between FluAPol and the Pol II CTD because of steric conflicts, but also impairs FluAPol transcriptase activity by stalling it in the replicase conformation. Moreover, this is the first visualization of the full-length NS2 structure. Our findings uncover key molecular mechanisms of the FluA transcription-replication switch and have implications for the development of antivirals.