Feeding pregnant rats a protein-restricted (PR) diet induces altered expression of candidate genes in the liver of the adult offspring, which can be prevented by supplementation of the PR diet with folic acid (PRF). We investigated the effect of maternal nutrition during pregnancy on the liver transcriptome in their adult male offspring. Pregnant rats were fed control, PR or PRF diets. Male offspring were killed on day 84. The liver transcriptome was analysed by microarray (six livers per maternal dietary group) followed by post hoc analysis of relative mRNA levels and gene ontology. These results were confirmed for selected genes by real-time RT-PCR. There were 311 genes that differed significantly ( >or= 1.5-fold change; P < 0.05) between PR offspring (222 increased) and control offspring, while 191 genes differed significantly between PRF offspring (forty-five increased) compared with offspring of control dams. There were sixteen genes that were significantly altered in both PR and PRF offspring compared with controls. Ion transport, developmental process, and response to reactive oxygen species (RROS) and steroid hormone response (SHR) ontologies were altered in PR offspring. Folic acid supplementation prevented changes within RROS and SHR response pathways, but not in ion transport or developmental process. There was no effect of maternal PR on mRNA expression of imprinted genes. Insulin 1 and Pleckstrin homology-like domain family A member 2 were increased significantly in PRF compared with PR offspring. The present findings show that the pattern of induced changes in the adult liver transcriptome were dependent on maternal protein and folic acid intakes during pregnancy.