We constrain the orientation of the horizontal stress field from borehole image data in a transect across the Hikurangi Subduction Margin. This region experiences NW-SE convergence leading to recurrent slow slip events. The direction of the horizontal maximum stress is E-W at an active thrust fault near the subduction margin trench. This trend changes to NNW-SSE in the Tuaheni Basin in the offshore accretionary wedge, and to NE-SW in the onshore forearc. Multiple, tectonic and geological processes, either individually or in concert, may explain this variability. A general offshore-onshore stress rotation may reflect a change from dominantly compressional tectonics at the deformation front, to a strike-slip and/or extensional stress regime closer to the Taupo Volcanic Zone. In addition, the offshore stress may be affected by topography and/or stress rotation around subducting seamounts, and/or temporal stress changes during the slow slip cycle.