Entropy generation analysis is carried out during natural convection within entrapped porous triangular cavities for two cases based on the heating or cooling of the inclined and horizontal walls (case 1: hot inclined walls with cold horizontal walls and case 2: cold inclined walls with hot horizontal walls). The results are plotted in terms of the isotherms (θ), streamlines (ψ), and entropy generation maps (Sθ and Sψ). The total entropy generation (Stotal), average Bejan number (Beav), and average Nusselt number (or) as a function of Darcy number (Dam) at a high Rayleigh number (Ram = 106) have been studied for both cases 1 and 2 and the optimal case is recommended based on least Stotal and largest or. © 2016 Taylor & Francis Group, LLC.