A condition-based switchable regioselective hydroalkylation of 2-arylindoles with maleimides has been developed.