The two 18-year-olds, Ben Wilson and Oli Stavrakakis, were given police cautions for causing criminal damage by driving their cars into Malmesbury School in Wiltshire.
Police and firefighters were called after the Year 13 pupils squeezed their vehicles - a red Suzuki Twist and a green Peugeot 106 - through the main entrance on May 21 before they finished school to go on study leave.
YouTube video shows boys driving cars along school corridors - Telegraph