Spiny projection neurons (SPNs) in the dorsal striatum play crucial roles in locomotion control and value-based decision-making. SPNs, which include both direct-pathway striatonigral and indirect-pathway striatopallidal neurons, can be further classified into subtypes based on distinct transcriptomic profiles and cell body distribution patterns. However, how these SPN subtypes regulate spontaneous locomotion in the context of environmental valence remains unclear. Using