Background: Robotics competitions are increasingly popular and potentially provide an on-ramp to computer science, which is currently highly gender imbalanced. However, within competitive robotics teams, student participation in programming is not universal. This study gathered surveys from over 500 elementary, middle, and high school robotics competition participants to examine (1) whether programming involvement in these competitions is associated with motivation to pursue additional programming experiences and (2) whether opportunities to learn programming varied by gender, age, and competition type. Results: Results showed a significant association of students' programming involvement with their motivation to learn more programming. Interestingly, in the youngest groups/entry-level competitions, girls were heavily involved in programming. Unfortunately, in older/more advanced competitions, girls were generally less involved in programming, even after controlling for prior programming experience. These gendered effects were substantially explained by programming interest. Conclusions: While robotics competition experiences may motivate students to learn more programming, gender gaps in programming involvement persist in these learning environments and appear to widen as students grow older and enter more advanced competitions. Therefore, addressing gender imbalances in programming will likely require greater attention to particular curricular and pedagogical characteristics of robotics competitions that support girls' interest and involvement in programming.