A
random laser which is used for a liquid mixed with
magnetic nanoparticles and is provided with a controllable switch comprises a sealed container, a
laser dye solution, scattering particles, a set of magnetic elements, a focusing lens and an
optical pumping device, wherein the focusing lens is located between the sealed container and the
optical pumping device, the
laser dye solution and the scattering particles are arranged inside the sealed container, and the scattering particles are the
magnetic nanoparticles. In the working process, the concentration of the magnetic particles in a scattering region is changed by controlling the
magnetic field of the magnetic elements, so that the scattering intensity of a pumping area is conveniently changed, and therefore the optical feedback intensity in a random
gain medium is changed to achieve the purposes of opening and closing. Compared with prior art, the
random laser which is used for the liquid mixed with the
magnetic nanoparticles and is provided with the controllable switch is stable in working state, is not affected by the environment temperature easily, is simple in structure, is integrated more easily, can be controlled easily and is wider in application range.