We define Sobolev capacity on the generalized Sobolev space W1,p()(n). It is a Choquet capacity provided that the variable exponent p:n[1,) is bounded away from 1 and . We discuss the relation between the Hausdorff dimension and the Sobolev capacity. As another application we study quasicontinuous representatives in the space W1,p()(n).