For the procedure of dispersion precompensation in fibers by prechirping, we found that there is a maximum distance over which a pulse initially compressed by prechirping can return to its original width. The distance constraint comes in the form of a mathematical relationship involving the distance, dispersion, initial pulse width, and peak power, implying that the restriction governs all the fiber parameters. Simple closed-form approximations for the constraint and for the corresponding required prechirp are derived on the basis of a variational approach. The validity of the analytical formulas is confirmed by split-step Fourier numerical simulation.