Tyrannosaurus lived during what is referred to as the Lancian faunal stage (Maastrichtian age) at the end of the Late Cretaceous.
Tyrannosaurus ranged from Canada in the north to at least New Mexico in the south of Laramidia.
During this time Triceratops was the major herbivore in the northern portion of its range, while the titanosaurian sauropod Alamosaurus "dominated" its southern range.
Tyrannosaurus remains have been discovered in different ecosystems, including inland and coastal subtropical, and semi-arid plains.

Several notable Tyrannosaurus remains have been found in the Hell Creek Formation.
During the Maastrichtian this area was subtropical, with a warm and humid climate.
The flora consisted mostly of angiosperms, but also included trees like dawn redwood (Metasequoia) and Araucaria.
Tyrannosaurus shared this ecosystem with ceratopsians Leptoceratops, Torosaurus, and Triceratops, the hadrosaurid Edmontosaurus annectens, the parksosaurid Thescelosaurus, the ankylosaurs Ankylosaurus and Denversaurus, the pachycephalosaurs Pachycephalosaurus and Sphaerotholus, and the theropods Ornithomimus, Struthiomimus, Acheroraptor, Dakotaraptor, Pectinodon and Anzu.

Another formation with Tyrannosaurus remains is the Lance Formation of Wyoming.
This has been interpreted as a bayou environment similar to today's Gulf Coast.
The fauna was very similar to Hell Creek, but with Struthiomimus replacing its relative Ornithomimus.
The small ceratopsian Leptoceratops also lived in the area.

In its southern range Tyrannosaurus lived alongside the titanosaur Alamosaurus, the ceratopsians Torosaurus, Bravoceratops and Ojoceratops, hadrosaurs which consisted of a species of Edmontosaurus, Kritosaurus and a possible species of Gryposaurus, the nodosaur Glyptodontopelta, the oviraptorid Ojoraptosaurus, possible species of the theropods Troodon and Richardoestesia, and the pterosaur Quetzalcoatlus.
The region is thought to have been dominated by semi-arid inland plains, following the probable retreat of the Western Interior Seaway as global sea levels fell.

Tyrannosaurus may have also inhabited Mexico's Lomas Coloradas formation in Sonora.
Though skeletal evidence is lacking, six shed and broken teeth from the fossil bed have been thoroughly compared with other theropod genera and appear to be identical to those of Tyrannosaurus.
If true, the evidence indicates the range of Tyrannosaurus was possibly more extensive than previously believed.
It is possible that tyrannosaurs were originally Asian species, migrating to North America before the end of the Cretaceous period.
Tyrannosaurus lived during what is referred to as the Lancian faunal stage (Maastrichtian age) at the end of the Late Cretaceous. Tyrannosaurus ranged from Canada in the north to at least New Mexico in the south of Laramidia. During this time Triceratops was the major herbivore in the northern portion of its range, while the titanosaurian sauropod Alamosaurus "dominated" its southern range. Tyrannosaurus remains have been discovered in different ecosystems, including inland and coastal subtropical, and semi-arid plains.
Several notable Tyrannosaurus remains have been found in the Hell Creek Formation. During the Maastrichtian this area was subtropical, with a warm and humid climate. The flora consisted mostly of angiosperms, but also included trees like dawn redwood (Metasequoia) and Araucaria. Tyrannosaurus shared this ecosystem with ceratopsians Leptoceratops, Torosaurus, and Triceratops, the hadrosaurid Edmontosaurus annectens, the parksosaurid Thescelosaurus, the ankylosaurs Ankylosaurus and Denversaurus, the pachycephalosaurs Pachycephalosaurus and Sphaerotholus, and the theropods Ornithomimus, Struthiomimus, Acheroraptor, Dakotaraptor, Pectinodon and Anzu.
Another formation with Tyrannosaurus remains is the Lance Formation of Wyoming. This has been interpreted as a bayou environment similar to today's Gulf Coast. The fauna was very similar to Hell Creek, but with Struthiomimus replacing its relative Ornithomimus. The small ceratopsian Leptoceratops also lived in the area.
In its southern range Tyrannosaurus lived alongside the titanosaur Alamosaurus, the ceratopsians Torosaurus, Bravoceratops and Ojoceratops, hadrosaurs which consisted of a species of Edmontosaurus, Kritosaurus and a possible species of Gryposaurus, the nodosaur Glyptodontopelta, the oviraptorid Ojoraptosaurus, possible species of the theropods Troodon and Richardoestesia, and the pterosaur Quetzalcoatlus. The region is thought to have been dominated by semi-arid inland plains, following the probable retreat of the Western Interior Seaway as global sea levels fell.
Tyrannosaurus may have also inhabited Mexico's Lomas Coloradas formation in Sonora. Though skeletal evidence is lacking, six shed and broken teeth from the fossil bed have been thoroughly compared with other theropod genera and appear to be identical to those of Tyrannosaurus. If true, the evidence indicates the range of Tyrannosaurus was possibly more extensive than previously believed. It is possible that tyrannosaurs were originally Asian species, migrating to North America before the end of the Cretaceous period.
Tyrannosaurus