We investigate the possibility of using spent coffee grounds infused into a porous foam made from silicon and sugar to remove heavy metals from water.