This article presents a didactic proposal based on task-based learning within the Content and Language Integrated Learning programme, which combines the work of the curricular content of the subject of Spanish Language and Literature, and the teaching of Spanish as a second language in a very specific context: a British school in Spain. Foreign students, through a sequence of microtasks, carry out a final task of a non-linguistic nature, but where they need to interact with their classmates, communicate with each other using Spanish. Throughout this methodological approach, learners acquire reflective, significant and quality knowledge -as promoted by the LOMLOE- of the contents of the subject. Collaborative work, sharing information, strategic planning, mastering not only contents for communication but also communicative processes allow preparing young people for the future, for lifelong learning.