Motor imagery (MI; mental simulation of actions) shares certain mental representations and processes with executed movement (ME). This neurocognitive overlap between MI and ME may explain why the systematic use of MI improves skilled performance in numerous domains. Unfortunately, the attentional mechanisms underlying MI remain unresolved. Therefore, the present studies investigated the role of attentional effort (as measured by pupil dilation) in MI. We evaluated the effects of movement complexity and speed on expert pianists' pupil dilation as they physically executed and used MI to perform easy/complex and slow/fast music phrases. Results revealed that easy movements required similar levels of attentional effort during MI and ME. However, during complex movements performed at a fast speed, the correspondence between execution and imagery of movement was disrupted.