The invention provides a material for contact lenses, including a first siloxane macromer shown as formula (I): wherein R 1 , R 2 and R 3 are independently C 1 -C 4 alkyl groups, R 4 is C 1 -C 6 alkyl group, R 5 is C 1 -C 3 alkylene group, R 6 is -OR 7 O- or -NH-, R 7 and R 8 are independently C 1 -C 2 alkylene groups and m is an integer of about 1-2, n is an integer of about 4-80; at least one hydrophilic monomer; a surfactant which is an urethane (meth)acrylate containing poloxamer and an initiator.