In the title compound, {[Er(NO3)2(C6H18N3OP)4][AgWS4]} n , the polymeric anionic chain {[AgWS4](-)} n extends along [001]. The Er(III) atom in the cation is coordinated by eight O atoms from two bidentate nitrate anions and four hexa-methyl-phospho-ramide ligands in a distorted square-anti-prismatic geometry. Together with the two nitrate ligands, the cation is monovalent, which leads to the anionic chain having a [WS4Ag] repeat unit. The polymeric anionic chain has a distorted linear configuration, with W-Ag-W and Ag-W-Ag angles of 161.37 (2) and 153.548 (12)°, respectively. The title complex is isotypic with the Y, Yb, Eu, Nd, La, Dy, Sm, Lu and Tb analogues.