To work late into the night or stay up very late working on something.
This phrase dates to the late 17th century when oil lamps were the primary source of artificial light. 'Midnight oil' literally referred to the lamp oil consumed while working after midnight, making it an expensive and dedicated effort since oil was costly and staying up late was unusual before electric lighting.
Try Another Word