The paper deals with squeeze casting technology. For this research a direct squeeze casting method has been chosen. As an experimental material, the AlSi12 and AlSi7Mg0.3 alloys were used. The influence of process parameters variation (pouring temperature, mold temperature) on mechanical properties and structure will be observed. For the AlSi7Mg0.3 alloy, a pressure of 30 MPa was used and for the AlSi12 alloy 50 MPa. The thicknesses of the individual walls were selected based on the use of preferred numbers and series of preferred numbers (STN ISO 17) with the sequence of 3.15 mm, 4 mm, 5 mm, 6.3 mm and 8 mm. The width of each wall was 22 mm and length 100 mm. The mechanical properties (Rm, A5) for individual casting parameters and their individual areas of different thicknesses were evaluated. For the AlSi7Mg0.3 alloy, the percentage increase of the tensile strength was up to 37% and the elongation by 400% (at the 8 mm thickness of the casting). For the AlSi12 alloy, the strength increased from 8 to 20% and the tensile strength increased from 5 to 85%. The minimum thickness of the wall to influence the casting properties by pressure was set to 5 mm (based on the used casting parameters). Due to the effect of the pressure during crystallization, a considerable refinement and uniformity of the casting structure occured, also a reduction in the size of the eutectic silicate-eliminated needles was observed.