The variation of the superconducting critical temperature Tc as a function of the pressure p in the magnesium diboride M gB2 has been studied in the framework of two-bands Eliashberg theory and traditional phonon coupling mechanism. I have solved the two-bands Eliashberg equations using first-principle calculations or simple assumptions for the variation, with the pressure, of the relevant physical quantities. I have found that the experimental Tc versus p curve can be fitted very well and information can be obtained on the dependence of the electron-phonon interaction matrix < I 2 > by pressure. The pressure dependence of the superconductive gaps ∆σ and ∆π is also predicted.PACS numbers: 74.62.Fj; 74.20.Fg; 74.70.Ad, 74.25.Kc In the last few years, there is an noticeable increase of the study of superconductivity in many elements under pressure [1], such as sulphur (T c = 17 K), oxygen (T c = 0.5 K), carbon in nanotube (T c = 15 K) and diamond forms (T c = 4) K, a non-magnetic state of iron (T c = 1 K), and the light elements lithium (T c = 20 K) and boron (T c = 11 K). The application of external pressure to superconductors can drive the compounds towards or away from lattice instabilities by varying the principal parameters determining the superconducting properties (the electronic density of states at the Fermi energy, the characteristic phonon frequency, and the electron-phonon coupling constant), and it can be used to tune the T c and the superconducting properties. Almost all of the superconducting metallic materials, unlike the previous simple elements, show a decrease of T c with pressure. This negative pressure coefficient was attributed to the volume dependence of the electronic density of states at the Fermi energy and of the effective interaction between the electrons mediated by the electronphonon coupling. Measurements of the influence of pressure on the transition temperature and critical field yield information on the interaction causing the superconductivity. Indeed, the pressure would seem to be a variables whose effects might be capable of immediate theoretical interpretation. The binary alloy M gB 2 , superconductor [2], at ambient pressure, at T = 40 K has, under pressure, a behaviour similar to metallic materials. The magnesium diboride has stimulated intense investigation, both from the theoretical and the experimental point of view. Now the electronic structure of M gB 2 is well understood and the Fermi surface consists of two three-dimensional sheets, from the π bonding and antibonding bands, and two nearly cylindrical sheets from the two-dimensional σ bands [3]. There is a large difference in the electronphonon coupling on different Fermi surface sheets and this fact leads to a multiband description of superconductivity. Theory indicates that the strongest coupling is realized for the near-zone center in-plane optical phonon * Electronic address: E-mail:giovanni.ummarino@infm.polito.it (E 2g symmetry) related to vibration of the B atoms [1]. The superconductivity in M gB 2 has been ...