We study semigroups generated by two-dimensional relativistic Hamiltonians with magnetic field. In particular, for compactly supported radial magnetic field we show how the long time behaviour of the associated heat kernel depends on the flux of the field. Similar questions are addressed for Aharonov-Bohm type magnetic field.