The structural instabilities towards the formation of a charge density wave (CDW) ground state exhibited by several layered Mo and W bronzes and oxides are reviewed. It is shown that in these two-dimensional (2D) metals, including the purple bronzes A x Mo 6 O 17 (A=K, Na, Tl; x≈1), the γ and η phases of MO 4 O 11 and the monophosphate tungsten bronzes with pentagonal tunnels ( PO 2)4 ( WO 3)2m(m=4, 6, 7), the CDW instability can be associated with particular chains of MoO 6 or WO 6 octahedra of the ReO 3 type slabs along which there is a strong overlap of the t 2g orbitals. The CDW critical wave vectors of the purple bronzes, Mo 4 O 11 and the tungsten bronzes with m=4 and 6 lead to a common nesting between differently oriented 1D Fermi surfaces. It is suggested that the anharmonic CDW modulation, which occurs in the tungsten bronzes with m≥7, could be the structural fingerprint of electron localization effects.