Porosity is an index property that is present in all solid materials. It is used to understand the flow channel inside a material, also the pore space and matrix. The porosity of rock and soil can be divided into two types, namely, total and effective porosity. Porosity is one of the important parameters for any underground structure and rockmass which can even result in its failure with time. The primary goal of this review is to comprehend how porosity affects subsurface structures and rock mass. Although the rock and soil both have porosity, the rockmass connected to subsurface structures is the primary subject of the paper. This paper focuses on how porosity is measured, what influences porosity, and how porosity relates to other geo-mechanical parameters, this paper also discussed about the impact of changing porosity on underground constructions including tunnels, mines, underground storage, and caverns.