Summary Legumes usually have compound inflorescences, where flowers/pods develop from secondary inflorescences (I2), formed laterally at the primary inflorescence (I1). Number of flowers per I2, characteristic of each legume species, has important ecological and evolutionary relevance as it determines diversity in inflorescence architecture; moreover, it is also agronomically important for its potential impact on yield. Nevertheless, the genetic network controlling the number of flowers per I2 is virtually unknown.Chickpea (Cicer arietinum) typically produces one flower per I2 but single flower (sfl) mutants produce two (double‐pod phenotype). We isolated the SFL gene by mapping the sfl‐d mutation and identifying and characterising a second mutant allele. We analysed the effect of sfl on chickpea inflorescence ontogeny with scanning electron microscopy and studied the expression of SFL and meristem identity genes by RNA in situ hybridisation.We show that SFL corresponds to CaRAX1/2a, which codes a MYB transcription factor specifically expressed in the I2 meristem.Our findings reveal SFL as a central factor controlling chickpea inflorescence architecture, acting in the I2 meristem to regulate the length of the period for which it remains active, and therefore determining the number of floral meristems that it can produce.