The architectures of dendritic trees are crucial for the wiring and function of neuronal circuits because they determine coverage of receptive territories, as well as the nature and strength of sensory or synaptic inputs. Here, we describe a cell-intrinsic pathway sculpting dendritic arborization (da) neurons in Drosophila that requires Longitudinals Lacking (Lola), a BTB/POZ transcription factor, and its control of the F-actin cytoskeleton through Spire (Spir), an actin nucleation protein. Loss of Lola from da neurons reduced the overall length of dendritic arbors, increased the expression of Spir, and produced inappropriate F-actin-rich dendrites at positions too near the cell soma. Selective removal of Lola from only class IV da neurons decreased the evasive responses of larvae to nociception. The increased Spir expression contributed to the abnormal F-actinrich dendrites and the decreased nocifensive responses because both were suppressed by reduced dose of Spir. Thus, an important role of Lola is to limit expression of Spir to appropriate levels within da neurons. We found Spir to be expressed in dendritic arbors and to be important for their development. Removal of Spir from class IV da neurons reduced F-actin levels and total branch number, shifted the position of greatest branch density away from the cell soma, and compromised nocifensive behavior. We conclude that the Lola-Spir pathway is crucial for the spatial arrangement of branches within dendritic trees and for neural circuit function because it provides balanced control of the F-actin cytoskeleton.