An extensive study on molecular beam epitaxy growth conditions of quaternary GaAsSbN as a capping layer (CL) for InAs/GaAs quantum dots (QD) was carried out. In particular, CL thickness, growth temperature, and growth rate were optimized. Problems related to the simultaneous presence of Sb and N, responsible for a significant degradation of photoluminescence (PL), are thereby solved allowing the achievement of room-temperature (RT) emission. A particularly strong improvement on the PL is obtained when the growth rate of the CL is increased. This is likely due to an improvement in the structural quality of the quaternary alloy that resulted from reduced strain and composition inhomogeneities. Nevertheless, a significant reduction of Sb and N incorporation was found when the growth rate was increased. Indeed, the incorporation of N is intrinsically limited to a maximum value of approximately 1.6% when the growth rate is at 2.0 ML s−1. Therefore, achieving RT emission and extending it somewhat beyond 1.3 μm were possible by means of a compromise among the growth conditions. This opens the possibility of exploiting the versatility on band structure engineering offered by this QD-CL structure in devices working at RT.PACS81.15.Hi (molecular beam epitaxy); 78.55.Cr (III-V semiconductors); 73.21.La (quantum dots)