The data set collected with the ALEPH detector from 1991 to 1995 at LEP has been analysed to measure the charm forward-backward asymmetry at the Z. Out of a total of 4.1 million hadronic Z decays, about 36000 high momentum D*+, D+ and D0 decays were reconstructed, of which 80% originate from Z-->cc ̄ events. The forward-backward asymmetry was measured at three energy points:From this analysis, a value of the effective electroweak mixing angle sin2θeffW=0.2321+/- 0.0016 is extracted.