OCD can occur in any environment, and some environments are more difficult than others depending on the individual. This can vary depending on the theme of the intrusive thoughts too.
Below is an up to date table of where readers have experienced OCD, via the OCD log.
These are articles on the specific environments, with a log of what themes and compulsions were present in that place.

Daily routine with OCD
The routines that are most frequent and not always associated with a specific place

Digital spaces with OCD
Digital spaces such as online, gaming, texting etc.

Health venues with OCD
Hospitals, dentists etc.

Public space with OCD
Places with other people and crowds

School and education with OCD
School, college and university etc

Transport with OCD
Planes, trains, cars etc...
