Rachel Spinks explored the capacity for coral reef fishes to persist in a warming ocean. She discovered that when and how long a fish was exposed to elevated temperature, in addition to sex, influenced its performance and that of the next generation. This will improve predictions of global warming impacts