Phase change materials (PCMs) are considered one of the most reliable latent heat storage and thermoregulation materials. In this paper, a vinyl monomer is used to provide energy storage capacity and synthesize gel with phase change property. The side chain of copolymer form crystal microcell to storage/release energy through phase change. The crosslinking structure of the copolymer can protect the crystalline micro-area maintaining the phase change stable in service and improving the mechanical strength. By selecting different monomers and adjusting their ratios, we design the chemical structure and the crystallinity of gels, which in further affect their properties, such as strength, flexibility, thermal absorb/release transition temperature, transparency and the water content. Using the light-induced polymerization 3D printing techniques, we synthesize the energy storage gel and shape it on a 3D printer at the same time. By optimizing the 3D printing conditions, including layer thickness, curing time and light source, etc., the 3D printing objects are obtained.