Summary. --We report the measurements of the 3D(3s4d)-3P(3s3p), 3D(3s5d)--ap(3s3p), and 3P(3p2)-3p(3s3p) transition frequency of MgI, the free-structure separation and isotope shift between 2aMg and 26Mg. The measurements have been performed in a metastable atomic beam; a good agreement is found for data already existing in the literature. The accuracy of the measurements reported in this paper is mainly limited by the Doppler broadening of the/2 transitions used as a reference and by the precision in the knowledge of the related wavelengths.PACS 32.30.Jc -Visible and ultraviolet spectra. High-resolution spectroscopic studies of the first-excited states of Mg have been performed mainly in recent years; the fine-structure splittings of the metastable triplet 8p(0) are reported in [l,2], the isotope shifts and hyperfine splittings in [3][4][5]. Moreover, the isotope shift and hyperfine splittings of the following transitions have been measured: 3s4s 8S-3s3p 3p [6,7], the 3s3d 3D-3s3p 3p [8,9], the 3s4d 3D-3s3p 8p [9] and 3s 21S o-3s3p 1P 1 [10].The transitions between the terms Sp(3p2), ~D(3s4d), and SD(3s5d), and the term 3p(0) (3s3p) of MgI fall in the (277 + 310) nm wavelength range, covered by frequency duplication of the rhodamine dyes.A high-resolution investigation of these terms is interesting in order to complete the literature data. In fact, except for the 3D(3s4d) fine-structure splittings, already cited above, the major work on the matter remains the one of Risberg [ll] who measured about 160 lines of MgI and whose data make the body of a critically compiled collection of energy levels of MgI [12]. That work was performed with classical hollow-cathode discharge lamps and isotope shifts were not resolved. We have performed the measurements in a metastable atomic beam which assures a sub-Doppler resolution to the experiment. The source of radiation is a commercial 955