The surfactant effect of isoelectronic indium doping during metalorganic chemical vapor deposition growth of cubic GaN on GaAs (100) substrates was studied. Its influence on the optical properties and surface morphology was investigated by using room-temperature photoluminescence (PL) and atomic force microscopy. It is shown that the sample with small amount of In-doping has a narrower PL linewidth, and a smoother surface than undoped cubic GaN layers. A slight red shift of the near-band-edge emission peak was observed. These results revealed that, for small TMIn flow rates, indium played the role of the surfactant doping and effectively improved the cubic GaN film quality; for large TMIn flow rates, the alloying formation of Ga 1 - x In x N might have occurred.