Provided are a curable composition for optical imprinting, which exhibits excellent mold release properties and ink jet discharge precision, a method for forming a pattern, a pattern, and a fluorine-containing compound. The curable composition for optical imprinting contains a polymerizable compound, a photopolymerization initiator and a fluorine-containing compound. The fluorine-containing compound is represented by general formula (I) or general formula (II). In general formulae (I) and (II), Rf1 to Rf3 are each independently a fluoroalkyl group having 1-9 carbon atoms and having 2 or more fluorine atoms; R is an alkyl group having 1-8 carbon atoms, an alkenyl group having 2-8 carbon atoms or an aryl group having 6-8 carbon atoms; l1 to l3 are each independently a number between 0 and 10, m is an integer between 2 and 4, and n1 and n2 are each independently a number between 1 and 25.