Castellfollit de la Roca is a municipality in the comarca of Garrotxa, in the province of Girona, Catalonia, Spain. The urban area is bordered by the confluence of the Fluvią and Toronell rivers, between which the town's basalt cliff rises.