Background: Increased spatiotemporal gait variability is considered a clinical biomarker of ageing and pathology, and a predictor of future falls. Nevertheless, it is unclear whether the increased spatiotemporal variability observed in persons with stroke (PwS) is directly related to the pathology or simply reflects their choice of walking velocity. Research question: Does increased spatiotemporal gait variability directly relate to motor coordination deficits after stroke? Methods: Forty PwS and 20 healthy adults participated in this cross-sectional study. Participants performed the lower-extremity motor coordination test (LEMOCOT) on an electronic mat equipped with force sensors. Then, participants walked for 120 s over a computerized treadmill at their comfortable walking velocity. For the LEMOCOT we used the traditional score of in-target touch count and computed the absolute and variable error around the targets. For gait variability, we extracted the standard deviation of step time, step length, step velocity, and step width. Using a data-based approach, we generated a model of the relationship between velocity and variability and tested the correlations of the velocity-controlled values with the outcome measures from the LEMOCOT. Results: PwS demonstrated increased variability in step time, step length, and step velocity, as well as decreased variability in step width, in comparison to healthy adults, even after controlling for walking velocity. After controlling for walking velocity, we observed that for PwS the LEMOCOT score correlated with the variance in step time, and the variable error in the LEMOCOT correlated with the variance in step length, in step width, and in step velocity. No significant correlation with any of the velocity-controlled step parameters was found for the absolute error in the LEMOCOT. Significance: Decreased performance in the LEMOCOT was associated with increased spatiotemporal variability in PwS, regardless of their walking velocity. Our results demonstrate the connection between lower-extremity coordination impairments and deficits in gait function.