 In Castel San Pietro about 78.1% of the population (between age 25-64) have completed either non-mandatory upper secondary education or additional higher education (either University or a "Fachhochschule").In Castel San Pietro there were a total of 302 students ().The Ticino education system provides up to three years of non-mandatory kindergarten and in Castel San Pietro there were 42 children in kindergarten.