lost in thought
- thinking about something instead of paying attention to one's surroundings
Wiktionary
adj
- Being preoccupied with one's thoughts rather than paying attention to reality.
“These lines the knight perus'd, and, lost in thought, / He long in vain the secret meaning sought.”