The interaction of shear, stratification, and turbulence in boundary layers on sloping topography is investigated with the help of an idealized theoretical model, assuming uniform bottom slope and homogeneity in the upslope direction. It is shown theoretically that the irreversible vertical buoyancy flux generated in the boundary layer is directly proportional to the molecular destruction rate of small-scale buoyancy variance, which can be inferred, for example, from microstructure observations. Dimensional analysis of the equations shows that, for harmonic boundary layer forcing and no rotation, the problem is governed by three nondimensional parameters (slope angle, roughness number, and ratio of forcing and buoyancy frequencies). Solution of the equations with a second-moment closure model for the turbulent fluxes reveals the periodic generation of gravitationally unstable boundary layers during upslope flow, consistent with available observations. Investigation of the nondimensional parameter space with the help of this model illustrates a systematic increase of the bulk mixing efficiencies for (i) steep slopes and (ii) low-frequency forcing. Except for very steep slopes, mixing efficiencies are substantially smaller than the classical value of G 5 0.2.