A major challenge for microbiologists is to elucidate the strategies deployed by microorganisms to adapt to and thrive in highly complex and dynamic environments. In vitro studies, including those monitoring genomewide changes, have proven their value, but they can, at best, mimic only a subset of the ensemble of abiotic and biotic stimuli that microorganisms experience in their natural habitats. The widely used gene-to-phenotype approach involves the identification of altered niche-related phenotypes on the basis of gene inactivation. However, many traits contributing to ecological performance that, upon inactivation, result in only subtle or difficult to score phenotypic changes are likely to be overlooked by this otherwise powerful approach. Based on the premise that many, if not most, of the corresponding genes will be induced or upregulated in the environment under study, ecologically significant genes can alternatively be traced using the promoter trap techniques differential fluorescence induction and in vivo expression technology (IVET). The potential and limitations are discussed for the different IVET selection strategies and system-specific variants thereof. Based on a compendium of genes that have emerged from these promoter-trapping studies, several functional groups have been distinguished, and their physiological relevance is illustrated with follow-up studies of selected genes. In addition to confirming results from largely complementary approaches such as signature-tagged mutagenesis, some unexpected parallels as well as distinguishing features of microbial phenotypic acclimation in diverse environmental niches have surfaced. On the other hand, by the identification of a large proportion of genes with unknown function, these promoter-trapping studies underscore how little we know about the secret lives of bacteria and other microorganisms