These earliest cockroach-like fossils ( `` Blattopterans '' or `` roachids '' ) are from the Carboniferous period between 354 â `` 295 million years ago . These earliest cockroach-like fossils ( `` Blattopterans '' or `` roachids '' ) are from the Carboniferous period between 354 -- 295 million years ago .