The origin of ferroelectricity in KH2PO4 (KDP) is studied by first-principles electronic structure calculations. In the low-temperature phase, the collective off-center ordering of the protons is accompanied by an electronic charge delocalization from the near and localization at the far oxygen within the O-H· · ·O bonds. Electrostatic forces, then, push the K+ ions towards off-center positions...