The role and importance of livestock in smallholder crop-livestock systems and the importance of crop residues (CR) as ruminant feedstuffs in such systems are well established. The effects of genotype (G), environment (E) and crop management (M) factors on yields of grain and CR and the nutritive value of the CR of maize (Zea mays) and common bean (Phaseolus vulgaris) were investigated in an East African context. Genotype effects were examined in early and medium maturing (EM and MM, respectively) maize hybrids and popular varieties of common bean. Environment was examined at three sites for maize in the 2013 and 2014 cropping seasons and at four sites for common bean in 2013. Management effects examined were plant density (D) (5 and 7 plants/m 2 ), height of cutting at harvest in maize, and harvest at early and final seed maturity in common bean. Quality attributes (nitrogen (N), neutral detergent fibre (NDF) and acid detergent fibre (ADF) contents and dry matter digestibility (DMD)) were analysed using near infrared spectroscopy (NIRS) and calibrations expanded and validated with reference samples of CR representing the experimental sample set.There was substantial variation (P<0.05 to P<0.0001) among maize genotypes in yields of grain and stover and quality of stover as a feedstuff. Dual purpose genotypes were identified but G x E interactions for some yield and quality attributes showed that the variation among genotypes can depend on environment. In general the higher D increased yields of grain by 9-15% and stover by 21-31%, but had only minor effects on stover quality attributes. Year (Y) x density (D), G x E and G x D interactions were observed for some of the yield and stover attributes.High cutting height of maize (two internodes below the lowest ear) allowed harvest of most of the stover (on average 63-72% in EM and MM genotypes, respectively) as feedstuff while leaving stubble in the field available for other uses. This is established practice by farmers in some regions. The amount and quality as a feedstuff of the upper and lower stover components varied (P<0.01) among genotypes. N and DMD were 0.05-0.09% and 1.7-3.6%, respectively higher (P<0.0001) in the upper fraction of the stover than in whole stover. Thus evaluation and estimation of the amount and quality of maize stover available as a feedstuff should consider harvest at high cutting height to increase quality. G x E interactions were observed in yield and in some stover attributes in the upper and lower fractions, but these were not consistent.ii Common bean varieties varied (P<0.05 to P<0.0001) in yields of seed and haulm and in the nutritive value of haulm fractions (leaf, stem and pod wall) when harvested at seed maturity. There was extensive leaf loss at seed maturity which decreased haulm quality.Seed and haulm yields were correlated (r=0.87). Seed yield was generally not related to haulm quality as N% or DMD%. The variation in yield and haulm feedstuff quality was also examined in common bean varieties harvested at early se...