We generalize duality invariance for the free Maxwell action in an arb
itrary background geometry to include the presence of electric and mag
netic charges. In particular, it follows that the actions of equally c
harged electric and magnetic black holes are equal.