pull an all-nighter

verb
RareNot in standard dictionaries
1

To stay awake throughout the night, usually when working or studying.

#informal