The coupling of the electromagnetic field to gravity is an age-old problem. Presently, there is a resurgence of interest in it, mainly for two reasons: (i) Experimental investigations are under way with ever increasing precision, be it in the laboratory or by observing outer space. (ii) One desires to test out alternatives to Einstein's gravitational theory, in particular those of a gauge-theoretical nature, like Einstein-Cartan theory or metric-affine gravity.-A clean discussion requires a reflection on the foundations of electrodynamics. If one bases electrodynamics on the conservation laws of electric charge and magnetic flux, one finds Maxwell's equations expressed in terms of the excitation H = (D, H) and the field strength F = (E, B) without any intervention of the metric or the linear connection of spacetime. In other words, there is still no coupling to gravity. Only the constitutive law H = functional(F ) mediates such a coupling. We discuss the different ways of how metric, nonmetricity, torsion, and curvature can come into play here. Along the way, we touch on non-local laws (Mashhoon), non-linear ones (Born-Infeld, Heisenberg-Euler, Plebański), linear ones, including the Abelian axion (Ni), and find a method for deriving the metric from linear electrodynamics (Toupin, Schönberg). Finally, we discuss possible non-minimal coupling schemes.1 Of course, we could have non-minimal coupling as, e.g., in F +γ eα⌋e β ⌋R αβ ∧F = 1 ε 0 c d ⋆ J , see Sec.7.