This paper studies the influence of gain on transmission of electromagnetic waves through the nanocavity placed between two reflectors. The reflectors consist of alternating nano-layered structure that contains dispersive negative and non-dispersive positive refractive index materials. Here, we analyze transmission of the structure by utilizing transfer matrix method on 10 3 THz regime of frequency.