This experimental study in Drosophila melanogaster shows that the interaction between mitochondrial and nuclear genotypes shapes both direct and parental effects of dietary lipids and amino acids on fitness, and implicates a specific SNP in the mitochondrial 16S rRNA gene.