Internal and external factors may contribute to your loss of focus. Internal factors affect your mental and physical condition. They include hunger, interest, ADHD, or cognitive ability impairment. Conversely, external factors refer to your environment and are more easily remedied. They include noise, colleagues, or any unfavorable environment.