burn the candle at both ends

Upper Intermediate (B2) informal

To overwork yourself by not getting enough rest.

"She's been burning the candle at both ends trying to finish her thesis before the deadline."