The mechanism by which carbon is incorporated into GaAs layers by atomic layer epitaxy using trimethylgallium or triethylgallium was investigated. The carbon density varied from 1×1013 to 8×1018 cm-3 with the trimethylgallium (or triethylgallium) and arsine pulse durations and mole fractions. It was also observed that the carbon incorporation drastically changed at the pulse duration and mole fraction where the growth rate per gas cycle started to saturate to one monolayer (0.283 nm/cycle for a (100) substrate). The results were explained by the selective adsorption of carbon on surface gallium, the reaction of methylgallium with arsine, and the exchange interaction between arsenic and carbon atoms.