Microbes that produce important secretions for use in a community suffer a blow to their own fitness for supplying the non-producing ‘cheater’ bacteria — but only when production requires the same nutrients that would otherwise go into growth and biomass.