We have studied the 1D chain formation of metal-encapsulated gold nanoclusters M@Au12 (M = W, Mo) with Ih or Oh symmetry, and their structural and electronic properties.