Poor nocturnal sleep among adults with T2D was independently associated with significantly increased risk for MASLD.