The collision happened on the Altagarron Road in Dungiven shortly after 5pm on Friday.
Two other teenagers who were also injured in the crash were taken to hospital.
None of the boys' injuries are thought to be life-threatening.
The road remained closed on Friday night.
Diversions were in place.