A composite of silica aerogel and a hydrogel synthesized by and a method for the sequential formation thereof including the encapsulation of hydrophobic aerogels with PEG hydrogel via photoinitiated polymerization. The aerogel-hydrogel composite has two layers: the outer layer hydrogel layer is hydrophilic, whereas the inner aerogel core is hydrophobic.