The boundary layer extends from the surface to near freestream speed. Think of the surface layer as molecules bouncing slowly along. In the turbulent layer they are ripped smartly up to high speed very soon after you leave the surface and then slowly speed up toward freestream over the rest of the layer.