Diurnal restratification of the ocean surface boundary layer (OSBL) represents a competition between mixing of the OSBL and solar heating. Langmuir turbulence (LT) is a mixing process in the OSBL, driven by wind and surface waves, that transfers momentum, heat, and mass. Observations in nonequilibrium swell conditions reveal that the OSBL does not restratify despite low winds and strong solar radiation. Motivated by observations, we use large-eddy simulations of the wave-averaged Navier-Stokes equations to show that LT is capable of inhibiting diurnal restratification of the OSBL. Incoming heat is redistributed vertically by LT, forming a warmer OSBL with a nearly uniform temperature. The inhibition of restratification is not reproduced by two common Reynolds-averaged Navier-Stokes equation models, highlighting the importance of properly representing sea-state dependent LT dynamics in OSBL models.