Hydrophobic materials such as hydrophobic aerogels can be produced by using hydrophobizing agents, e.g., silylating agents, halogen- and in particular fluorine-containing compounds such as fluorine-containing alkoxysilanes or alkoxysiloxanes, e.g., trifluoropropyltrimethoxysilane (TFPTMOS), and other hydrophobizing compounds known in the art.