Diatom assemblages are documented from diatomite layers of two Miocene fluvio-lacustrine units from the basins of the western Cordillera of northern Peru: the Namora Formation and the Cajabamba Formation. Emphasis is given to taxa of particular stratigraphic interest. The diatom assemblages indicate for the Namora Formation the occurrence of swampy conditions with very dilute, low alkalinity water. The diatom assemblages of the Cajabamba Formation reflect the occurrence of fresh, slightly alkaline, eutrophic lakes with deep water in some samples, and swampy conditions with relatively high salt content in other samples. The Namora formation is late Miocene in age based on the diatom assemblages and radiometric analyses. The diatom layers of the Cajabamba Formation are dated as late middle to early late Miocene. -from Authors