Mg-doped Ga2O3 thin films with different doping concentrations were deposited on sapphire substrates using laser molecular beam epitaxy (L-MBE) technique. X-ray diffraction (XRD), x-ray photoelectron spectroscopy (XPS) and ultraviolet-visible (UV-vis) absorption spectrum were used to characterize the crystal structure and optical properties of the as-grown films. Compared to pure Ga2O3 thin film, the Mg-doped thin films have transformed from the most stable β-phase into ε-phase. The absorption edge shifted to about 205 nm and the optical bandgap increased to ∼ 6 eV. These properties reveal that Mg-doped Ga2O3 films may have potential applications in the field of deep ultraviolet optoelectronic devices, such as deep ultraviolet photodetectors, short wavelength light emitting devices and so on.