In London, where he was also being a full-time actor and businessman
Shakespeare wrote all of his plays for his audience. In most cases this meant everybody, from the workers and apprentices who bought penny tickets and went to see the blood and to hear the dirty...
He wrote plays from about 1590 to 1613. We are not sure about exactly when he started.
At his writing desk, in London somewhere.
It was his job. He wrote plays so his playing company would have something to put on that would bring in the paying customers.