Toll-like receptors (TLRs) recognize both pathogen- and danger-associated molecular patterns and induce innate immune responses. Some TLRs are expressed in neurons and regulate neurodevelopment and neurodegeneration. However, the downstream signaling pathways and effectors for TLRs in neurons are still controversial. In this report, we provide evidence that TLR7 negatively regulates dendrite growth through the canonical myeloid differentiation primary response gene 88 (Myd88)-c-Fos-interleukin (IL)-6 pathway. Although both TLR7 and TLR8 recognize single-stranded RNA (ssRNA), the results of quantitative reverse transcription-PCR suggested that TLR7 is the major TLR recognizing ssRNA in brains. In both in vitro cultures and in utero electroporation experiments, manipulation of TLR7 expression levels was sufficient to alter neuronal morphology, indicating the presence of intrinsic TLR7 ligands. Besides, the RNase A treatment that removed ssRNA in cultures promoted dendrite growth. We also found that the addition of ssRNA and synthetic TLR7 agonists CL075 and loxoribine, but not R837 (imiquimod), to cultured neurons specifically restricted dendrite growth via TLR7. These results all suggest that TLR7 negatively regulates neuronal differentiation. In cultured neurons, TLR7 activation induced IL-6 and TNF-α expression through Myd88. Using Myd88-, IL-6-, and TNF-α-deficient neurons, we then demonstrated the essential roles of Myd88 and IL-6, but not TNF-α, in the TLR7 pathway to restrict dendrite growth. In addition to neuronal morphology, TLR7 knockout also affects mouse behaviors, because young mutant mice ∼2 weeks of age exhibited noticeably lower exploratory activity in an open field. In conclusion, our study suggests that TLR7 negatively regulates dendrite growth and influences cognition in mice.