In this article, we give a new method of multi-focus fusion images based on Dempster-Shafer theory using local variability (DST-LV). Indeed, the method takes into account the variability of observations of neighbouring pixels at the point studied. At each pixel, the method exploits the quadratic distance between the value of the pixel I (x, y) of the point studied and the value of all pixels which belong to its neighbourhood. Local variability is used to determine the mass function. In this work, two classes of Dempster-Shafer theory are considered: the fuzzy part and the focused part. We show that our method gives the significant and better result by comparing it to other methods.