The invention discloses a method for fabricating a light-emitting diode. In an embodiment of the invention, the method comprises the following steps of (a) preparing a substrate; (b) forming an epitaxial layer on the substrate, wherein the epitaxial layer has an upper surface; (c) forming a mask layer on a first region of the upper surface of the epitaxial layer; (d) forming a semiconductor multi-layer structure on a second region of the upper surface of the epitaxial layer, wherein the second region is distinct from the first region; (e) removing the mask layer formed on the first region of the upper surface of the epitaxial layer; and (f) forming an electrode on the first region of the upper surface of the epitaxial layer.