The present invention also relates to an anti-fouling composition comprising one or more aerogels. In one embodiment the aerogel encapsulate one or more bioactive agents. The one or more encapsulated bioactive agents can in one preferred embodiment be released from the aerogel over time. In one embodiment the encapsulated bioactive agents comprise one or more enzymes. In one preferred embodiment the anti-fouling composition comprising one or more aerogels is a coating composition.