Our Solar System originated in interstellar gas and dust; the latter is in the form of amorphous silicate particles 1,2 and carbonaceous dust. The composition of cometary material shows that a significant fraction of the amorphous silicates was transformed into crystalline form during the early evolution of the protosolar nebula 3 . How and when this transformation happened has been controversial, with the main options being heating by the young Sun 4,5 or shock heating 6 . Here we report mid-infrared features in the outburst spectrum of the young solar-like star EX Lupi that were not present in quiescence. We attribute them to crystalline forsterite; the crystals were produced via thermal annealing in the surface layer of the inner disk by heat from the outburst, a process that has hitherto not been considered. The observed lack of cold crystals excludes shock heating at larger radii.The year 2008 brought a rare opportunity to study high temperature dust processing on human timescale in a cosmic laboratory. The experiment took place in the circumstellar disk of EX Lupi, an M0 star, that is the prototype of a class of young eruptive stars named EXors 7 . These objects are defined by their large repetitive outbursts, attributed to temporarily increased mass accretion from the circumstellar disk onto the star 8 . Such outbursts represent the most intense accretion episodes in assembling the final stellar mass. In January 2008 EX Lupi entered one of its largest outbursts, brightening by approximately a factor of 100 and reaching a maximum brightness of 8 magnitude in visual light 9,10 . We observed EX Lupi in the 5.2-37 µm wavelength range with the InfraRed Spectrograph on-board the Spitzer Space Telescope, on 2008 April 21. EX Lupi was already slowly fading after its peak brightness in 2008 February, but was still a factor of 30 brighter in visual light than in quiescence.Comparing our EX Lupi spectrum with a pre-outburst measurement from the Spitzer archive obtained in 2005, we observed a remarkable change. In the 8 -12 µm spectral range (Figure 1), the silicate profile in quiescence exhibited a triangular shape, similar to that of the amorphous interstellar grains 1,11 (panels a, b). In contrast, in outburst (panel c), we clearly detected several narrower spectral features, which we identified as crystalline silicates, on top of the broad peak of amorphous silicates. The sharp peak at 10 µm and a shoulder at 11.3 µm suggest that forsterite, the Mg-rich form of olivine, dominates the observed crystal population 12,13 . The appearance of a weaker peak at 16 µm, shown in the Supplementary Information, supports this conclusion. Longward of this peak no other crystalline features are present in the spectrum. The observed crystalline features are similar to those present in comet spectra 3,14 (panel d) and in a number of protoplanetary disks 15,16 . The remaining differences between EX Lupi and 2 the cometary spectra can be related to different temperatures and different relative abundances of dust components. . Aft...