To qualify for the 2016 Rio Olympics in gymnastics, competitors had to be born before December 31, 2000 and each country could qualify a maximum of two gymnasts for individual competition and one group for group competition. The main qualifying competitions were the 2015 Stuttgart World Championships, where individuals had to place in the top 15 and groups in the top 10, and the 2016 Rio Olympic Games Test Event, where the top 6 individuals and top 3 groups qualified. A total of 26 individual gymnasts and 14 groups of 5 gymnasts were eligible to compete in gymnastics at the 2016 Rio Olympics.