Viral infection of mammalian host results in the activation of innate immune responses. Toll-like receptors (TLRs) have been shown to mediate the recognition of many types of pathogens, including viruses. The genomes of viruses possess unique characteristics that are not found in mammalian genomes, such as high CpG content and double-stranded RNA. These genomic nucleic acids serve as molecular signatures associated with viral infections. Here we show that TLR7 recognizes the single-stranded RNA viruses, vesicular stomatitis virus and influenza virus. The recognition of these viruses by plasmacytoid dendritic cells and B cells through TLR7 results in their activation of costimulatory molecules and production of cytokines. Moreover, this recognition required intact endocytic pathways. Mice deficient in either the TLR7 or the TLR adaptor protein MyD88 demonstrated reduced responses to in vivo infection with vesicular stomatitis virus. These results demonstrate microbial ligand recognition by TLR7 and provide insights into the pathways used by the innate immune cells in the recognition of viral pathogens.