Yes—non-avian dinosaurs originated roughly 230–240 million years ago, while the first flowering plants (angiosperms) appeared much later, generally dated to about 130–140 million years ago, so dinosaurs existed for well over 100 million years before any flowers did; the two groups then coexisted for the final roughly 65–70 million years of non-avian dinosaur history. That ordering is the short answer, but the longer story is more interesting because "before" hides several different questions: when each group first appeared, when each became ecologically dominant, and which dinosaurs actually lived alongside the earliest flowers.

The Basic Timeline, Stated Carefully

The fossil record places the earliest dinosaurs in the Late Triassic, approximately 233 million years ago (the precise figure and the exact oldest dinosaur remain debated, with candidates such as Eoraptor, Herrerasaurus, and Saturnalia figuring in the discussion). For a long stretch of the Triassic and Jurassic, dinosaurs shared landscapes with a bewildering variety of non-flowering plants: ferns, cycads, bennettitaleans, ginkgoes, conifers, and other gymnosperms. Flowering plants—angiosperms, the group that produces true flowers and encloses its seeds in an ovary—do not appear convincingly in the fossil record until the Early Cretaceous, around 130–140 million years ago, with early forms such as Archaefructus and Montsechia figuring in the debate over which fossils count as the first true flowers.

So the gap is enormous. Dinosaurs had already been around for something like 100 million years before the first angiosperm flowers. The non-avian dinosaurs then went extinct at the end of the Cretaceous, about 66 million years ago, by which point flowering plants had diversified substantially and, in many regions, come to dominate many plant communities. Birds—the surviving dinosaur lineage—are still with us today, living in a world of flowers, which is one reason the neat "dinosaurs before flowers" framing needs a caveat about what counts as a dinosaur.

Why the Ordering Is Not Just a Trivia Fact

The sequence matters because it reframes a popular image. Children's books often show a Tyrannosaurus rex stomping past flowering trees, and that image is not impossible—T. rex lived in the latest Cretaceous, when flowering plants existed—but a Stegosaurus or Brachiosaurus from the Jurassic would have lived in a world without flowers at all. The Jurassic is, in a real sense, a pre-flower world, dominated by conifers, cycads, ferns, and other gymnosperms. So the correct statement is not "dinosaurs never saw flowers" but "the earliest dinosaurs predated flowers by a wide margin, and only the later dinosaurs shared landscapes with them."

This is also a useful reminder that "dinosaur" is not a single moment in time. The group spans roughly 165 million years of non-avian history, from the Late Triassic to the end-Cretaceous extinction. Asking whether dinosaurs came before flowers is a bit like asking whether mammals came before smartphones: the earliest members of the group certainly did, and the latest members certainly did not.

What "Flowering Plant" Actually Means

A flowering plant is an angiosperm: a plant that produces flowers and encloses its seeds within a carpel (which develops into fruit). This contrasts with gymnosperms—conifers, cycads, ginkgoes, and their relatives—whose seeds are typically borne on cones or exposed structures rather than enclosed in an ovary. The distinction is not merely botanical pedantry; it defines the timing question. The earliest seed plants of any kind go back hundreds of millions of years, and seed ferns and other gymnosperm-like plants were present well before dinosaurs. What is absent until the Cretaceous is the angiosperm body plan: true flowers, enclosed seeds, and the associated reproductive ecology.

There is genuine scientific uncertainty about the earliest angiosperm fossils and about molecular-clock estimates, which sometimes push the origin of the angiosperm lineage somewhat earlier than the oldest undisputed macrofossils. But even the more generous molecular estimates do not move flowering plants back into the Triassic or Early Jurassic in a way that would overturn the basic ordering. The robust point is that the flowering-plant radiation is a Cretaceous phenomenon, and the dinosaur origin is a Triassic one.

The Coexistence Period and What It Looked Like

Flowering plants did not simply appear and take over instantly. The Early Cretaceous angiosperms were initially modest in diversity and abundance, and the major radiation and ecological dominance of flowering plants unfolded over tens of millions of years, accelerating in the Late Cretaceous. During that interval, dinosaurs and early angiosperms coexisted, and the relationship was not merely passive. Some dinosaurs were herbivores, and their feeding interacted with plant communities; some hypotheses link the spread of flowering plants and the diversification of certain herbivorous dinosaur groups (and, later, of insects and mammals) to changes in vegetation. These are hypotheses, not settled fact, and the details are contested. What is well supported is coexistence: Late Cretaceous ecosystems contained both flowering plants and a diverse dinosaur fauna.

A concrete illustration: in Late Cretaceous formations such as the Hell Creek Formation of North America, fossils of flowering plants occur alongside those of dinosaurs such as Tyrannosaurus, Triceratops, and Edmontosaurus. By contrast, Jurassic formations such as the Morrison Formation preserve abundant conifers, cycads, and ferns, with no angiosperms—and dinosaurs such as Stegosaurus, Apatosaurus, and Allosaurus. The contrast between these two famous fossil assemblages is one of the clearest illustrations of the ordering.

Common Points of Confusion

Several things cause people to get this wrong or to be uncertain.

"Dinosaurs" includes birds. Birds are avian dinosaurs and are abundant today, so if you count birds, dinosaurs did not come before flowers in any simple sense—birds evolved during the Jurassic, but modern birds diversified after flowers were well established. The clean "before" claim applies to non-avian dinosaurs.

Flowering plants are not the first plants. Plants of many kinds—mosses, ferns, lycophytes, early seed plants—long predate dinosaurs. The question is specifically about flowering plants, and confusing "plants" with "flowering plants" produces a false answer.

The word "before" can mean first appearance or ecological dominance. Flowering plants first appear in the Early Cretaceous but become ecologically dominant later. Dinosaurs first appear in the Late Triassic but the classic large-bodied faunas people picture are mostly Jurassic and Cretaceous. Matching the wrong dates produces confusion.

Fossil dates carry ranges, not exact years. Saying "flowers appeared 130 million years ago" is a shorthand; the actual first appearances are dated with ranges and debated among specialists. The ordering is robust even though the exact numbers are not.

Why the Sequence Is Established Knowledge

The ordering rests on independent lines of evidence: stratigraphy (flowering-plant fossils appear in Cretaceous rocks, not older ones), the global fossil record of pollen (angiosperm pollen has a distinctive Cretaceous first appearance), and the consistency of these findings across continents. The dinosaur fossil record likewise has a Triassic first appearance. Because these are separate, well-sampled records, the ordering is not a matter of a single lucky fossil but of a pattern that would require extraordinary evidence to overturn. That is why the answer is stated confidently while the precise dates are qualified.

In short: the first dinosaurs predate the first flowering plants by well over 100 million years; late non-avian dinosaurs lived alongside early flowers; and only birds, as surviving dinosaurs, inhabit the modern flowering world.