Nanostructured silica based xerogels and aerogels are prepared by sol-gel technology, using methyltrimethoxysilane as precursor. The influence of the drying method and conditions on the microstructure of the obtained materials is investigated, since the drying stage has a critical influence on their porosity. Two types of drying methods were used: atmospheric pressure drying (evaporative), to produce xerogels, and supercritical fluids drying, to obtain aerogels. Although the supercritical fluids drying technique is more expensive and hazardous than the atmospheric pressure drying, it is well known that aerogels are less dense than the xerogels due to less pore shrinkage. However, the ideal situation would be to use atmospheric pressure drying in conditions that minimize the pore collapse. Therefore, in this work, different temperature cycles for atmospheric pressure drying and two heating rates for the supercritical fluids drying are tested to study the gels' shrinkage by analyzing the density and porosity properties of the final materials. The best materials obtained are aerogels dried with the lower heating rate (approximately 80 degrees C/h), since they exhibit very low bulk density (approximately 50 kg/m3), high porosity (95%)-mainly micro and mesopores, high surface area (approximately 500 m2/g), moderate flexibility and a remarkable hydrophobic character (>140 degrees). It was proved that the temperature cycles of atmospheric pressure drying can be tuned to obtain xerogels with properties comparable to those of aerogels, having a bulk density only approximately15 kg/m3 higher. All the synthesized materials fulfill the requirements for application as insulators in Space environments.