We measured the two-dimensional carrier profiles of n-type field effect transistors (n-FETs) with various gate lengths (Lg) by scanning tunneling microscopy. The extension overlap and the distribution of the depletion layers were evaluated to clarify that the measured carrier profiles were consistent with the roll-off characteristic of corresponding transistors. The effect of a pocket implant on a long transistor appeared where the lateral depletion width was locally shorter than the vertical one. In the n-FET with a gate length less than 40 nm, the effect of the pocket impurities from the opposite side mainly appeared as a reduction in the extension overlap in the deep region. Although the presence of this pocket increased the top channel concentration, the short length of the effective channel resulted in the spread of the depletion layer in the deep-channel region via the two-dimensional effect.