The invention relates to the use of spermidine or a pharmaceutically acceptable derivative thereof as the active principle in a pharmaceutical, cosmetic or dietetic composition. The composition is used for promoting pigmentation of the hair, particularly the shaft of the hair. The invention also relates to the composition which promotes this pigmentation effect, the composition containing spermidine or a derivative thereof (such as a salt) as an active principle and is intended for topical or oral administration.