We study T-duality for open strings in arbitrary background fields including the abelian electromagnetic one. We focus in the mapping of the boundary conditions in the disk and the crosscap topologies and we discuss in detail the consistency of the gauging procedure for the bosonic and the N = 1 supersymmetric theories. A brief account is made on the dilaton transformation and global issues in higher genus.