The pentanucleotide (PN) sequence 5'-CACAG-3' at the top of the 3' stem-loop structure of the flavivirus genome is well conserved in the arthropod-borne viruses but is more variable in flaviviruses with no known vector. In this study, the sequence requirements of the PN motif for yellow fever virus 17D (YFV) replication were determined. In general, individual mutations at either the second, third or fourth positions were tolerated and resulted in replication-competent virus. Mutations at the fifth position were lethal. Base pairing of the nucleotide at the first position of the PN motif and a nucleotide four positions downstream of the PN (ninth position) was a major determinant for replication. Despite the fact that the majority of the PN mutants were able to replicate efficiently, they were outcompeted by parental YFV-17D virus following repeated passages in double-infected cell cultures. Surprisingly, some of the virus mutants at the first and/or the ninth position that maintained the possibility of forming a base pair were found to have a similar fitness to YFV-17D under these conditions. Overall, these experiments suggest that YFV is less dependent on sequence conservation of the PN motif for replication in animal cells than West Nile virus. However, in animal cell culture, YFV has a preference for the wt CACAG PN sequence. The molecular mechanisms behind this preference remain to be elucidated.