Novel 6-2'-(phosphonomethoxy)alkoxy pyrimidine derivatives of the general formula I are provided. Further, the methods of preparation of these derivatives are described. Compositions containing these compounds are disclosed, as well as the antiviral activity of these compounds.