A water-and-oil repellant composition with excellent durability which can impart excellent water-and-oil repellency to an article even through a low- temperature treatment. The article to which water-and-oil repellency has bee n imparted by the composition can give a soft feeling. The water-and-oil repellant composition contains as an essential ingredient a copolymer comprising units derived from the following monomer (a) and units derived fr om the following monomer (b). Monomer (a): An Rf group-containing monomer givin g a homopolymer which has no melting point attributable to fine crystals deriv ed from the Rf groups contained therein or has a melting point of 55~C or lower attributable to the crystals and which has a glass transition temperature of 20~C or higher. Monomer (b): A monomer having no Rf groups and having a crosslinkable functional group.