The high pressure die casting technology allows the production of complex casts with good mechanical properties, with high production repeatability within narrow tolerance limits. However, the casts are somewhat porous, which may reduce their mechanical properties. There are several recommendations for reducing the porosity of casts, which are aimed at setting the technological parameters of the casting cycle. One of the primary and important ways to reduce the porosity and air entrapment in the melt is a suitable gating system design. Submitted contribution is devoted to assessing the influence of the runner branching geometry on the air entrapment within the cast volume during the filling phase of the casting cycle. Four variants of the gating system for a particular cast are compared with different design of main runner branching. The initial design is based on a real gating system where the secondary runner is connected to the main runner at an angle of 90 °. The modified designs are provided with a continuous transition of the main runner into the secondary ones, with the change in the branching runner radius r1 = 15 mm, r2 = 25 mm and r3 = 35 mm. The air entrapment in the melt is assessed within the cast volume behind the cores, which have been evaluated as a critical points with respect to further mechanical treatment. When designing the structural modification of geometry it was assumed that by branch changing using the radius value r3 = 35 mm, the melt flows fluently, and thus the value of the entrapped air in the volume of the cast will be the lowest. This assumption was disproved. The lowest values of entrapped air in the melt were found in the casts with runner transition designed with radius r1 = 15 mm. The conclusion of the contribution explains the causes of this phenomenon and from a designing point of view it presents proposal for measures to reduce the entrapment of the air in casts.