The Girls creator stopped by Jimmy Kimmel Live! to laugh off the undressed episode.
"I apparently unbuttoned my pants in my sleep," Dunham explained. "Because I got up to pee again and realized they were down at mid-thigh."
"That's dangerous!" Kimmel responded.
Fortunately, Dunham made it to her destination without accidentally disrobing again, though she may want to wear mittens on her next flight, just to be safe.
Courtesy Lena Dunham