This work investigates the surfactant effect on exposed and buried InAs quantum dots (QDs) by incorporating Sb into the QD layers with various Sb beam equivalent pressures (BEPs). Secondary ion mass spectroscopy shows the presence of Sb in the exposed and buried QD layers with the Sb intensity in the exposed layer substantially exceeding that in the buried layer. Incorporating Sb can reduce the density of the exposed QDs by more than two orders of magnitude. However, a high Sb BEP yields a surface morphology with a regular periodic structure of ellipsoid terraces. A good room-temperature photoluminescence (PL) at ∼1600 nm from the exposed QDs is observed, suggesting that the Sb incorporation probably improves the emission efficiency by reducing the surface recombination velocity at the surface of the exposed QDs. Increasing Sb BEP causes a blueshift of the emission from the exposed QDs due to a reduction in the dot height as suggested by atomic force microscopy. Increasing Sb BEP can also blueshift the ∼1300 nm emission from the buried QDs by decreasing the dot height. However, a high Sb BEP yields a quantum well-like PL feature formed by the clustering of the buried QDs into an undulated planar layer. These results indicate a marked Sb surfactant effect that can be used to control the density, shape, and luminescence of the exposed and buried QDs.