We evaluate the effect of an abrupt change in the surface aerodynamic roughness height on a wind farm sited on it using the large eddy simulation (LES). Compared to a wind farm sited on a uniformly rough surface, the alteration in aerodynamic surface roughness from a rough to smooth value leads to substantial changes in the first-order and second-order turbulent statistics. Specifically, the rough-to-smooth surface roughness transition leads to an acceleration of the flow downstream of it, which affects the wake recovery and wind farm power production. Different velocity deficits are formulated considering different definitions of “upstream” velocity. The usual deficit, i.e., the difference between the overall wind farm upstream velocities and downstream of a turbine, attains negative values near the ground, rendering it difficult to model within the usual Gaussian radial-shape framework. An alternative definition, i.e., the difference in velocity at the same location with and without turbines on a heterogeneous surface, consistently yields positive values and is amenable to Gaussian shape-based modelling. The power generation decreases as the step change in surface roughness progressively moves into the wind farm. Maximum power is produced when all turbines are placed downstream of the surface roughness jump and minimum power is generated for a homogeneously rough surface when the entire wind farm is placed on the rough surface.