The present invention relates to a composition comprising urolithin A, urolithin B, urolithin C, urolithin D, or a combination thereof, for the stimulation of insulin secretion, and to the use of a compound chosen among urolithin A, urolithin B, urolithin C, urolithin D, or a combination thereof, intended for the stimulation of insulin secretion. The present invention also relates to a composition comprising an effective amount of urolithin B, urolithin C, urolithin D, or a combination thereof, for the treatment or the prevention of diabetes mellitus, and in particular for the treatment or the prevention of type 2 diabetes, and to the use of a compound chosen among urolithin B, urolithin C, urolithin D, and a combination thereof, intended for the treatment or the prevention of diabetes mellitus, and in particular of type 2 diabetes.