The present invention relates to a composition comprising a maxi-K potassium channel opener the use in the treatment of fragile X syndrome. More specifically the present invention relates to a composition comprising a fluoro-oxindole or a chloro-oxindole for use in the treatment of fragile X syndrome.