In this work, the influence of a non‐uniform magnetic field on the self‐focusing of relativistic q‐Gaussian (QG) laser pulse propagating in magnetized plasma is studied. Utilizing the non‐linear Schrodinger equation with higher‐order paraxial approximation, the higher‐order terms of the dielectric function and the eikonal in the presence of a non‐uniform magnetic field have been obtained. Numerical results reveal that while the non‐uniform magnetized field decreases, the pulse width parameter (g) decreases, and subsequently the spot‐size of the laser declines too. As a consequence, the QG laser pulse will be more focused. Besides, it is shown that increasing the values of q‐parameter leads to a decline in self‐focusing qualities and, at lower values of q‐parameter, sharp self‐focusing of QG laser pulse is observed. Furthermore, it is found that when the QG laser pulse is propagated in the magnetized plasma, the amplitude of the pulse width decreases with decreasing the δ‐parameter, and consequently, the laser pulse becomes more compressed. Moreover, it is observed that the application of a non‐uniform magnetic field improves the self‐focusing of the QG laser pulse propagated through magnetized plasma.