The present work shows a new contribution to the design of superhydrophobic surfaces with the additional function of active corrosion protection, through the encapsulation of inhibiting agents.