Although all established functions of dengue virus NS5 (nonstructural protein 5) occur in the cytoplasm, its nuclear localization, mediated by dual nuclear localization sequences, is essential for virus replication. Here, we have determined the mechanism by which NS5 can localize in the cytoplasm to perform its role in replication, establishing for the first time that it is able to be exported from the nucleus by the exportin CRM1 and hence can shuttle between the nucleus and cytoplasm. We define the nuclear export sequence responsible to be residues 327-343 and confirm interaction of NS5 and CRM1 by pulldown assay. Significantly, greater nuclear accumulation of NS5 during infection due to CRM1 inhibition coincided with altered kinetics of virus production and decreased induction of the antiviral chemokine interleukin-8. This is the first report of a nuclear export sequence within NS5 for any member of the Flavivirus genus; because of its high conservation within the genus, it may represent a target for the treatment of diseases caused by several medically important flaviviruses.