By extending the mean-field Hamiltonian to include nonhermitian operators, the master equations for fermions and bosons can be derived. The derived equations reduce to the Markoff master equation in the low-density limit and to the quasiclassical master equation for homogeneuos systems.