The main goal of this work was to examine the possibility of fabrication of glassy diffractive optical elements for application in the near-infrared and mid-infrared spectral ranges. In the paper we focused on fabrication of Fresnel lenses with use of the hot embossing process. Lead-bismuth-gallium oxide and tellurite glasses were used in the experiment. Both types of glasses possess high transmittance from the visible up to mid-infrared (0.4÷6.5µm). Fused silica element was used as the mold, which was fabricated with standard ion etching method. The elements presented in this work were fabricated in a static process with the use of low pressure. The quality of the fabricated elements was examined with white light interferometer.