In order to study the influence of void defects on the axial compression performance of concrete‐filled square steel tubular columns, the axial compression model of concrete-filled square steel tubular columns with void defects was established by ABAQUS software with the density loss rate of core concrete, the number of void edges and the position of void as the main parameters. The calculation results show that when the density loss rate of core concrete is 1 %, the influence of void positions on both sides on the specimens is almost the same. The ultimate bearing capacity and deformation capacity of the specimens decrease significantly with the increase of the number of void edges.