The effect of a transverse magnetic field on the oscillatory thermocapillary convection in the NaBi(WO4)2 melt was studied by using the in-situ observation system. The oscillation was attenuated when the 60 mT magnetic field was applied, as shown by the decrease in the amplitude and the frequency. Furthermore, the oscillation under smaller temperature difference was stabilized after the magnetic field was applied. The magnetic effect could be due to the Lorentz force generated by the interaction between motional ions and the vertical magnetic field. The ionic conductivities were measured to demonstrate the effect of the magnetic field. The solid ionic electrical conductivity increases with the temperature rise, and the melt ionic electrical conductivity was measured to be about 2.0×10−4 Ω−1·cm−1. Experimental results manifest that the effect of the magnetic field on anions and cations in the melt makes the flow change to the direction normal to the applied field, so the flow is more orderly and the oscillation is suppressed.