A method for treating an abnormal polyglutamine-mediated disease is disclosed, wherein indole and an indole-based compound contained in a pharmaceutical composition used in the method of the present invention can reduce the polyglutamine aggregation through decreasing reactive oxygen species production and increasing the activity of chaperone and autophagy.