We present a new formulation of the coupled dipole method that accounts for local-field effects and is exact in the long-wavelength limit. This formulation also leads to improved accuracy of the description of light-scattering processes at finite frequencies