While the population genetics of inbreeding is fairly well understood, the effects of inbreeding on the physiological and biochemical levels are not. Here we have investigated the effects of inbreeding on the Drosophila melanogaster metabolome. Metabolite fingerprints in males from five outbred and five inbred lines were studied by nuclear magnetic resonance spectroscopy after exposure to benign temperature, heat stress, or cold stress. In both the absence and the presence of temperature stress, metabolite levels were significantly different among inbred and outbred lines. The major effect of inbreeding was increased levels of maltose and decreased levels of 3-hydroxykynurenine and a galactoside [1-O-(4-O-(2-aminoethyl phosphate)-β-d-galactopyranosyl)-x-glycerol] synthesized exclusively in the paragonial glands of Drosophila species, including D. melanogaster. The metabolomic effect of inbreeding at the benign temperature was related to gene expression data from the same inbred and outbred lines. Both gene expression and metabolite data indicate that fundamental metabolic processes are changed or modified by inbreeding. Apart from affecting mean metabolite levels, inbreeding led to an increased between-line variation in metabolite profiles compared to outbred lines. In contrast to previous observations revealing interactions between inbreeding and environmental stress on gene expression patterns and life-history traits, the effect of inbreeding on the metabolite profile was similar across the different temperature treatments.