The invention provides compositions and methods to form pores in situ within hydrogels following hydrogel injection. Pores formed in situ via degradation of sacrificial porogens within the surround hydrogel facilitate recruitment or release of cells. Disclosed herein is a material that is not initially porous, but which becomes macroporous over time.