A variable attenuator for high-powered IR beams, based on MEMS-controlled excitation of surface plasmon polaritons on suitably conducting surfaces is described. Materials choice determines the useful spectral band. Intensity variation over nine-orders is theoretically possible.