For more than a century, Tyrannosaurus rex has been a riddle wrapped in bone. Was the most famous predator of all time a sun-loving reptile that lurked in the warmth, or an energetic creature that made its own heat? Now scientists have settled the debate in the most direct way possible: they took its temperature.

Researchers at UCLA have measured a T. rex at roughly 97 degrees Fahrenheit — nearly as warm as a human. It is the very first direct temperature reading ever made for the species, published Sept. 16 in the journal Science Advances. The finding rewrites how we picture the great dinosaur: not a sluggish basker, but an active predator with a fast metabolism that carried its own heat around.

The secret hides in microscopic chemical bonds inside fossil tooth enamel. Rare isotopes of carbon and oxygen can bond together in enamel, and how often they pair up depends on temperature. Cooler conditions create more of these bonds; warmer ones create fewer. By reading those chemical signatures, researchers turned an ancient tooth into a thermometer.

The hardest part was protecting the specimen. T. rex teeth are irreplaceable treasures, and the original method needed far too much material to sacrifice. So over the past decade, the UCLA team shrank the amount of material needed by roughly 90 percent. That convinced the Natural History Museum of Los Angeles County to hand over tiny portions of two teeth from Thomas the T. rex, the most complete tyrannosaur skeleton in its dinosaur hall.

Using a dental drill, geobiologist Robert Eagle and lead author Randy Flores collected enamel powder, dissolved it in phosphoric acid, and released carbon dioxide gas. A mass spectrometer then read the isotope ratios — pressurized to create a denser stream so even a tiny sample could speak.

“No one's been able to make a temperature measurement like this before,” Eagle said. “We found T. rex was 36 Celsius (97 Fahrenheit), about the same as humans. The temperature is about what I would have guessed — higher than a reptile or a slow mammal like a sloth, but lower than an avian.”

Modern cold-blooded reptiles sit around 28–30 °C (82–86 °F), while birds — the dinosaurs' evolutionary descendants — often soar to 40–43 °C (104–109 °F). T. rex landed squarely in the middle. It was still a scaly, egg-laying reptile, yet its internal furnace burned far closer to a mammal's.

This warm-blooded frame helps explain how tyrannosaurs thrived in cold reaches. Fossils found as far north as Alaska show T. rex could tolerate freezing conditions that would have been deadly to many other reptiles. Maintaining its own heat would have kept it active while hunting and scavenging enough food to fuel such a metabolism.

Thomas the T. rex now stands in a museum hall as proof that Earth's greatest predator was, in one surprising way, almost just like us — running warm, fast, and obsessed with its next meal, pushing life along the long evolutionary road that would one day produce the birds above our heads.