Systematic ac susceptibility measurements have been carried out to study the vortex dynamics in CaKFe 4 As 4 and Ba 0.6 K 0.4 Fe 2 As 2 single crystals under various temperatures, dc magnetic fields, ac field frequencies and amplitudes. The field-temperature phase diagrams were shown, and the characteristics of irreversibility line were also derived. The specific expressions of activation energy on the parameters of temperature (T ), current density (J ), and dc magnetic field (H ) are obtained according to these data. The results indicate that both superconductors have similar functional expressions of activation energy and flux pinning behaviors. Though both CaKFe 4 As 4 and Ba 0.6 K 0.4 Fe 2 As 2 superconductors exhibit very strong flux pinning ability, the vortex pinning potential in CaKFe 4 As 4 is slightly smaller than that in Ba 0.6 K 0.4 Fe 2 As 2, which may result from its distorted FeAs 4 -tetrahedron in CaKFe 4 As 4 . The depinning critical current densities at the limit of low temperature and low field were also extrapolated, yielding the corresponding values of J c0 (0) ∼ 1.0 × 10 8 and 2.2 × 10 8 A cm −2 for CaKFe 4 As 4 and Ba 0.6 K 0.4 Fe 2 As 2 superconductors, respectively, which suggest potential applications. Keywords: iron-based superconductivity, CaKFe 4 As 4 , Ba 0.6 K 0.4 Fe 2 As 2 , AC susceptibility measurements, vortex-creep activation energy