As a heterogeneous, anisotropic and porous porous brittle material, the coal body has a large number of micro-scales such as bedding, joints, cracks, etc. so that the blasting and cracking effects in different directions will be significantly different. Based on this, a split Hopkinson pressure bar (SHPB) experimental device was used to perform impact loads of 0.1, 0.15, 0.2, 0.3, 0.5 MPa on the coal samples taken from the vertical and parallel bedding directions. The uniaxial/triaxial SHPB impact test was used to compare the uniaxial/triaxial impact dynamics performance of the anisotropic coal body stress-strain, peak stress, average strain rate, etc. after the impact. The results showed that under the action, the uniaxial and triaxial stress-strain curves had the same trend, and the peak stress and average strain rate increased with the impact load, and the growth trend was also the same. When the uniaxial impact, the stress of the coal sample followed the strain which can reach the peak stress quickly and dropped down quickly to complete the unloading. During triaxial impact, this stage was relatively smooth and had a longer elastoplastic deformation, so its dynamic mechanical properties were also improved well. Due to the relatively weak bonding surface between coal layers, the dynamic compressive strength was relatively smaller than the dynamic compressive strength in the vertical bedding direction; the triaxial SHPB impact had the peak stress and average strain rate under the constraint of the axial and confining pressures on the coal sample compared to the uniaxial improved, and the peak stress increased the most when the impact load was 0.15~0.2 MPa, increasing by about 50%. The dynamic performance improvement in the vertical bedding direction was slightly better than that in the parallel bedding direction. The effect of pressure had certain limitations, that was a certain confining pressure had a certain limit to improve the mechanical properties of coal samples.