We investigate a model describing the dynamics of a gas of self-gravitating Brownian particles. This model can also have applications for the chemotaxis of bacterial populations. We focus here on the collapse phase obtained at sufficiently low temperature/energy and on the post-collapse regime following the singular time where the central density diverges. Several analytical results are illustrated by numerical simulations.