Chemical analysis of complex matrices-containing hundreds of compounds-is challenging. Two-dimensional separation techniques provide an efficient way to reduce complexity of mixtures analyzed by mass spectrometry (MS). For example, gasoline is a mixture of numerous compounds, which can be fractionated by distillation techniques. However, coupling conventional distillation with other separations as well as MS is not straightforward. We have established an automatic system for online coupling of simple microscale distillation with gas chromatography (GC) and electron ionization MS. The developed system incorporates an interface between the distillation condenser and the injector of a fused silica capillary GC column. Development of this multidimensional separation (distillation-GC-MS) was preceded by a series of preliminary off-line experiments. In the developed technique, the components with different boiling points are fractionated and instantly analyzed by GC-MS. The obtained data sets illustrate dynamics of the distillation process. An important advantage of the distillation-GC-MS technique is that raw samples can directly be analyzed without removal of the non-volatile matrix residues that could contaminate the GC injection port and the column. Distilling the samples immediately before the injection to the GC column may reduce possible matrix effects-especially in the early phase of separation, when molecules with different volatilities co-migrate. It can also reduce losses of highly volatile components (during fraction collection and transfer). The two separation steps are partly orthogonal, what can slightly increase selectivity of the entire analysis.