The absorption of sound has great significance in many scientific and engineering applications, from room acoustics to noise mitigation. In this context, porous materials have emerged as a viable solution towards high absorption performance and lightweight designs. However, their performance is somewhat limited in the low-frequency regime. Inspired by the concept of recursive patterns over multiple length scales, typical of many natural materials, here, we propose a hierarchical organization of multilayered porous media and investigate their performance in terms of sound absorption. Two types of designs are considered: a hierarchical periodic (HP) and a hierarchical gradient (HG). In both cases, it is found that in some frequency ranges the introduction of multiple levels of hierarchy simultaneously allows for: (i) an increase in the level of absorption compared with the corresponding bulk block of porous material (or to the previous hierarchical levels (HLs)), and (ii) a reduction in the quantity of porous material required. Another advantage of using this approach is on the fabrication, since only one porous material is required. The performances are examined for both normal and oblique incidences, as well as for different values of the static air-flow resistivity. The methodological approach is based on the transfer-matrix method, optimization algorithms such as the metaheuristic greedy randomized adaptive search procedure (GRASP), finite-element calculations and measurements performed in an impedance tube.