I will describe T-duality between general geometric and non-geometric backgrounds as higher groupoid bundles with connections. This description extends the previous observation by Nikolaus and Waldorf that the topological aspects of geometric and half-geometric T-dualities can be described in terms of higher geometry. Their construction is extended in two ways. First, the higher geometries are endowed with adjusted connections, which yield explicit formulas for the metric and the Kalb-Ramond field of a T-background. Second, the principal 2-bundles are extended to augmented 2-groupoid bundles, which accommodate the scalar fields arising in T-duality along several directions as well as Q- and R-fluxes. This talk is based on arXiv:2204.01783.