We gauge-fix the standard model effective field theory in a manner invariant under background-field gauge transformations using a geometric description of the field connections.