Oyster microbiomes are integral to healthy function and can be altered by climate change conditions. Genetic variation among oysters is known to influence the response of oysters to climate change and may ameliorate any adverse effects on oyster microbiome; however, this remains unstudied. Nine full-sibling selected breeding lines of the Sydney rock oyster (Saccostrea glomerata) were exposed to predicted warming (ambient = 24°C, elevated = 28°C) and ocean acidification (ambient pCO2 = 400, elevated pCO2 = 1000 µatm) for 4 weeks. The haemolymph bacterial microbiome was characterized using 16S rRNA (V3-V4) gene sequencing and varied among oyster lines in the control (ambient pCO2, 24°C) treatment. Microbiomes were also altered by climate change dependent on oyster lines. Bacterial α-diversity increased in response to elevated pCO2 in two selected lines, while bacterial β-diversity was significantly altered by combinations of elevated pCO2 and temperature in four selected lines. Climate change treatments caused shifts in the abundance of multiple amplicon sequence variants driving change in the microbiome of some selected lines. We show that oyster genetic background may influence the Sydney rock oyster haemolymph microbiome under climate change and that future assisted evolution breeding programs to enhance resilience should consider the oyster microbiome.