Résumé : Children under 6 years who need magnetic resonance imaging usually require sedation to obtain best quality images, but the optimal sedation protocol remains to be determined. In 2018, we showed a 22% interruption in image acquisition during magnetic resonance imaging when performing a propofol-based sedation using a bolus approach. As non-pharmacological premedication is often insufficient to reduce the anxiety of children related to parental separation, pharmacological premedication may be useful to facilitate the induction of anesthesia. In our institution, effective premedication is obtained oral intake of midazolam, though its administration relies on patients' compliance and could also lead to paradoxical reaction. Dexmedetomidine has a safe profile in the pediatric population and can therefore represent an interesting alternative. The primary objective of this trial is to demonstrate the superiority of intranasal dexmedetomidine compared to oral midazolam as premedication in reducing the occurrence of any event requiring temporary or definitive interruption of the examination to allow anesthesiologist intervention in children undergoing magnetic resonance imaging under propofol sedation.