In this note we prove the validity of the Maz’ya–Shaposhnikova formula in magnetic fractional Orlicz–Sobolev spaces. This complements a previous asymptotic study of the limit as s ↑ 1 performed by the second author in (Studia Mathematica (2020)).