Determination of superexchange interactions for the CuO
2 chains in LiCu
2O
2Using ab-initio calculations, a five-band Hubbard model for the CuO$_2$ chains in LiCu$_2$O$_2$ is derived and reduced to a low-energy effective Heisenberg model with nearest-neighbor ($J_1$) and next-nearest-neighbor ($J_2$) interactions. Combining perturbation theory, exact diagonalization, and DMRG, realistic values of $J_1$ and $J_2$ are obtained. The resulting model yields a spiral magnetic ground state, consistent with experiment, and the spiral state is shown via symmetry arguments to be sufficient for the observed ferroelectricity.