A massaging device includes two caps, and a number of beams disposed between the caps and secured to the caps, and the beams each include a number of massaging projections for massaging purposes. A housing is slidably disposed between the caps and movable between the caps, the housing includes a number of massaging members. The housing includes a number of slots for slidably engaging with the beams respectively. The housing includes a chamber, and the caps each include a tubular element extended and engaged into the chamber of the housing. The housing includes a cavity formed in each of two end portions of the housing, and the caps each include a catch for engaging with the cavity of the housing.