Amorphous tungsten trioxide thin films were prepared using a rf magnetron sputtering method. The relation between structure and electrochromic properties was investigated, At the macroscopic level, the films had dense structures. From Raman spectroscopic and X-ray radial distribution analyses, it was deduced that the networks were basically formed by three-, four- and six-membered rings of corner-sharing WO6 octahedra, and in the films with low O/W atomic ratios many edge-sharing units were present. It was also found that the films with high O/W ratios showed good electrochromic properties, which were closely related to the six-membered rings,