Abstract We investigate the collective mode of a self-gravitating Bose-Einstein condensate (BEC) described by the Gross-Pitaevskii-Poisson (GPP) equations. The self-gravitating BEC has garnered considerable attention in cosmology and astrophysics, being proposed as a plausible candidate for dark matter. Our inquiry delves into the breathing and anisotropic collective modes by numerically solving the GPP equations and using the variational method. The breathing mode demonstrates a reduction in period with increasing total mass due to the density dependence of the self-gravitating BEC, attributed to the density-dependent nature of self-gravitating BECs, aligning quantitatively with our analytical findings. Additionally, we investigate an anisotropic collective mode in which the quadrupole mode intertwines with the breathing mode. The period of the quadrupole mode exhibits similar total mass dependence to that of the breathing mode. The characteristics of these periods differ from those of a conventional BEC confined by an external potential. Despite the differences in density dependence, the ratio of their periods equals that of the BEC confined by an isotropic harmonic potential. Furthermore, an extension of the variational method to a spheroidal configuration enables the isolation of solely the quadrupole mode from the anisotropic collective mode.