Ferns first appear in the fossil record 360 million years ago in the Carboniferous but many of the current families and species did not appear until roughly 145 million years ago in the early Cretaceous (after flowering plants came to dominate many environments).