Harnessing entanglement between light and material systems is of interest for future quantum information technologies. Two groups report advances in the development of the light–matter quantum interface that could pave the way for the construction of multiplexed quantum repeaters for long-distance quantum networks. Clausen et al. demonstrate entanglement between a photon at the telecommunication wavelength (1,338 nanometres) and a single collective atomic excitation stored in a neodymium-doped Y2SiO5 crystal. Saglamyurek et al. use a thulium-doped LiNbO3 waveguide to achieve a similar entanglement. The reversible transfer of quantum states of light into and out of matter constitutes an important building block for future applications of quantum communication. Here, the reversible transfer of photon–photon entanglement into entanglement between a photon and a collective atomic excitation in a solid-state device is reported. This should simplify frequency-matching of light with matter interfaces in advanced applications of quantum communication, bringing fully quantum-enabled networks a step closer. The reversible transfer of quantum states of light into and out of matter constitutes an important building block for future applications of quantum communication: it will allow the synchronization of quantum information1, and the construction of quantum repeaters2 and quantum networks3. Much effort has been devoted to the development of such quantum memories1, the key property of which is the preservation of entanglement during storage. Here we report the reversible transfer of photon–photon entanglement into entanglement between a photon and a collective atomic excitation in a solid-state device. Towards this end, we employ a thulium-doped lithium niobate waveguide in conjunction with a photon-echo quantum memory protocol4, and increase the spectral acceptance from the current maximum5 of 100 megahertz to 5 gigahertz. We assess the entanglement-preserving nature of our storage device through Bell inequality violations6 and by comparing the amount of entanglement contained in the detected photon pairs before and after the reversible transfer. These measurements show, within statistical error, a perfect mapping process. Our broadband quantum memory complements the family of robust, integrated lithium niobate devices7. It simplifies frequency-matching of light with matter interfaces in advanced applications of quantum communication, bringing fully quantum-enabled networks a step closer.