The invention discloses a tunable laser, and relates to the field of optical communication devices. The tunable laser includes a silicon substrate, wherein the length direction, width direction and height direction of the silicon substrate are respectively defined as a first direction, a second direction, and a third direction; an optical input port, a first optical waveguide, a photonic crystal cavity, a second optical waveguide, an optical beam splitter, an optical emission port, an optical output port and an optical gain assembly which are formed on the silicon substrate. The optical inputport and the optical output port are connected through an optical fiber link to form a loop, and the optical gain assembly is arranged on the loop. According to the tunable laser, electrodes are respectively arranged at the two sides of a photonic crystal cavity in the second direction, or electrodes are arranged above the photonic crystal cavity in the third direction. The tunable laser providedby the invention is high in adjustment efficiency, large in tuning range, stable in output wavelength, small in structural size and beneficial to large-scale integration.