A gene can be said to be insulated from environmental variations if its expression level depends only on its cognate inducers, and not on variations in conditions. We tested the insulation of the lac promoter of E. coli and of synthetic constructs in which the transcription factor CRP acts as either an activator or a repressor, by measuring their input function-their expression as a function of inducers-in different growth conditions. We find that the promoter activities show sizable variation across conditions of 10%-100% (SD/mean). When the promoter is bound to its cognate regulator(s), variation across conditions is smaller than when it is unbound. Thus, mode of regulation affects insulation: activators seem to show better insulation at high expression levels, and repressors at low expression levels. This may explain the Savageau demand rule, in which E. coli genes needed often in the natural environment tend to be regulated by activators, and rarely needed genes by repressors. The present approach can be used to study insulation in other genes and organisms.