Yellow fever virus (YFV) is a member of the Flaviviridae family, that causes major mortality. In Brazil, YFV activity increased in the last years. It has been registered that sylvatic, instead of urban, yellow fever (YF) leads our contemporary public health concern. Low vaccinal coverage leaves the human population near the jangle vulnerable to the outbreak, making it necessary to identify therapeutic options. Repurposing of clinically approved antiviral drugs represents an alternative for such identification. Other Flaviviruses, such Zika (ZIKV) and dengue (DENV) viruses, are susceptible to Sofosbuvir, a clinically approved drug against hepatitis C virus (HCV). Moreover, sofosbuvir has a safety record on critically ill hepatic patients, making it an attractive option. Our data show that YFV RNA polymerase uses conserved amino acid resides for nucleotide binding to dock sofosbuvir. This drug inhibited YFV replication in different lineages of human hepatoma cells, Huh-7 and HepG2, with EC50 value of 4.8 μM. Sofosbuvir protected YFV-infected neonatal Swiss mice from mortality and weight loss. Our pre-clinical results indicate that sofosbuvir could represent an option against YFV.