Global climate change has resulted in large-scale coral reef decline worldwide, for which the ocean warming has paid more attention. Coral is a typical mutually beneficial symbiotic organism with diverse symbiotic microorganisms, which maintain the stability of physiological functions. This study compared the responses of symbiotic microorganisms and host metabolism in a common coral species, Pavona minuta, under indoor simulated thermal and cold temperatures. The results showed that abnormal temperature stresses had unfavorable impact on the phenotypes of corals, resulting in bleaching and color change. The compositions of symbiotic bacteria and dinoflagellate communities only presented tiny changes under temperature stresses. However, some rare symbiotic members have been showed to be significantly influenced by water temperatures. Finally, by using ultra-performance liquid chromatography tandem mass spectrometry (UPLC–MS) method, we found that different temperature stresses had very different impacts on the metabolism of coral holobiont. The thermal and cold stresses induced the decrease of anti-oxidation metabolites, several monogalactosyldiacylglycerols (MGDGs), and the increase of lipotoxic metabolite, 10-oxo-nonadecanoic acid, in the coral holobiont, respectively. Our study indicated the response patterns of symbiotic microorganisms and host metabolism in coral to the thermal and cold stresses, providing theoretical data for the adaptation and evolution of coral to a different climate in the future.