High-harmonic generation by a highly non-linear interaction of infrared laser fields with matter allows for the generation of attosecond pulses in the XUV spectral regime. This process, well established for atoms, has been recently extended to the condensed phase. Remarkably well pronounced harmonics up to order ∼ 30 have been observed for dielectrics. We present the first ab-initio multiscale simulation of solid-state high-harmonic generation. We find that mesoscopic effects of the extended system, in particular the realistic sampling of the entire Brillouin zone, the pulse propagation in the dense medium, and the inhomogeneous illumination of the crystal have a strong effect on the formation of clean harmonic spectra. Our results provide a novel explanation for the formation of clean harmonics and have implications for a wide range of non-linear optical processes in dense media.PACS numbers: 42.65. Ky, 42.50.Hz, 72.20.Ht The generation of high harmonics (HHG) in the nonlinear interaction of intense ultrashort infrared (IR) laser pulses with matter has turned out to be a highly successful route towards the generation of attosecond pulses in the EUV and XUV spectral regimes [1][2][3][4]. It has become the workhorse of investigation of a vast array of electronic processes on the attosecond time scale [5]. Expanding the range of accessible photon energies and intensities faces, however, fundamental limitations. Experimental and theoretical investigations have established a scaling of the cut-off energy E cut ∝ λ 2 for HHG from atoms in the gas phase raising hopes to reach ever higher photon energies by increasing the wavelength λ of the driving laser pulse. However, the intensity in the cut-off region was found to scale unfavorably I cut ∝ λ −5.3 due to the large spatial dispersion of the electron wave packet upon return to its parent atom [6][7][8][9][10]. Propagation effects in gas filled capillaries have been found to partially offset this suppression at high λ [11].Extending HHG to the condensed phase promises to overcome some of these limitations to enable compact and brighter light sources and to open up the novel field of solid-state photonics on the attosecond scale. The recent observation of HHG in solids for intensities below the damage threshold [12][13][14][15][16][17][18] suggests opportunities for controlling electronic dynamics [16,17] and for an alloptical reconstruction of the band structure [19].The observed solid-state HHG substantially differs from the corresponding atomic spectra. For example, while for atoms the cut-off frequency ω HHG cut scales linearly with the (peak) intensity I 0 of the driving pulse [20,21] One major puzzle has remained so far unresolved: while many experiments display remarkably "clean" harmonic spectra with pronounced peaks near multiples of the driving frequency (odd multiples when inversion symmetry is preserved) all the way up to the cutoff frequency, corresponding simulations display a noisy spectrum lacking any clear harmonic structure over a wide range of fre...