Future climate changes are predicted to not only increase global temperatures but also alter temporal variation in temperature. As thermal tolerances form an important component of a species’ niche, changes to the temperature regime have the capacity to negatively impact species, and therefore, the diversity of the communities they inhabit. In this study, we used protist microcosms to assess how mean temperature, as well as temporal variation in temperature, affected diversity. Communities consisted of seven species in a multitrophic food web. Each ecosystem was inoculated with the same abundances of each species at the start of the experiment, and species densities, Hill's numbers (based on Shannon diversity), the number of extinctions, and the probability the microcosm contained predators were all calculated at the end of the experiment. To assess how mean temperature and temperature fluctuations affect stability, we also measured population densities through time. We found that increased temporal variation in temperature increased final densities, increased Hill's numbers (at low mean temperatures), decreased rates of extinctions, and increased the probability that predators survived till the end of the experiment. Mean temperatures did not significantly affect either the number of extinctions or the probability of predators, but did reduce the positive effect of increased temporal variation in temperature on overall diversity. Our results indicate that climatic changes have the potential to impact the composition of ecological communities by altering multiple components of temperature regimes. However, given that some climate forecasts are predicting increased mean temperatures and reduced variability, our finding that increased mean temperature and reduced temporal variation are both generally associated with negative consequences is somewhat concerning.