I have had some luck with herbal teas. Lemon Balm and valerian, in particular, when nothing else is available. The other thing is structure, structure, structure. The unfortunate side-effect of that is that it can end up making you stick out like a sore-thumb in social situations; and it shouldn't necessarily be expected that all people will be okay it.<p>My significant other has got me started using this pad of "TODO" sheets she's had for years. Has lines and columns for stuff like people to call, things to do/follow up on, etc... which for whatever reason are helping me to stay focused. Something about writing things down on paper makes it a bit easier for me to coerce my brain into a more organized "time to do work now" mode of operation. I don't know if that'll happen for everyone though. I have a hunch it's tapping into some relatively old habits from my primary schooling days.<p>Another big thing that helps me which may sound funny is A) to dress the part, and B) keep your workspace clear, fresh paper/pen at hand, and only your tools for work immediately available. Some very light concessions for a things like music to play help you get into flow are okay too; the important thing is nothing complex except for what you should be working on. Otherwise your hyperfocus will try to grab on to the preferred task over what you should be doing. In terms of dressing the part, settle on a style of clothing to wear for "work" activities, and consistently wear it for just that. For me, long sleeve button-ups with one pocket on the front and long pants slacks are generally my "time to work" attire. Make sure it fits comfortably and is kept in good condition! You will notice when something is off.<p>The final bit is a bit of mental trick I may abandon, as I'm not totally sure it's very healthy. However, I do not consider work time "mine". It's weird, but if I imagine that I'm being entrusted with a certain block of time by an employer each day, it helps to sort if get all the mental cats all headed in more or less the same direction.<p>Finally, a word of caution. If you're stuck on a team or amongst a group of people you don't feel safe with; I.e. the words "prisoner's dilemma" at are at all relevant to your current every day working arrangement, get out now. Switch teams, projects, maybe even look to switch jobs as a last resort. The depression you can work yourself into from having half or more of your subconscious threads trying to navigate a hostile social climate is not at all trivial to claw your way out of.<p>That's most of the nuggets I've managed to build up. I'm trying out writing documentation whenever I can't focus well enough to do anything really complex and have found that may help at getting me into the right mindset for doing work.<p>Hope it helps. I've been experimenting in the same realm as well, so I'll be keeping an eye on this thread.