Virtual reality is quickly evolving technology which is starting to push not only in entertainment but also in other disciplines like an automotive, machine or aircraft industry. Due to ever higher teaching demands of these problematics virtual reality is one of the ways how to increase teaching efficiency. This paper aims to create a virtual laboratory with an interactive model of a machine tool. Head-mounted display and controllers from Oculus were used for the visualization and interaction with the machine tool. The interactivity of model lies in the opportunity of assembling and disassembling basic parts of the machine tool to elementary construction parts. This enables to the interested person better and faster understanding of construction problematics of machine tools which contribute to the improvement of the teaching effectiveness.