The results of studies of quantum-cascade laser with a surface emission through a grating formed in the layers of the top cladding of the waveguide by ion beam milling are presented. The active region of the QCL heterostructure was formed based on a heteropair of In0.53Ga0.47As / Al0.48In0.52As solid alloys with two-phonon resonance design. It is shown that lasing at room temperature close to 7.9 µm is demonstrated for a laser with a ring diameter of 191 µm. The mode spacing corresponds to whispering gallery modes.