In this paper, we prove someregularity results for the boundary of an open subset of $\xR^d$ whichminimizes the Dirichlet's energy among all open subsets withprescribed volume. In particular we show that, whenthe volume constraint is “saturated”,the reduced boundary of the optimal shape (and even the wholeboundary in dimension 2)is regular if the state function is nonnegative.