Abstract
A direct method of constructing the Hamiltonian structure of the soliton hierarchy with self-consistent sources is proposed through computing the functional derivative under some constraints. The Hamiltonian functional is related with the conservation densities of the corresponding hierarchy. Three examples and their two reductions are given.