Online students are becoming an increasingly big part of the student population in higher education. Interaction and collaboration is beneficial for academic performance and well-being, but can be challenging to facilitate in the online context. Through individual in-depth interviews, we have investigated online students' experiences of academic and social community, as well as the role study flexibility can play in their participation in such communities. The thematic analysis resulted in four themes. Theme 1, Expectations of being self-sufficient, shows that many participants made good use of the flexibility of the studies by being organised and independent. However, the expectation of independence became a potential barrier to participation. Theme 2, Collaboration if valuable and flexible, describes how most participants desired increased collaboration with their peers, given that it was flexible and of academic value. Theme 3, Study groups as important but fragile communities, illustrates study groups as the participants' primary learning communities, but finds that maintaining them over time could be challenging. Theme 4, Digital distance, depicts many participants' challenges with connecting digitally with others. We discuss these findings in the light of self-determination theory, showing how flexibility can become both a facilitator and a barrier for basic need satisfaction in online education, and that participation and collaboration seemed to be more closely connected to the need for competence than for relatedness. The main implication of the study is that online studies should strive to create a need-supportive environment that facilitates academic community while acknowledging many online students' necessity for flexibility.