We study the zero temperature mean-field phase diagram of the Bose-Hubbard model in the presence of local coupling between the bosons and an external bath. We consider a coupling that conserves the on-site occupation number, preserving the robustness of the Mott-insulator and superfluid phases. We show that the coupling to the bath renormalizes the chemical potential and the interaction between the bosons and reduces the size of the superfluid regions between the insulating lobes. For strong enough coupling, a finite value of hopping is required to obtain superfluidity around the degeneracy points where Mott-insulator phases with different occupation numbers coexist.