The objective of the method is to allow agitation and fast homogenization of liquid systems in NMR tubes, directly inside the NMR spectrometer. The setup makes it possible to record spectra of samples that are macroscopically not stable, as dispersions of large particles. It makes also possible to fasten the homogeneization of liquid during a reaction or a phase transition. In the present paper, the method has been evaluated using homogeneous liquid extraction (HLLE). This configuration can also be used to introduce gases in different systems to perform various types of experiments. The set up consists in a Teflon tube inserted in the NMR tube bringing gas that yields agitation by bubbling. The gas flow is tuned using an electronically operated valve connected to gas line and to the NMR console. The method details how to reach proper homogenization without any perturbation, as liquid leaks.•An easy method for agitation of liquids inside NMR spectrometers.•The set up can be used for the insertion of gases in the NMR tube inside the spectrometer.•The method allows the study of the mixing of biphasic systems by NMR techniques.