Density functional theory calculations are used to show that it is possible to dope semiconducting transition metal dichalcogenides (TMD) such as MoS2 and WS2 with electrons and/or holes either by chemical substitution or by adsorption on the sulfur layer. Notably, the activation energies of Lithium and Phosphorus, a shallow donor and a shallow acceptor, respectively, are smaller than 0.1 eV. Substitutional halogens are also proposed as alternative donors adequate for different temperature regimes. All dopants proposed result in very little lattice relaxation and, hence, are expected to lead to minor scattering of the charge carriers. Doped MoS2 and WS2 monolayers are extrinsic in a much wider temperature range than 3D semiconductors, making them superior for high temperature electronic and optoelectronic applications.Advances in the fabrication and characterization of two-dimensional (2D) dichalcogenide semiconductors have reshaped the concept of thin transistor gate. [1,2] Unlike thin fully-depleted silicon channels, physically limited by the oxide interface, single layer metal dichalcogenides are intrinsically 2D and, therefore, have no surface dangling bonds. The monolayer thickness is constant, and the scale of the variations of the electrostatic potential profile perpendicular to the plane is only limited by the extent of the electronic wavefunctions. Hence, TMD can in principle be considered immune to channel thickness modulation close to the drain.Building on these fundamental advantages, numerous field-effect transistor (FET) designs employing MoS 2 or WS 2 channels have been proposed. These range from 2D adaptations of the traditional FET structure, where the 2D semiconductor is separated by a dielectric layer from a top gate electrode, to dual-gate heterolayer devices where the transition metal dichalcogenide is straddled between two graphene sheets [2]. Such FETs can be integrated into logic inversion circuits, providing the building blocks for all logical operations [3].However, at present the success of TMD in electronics is limited by the difficulty in achieving high carrier concentrations and, by consequence, high electronic mobilities (current values range around 100 cm 2 /V.s) [4]. In the absence of a chemical doping technology, the control of the carrier concentration relies solely on the application of a gate voltage perpendicular to the layer, which shifts the Fermi level position rendering the material n-or p-type [5]. But in practice the gate voltage drop across the insulator cannot exceed its electric breakdown limit (about 1 V/nm for SiO 2 , or lower for high-κ dielectrics[6]). A work-around demonstrated in graphene consists on gating with ferroelectric polymers [7], although at the expense of the thermal stability and switching time.In this article we use first-principles calculations to show that MoS 2 and WS 2 can be doped both n-and p-type using substitutional impurities. This grants transitional metal dichalcogenides an advantage over other chalcogenide semiconductor families where ...