"Burning the midnight oil" implies a late night, but not necessarily all night.
He burns the midnight oil studying every day.
He pulls an all-nighter every day.
What's the difference in meaning between the above two sentences?
I need native speakers' help.
He burns the midnight oil studying every night - He consistently studies.
He pulls an all-nighter every night:
He studies every night
He drinks every night
He gambles every night
He does something every night but it doesn't have to be studying.
To burn the midnight oil is a very old English expression from times when people used oil lamps for light. The earliest record of its use is in a poem by Frances Quarles from 1635. Today the expression is used to denote working late at night, whether it be study or actual work at a job.
To pull an all-nighter probably originated in the latter half of the 20th Century, judging by the formation of the phrase and the modern idioms of "pull" and "nighter". This expression denotes any activity that involved staying awake until sunrise, whether it be studying or partying, or even just watching television.
Do you have a source for that, natelearning?