Aims. Magnetic field of accreting neutron stars determines their overall behavior including the maximum possible luminosity. Some models require an above-average magnetic field strength ( 10 13 G) in order to explain super-Eddington mass accretion rate in the recently discovered class of pulsating ultraluminous X-ray sources (ULX). The peak luminosity of SMC X-3 during its major outburst in 2016-2017 reached ∼ 2.5 × 10 39 erg s −1 comparable to that in ULXs thus making this source the nearest ULX-pulsar. Determination of the magnetic field of SMC X-3 is the main goal of this paper. Methods. SMC X-3 belongs to the class of transient X-ray pulsars with Be optical companions, and exhibited a giant outburst in July 2016 -March 2017. The source has been observed during the entire outburst with the Swift/XRT and Fermi/GBM telescopes, as well as the NuSTAR observatory. Collected data allowed us to estimate the magnetic field strength of the neutron star in SMC X-3 using several independent methods. Results. Spin evolution of the source during and between the outbursts and the luminosity of the transition to so-called propeller regime in the range of (0.3 − 7) × 10 35 erg s −1 imply relatively weak dipole field of (1 − 5) × 10 12 G. On the other hand, there is also evidence for much stronger field in the immediate vicinity of the neutron star surface. In particular, transition from super-to subcritical accretion regime associated with cease of the accretion column and very high peak luminosity favor an order of magnitude stronger field. This discrepancy makes SMC X-3 a good candidate to posses significant non-dipolar components of the field, and an intermediate source between classical X-ray pulsars and accreting magnetars which may constitute an appreciable fraction of ULX population.