In order to evaluate the sustainability of cementitious materials, it is significant to understand the mechanisms linked to the formation of the porosity and to its properties. The use of ground granulated blast-furnace slag as an eco-friendly hydraulic binder influences the hydration processes therefore the phases formed, their proportion and their microstructure of mortar and concrete. Mortar samples were made to evaluate the influences of the blast-furnace slag, its grinding fineness and the influence of temperature or relative humidity of curing on the porosity. The analysis of the mortar samples with complementary measures of porosity allowed us to highlight the increase of the total and free porosity, of the threshold diameter and the absolute permeability with the increase of slag proportion used and the decrease of relative humidity. We also showed a gradual slowing down of capillary absorption kinetics called self-sealing effect and observed the relationbetween the relative humidity and the capillary aperture with a low vacuum scanning electron microscopy. Thus, the strength of disjunction and capillary pressures applied on the hydrates clog the capillaries with increasing humidity. The development of a novel method for mortar porosity mapping from thermal conductivity data allowed us to confirm the skin presence and its area. This method allows the evaluation of the porosity distribution and the relative proportion of aggregates through the sample.