This article examines the removal of children from factories and their integration into the school system in the early nineteenth century, using decommodification as a conceptual framework. The Swiss canton of Aargau serves as a case study – a region where the textile industry flourished and a liberal government came to power after the July Revolution, subsequently enforcing compulsory education. Through a nuanced exploration of diverse sources, the article argues that decommodification was a deeply contentious process marked by conflicts between working-class families, factory owners, the state, and the church. Simultaneously, these conflicts unleashed dynamic forces that coded working-class childhood in terms of age and gender. It is this transformational power that underscores the interpretative potential of decommodification as a constructive process of Vergesellschaftung (sociation). Beyond simply freeing children from labour obligations, the prohibition of factory work reintegrated them intricately into the social fabric of the economy.