We give a precise formulation of T-duality for Ramond–Ramond fields. This gives a canonical isomorphism between the "geometrically invariant" subgroups of the twisted differentialK-theory groups associated to certain principal torus bundles. Our result combines topological T-duality with the Buscher rules found in physics.