“Fast Five” scribe Chris Morgan, who penned the last two installments of the lucrative franchise that helped Universal Pictures get through a rough couple of years, has inked a two-year production deal with the studio.

Deal comes at a time when studios are cutting back on overall production deals — but this one makes sense for Universal, locking up the sole writer who also delivered “Fast and the Furious: Tokyo Drift” and “Fast & Furious,” the latter of which grossed more than $340 million at the worldwide B.O.

Other Universal projects Morgan has worked on include “Wanted” and most recently the script for “47 Ronin” starring Keanu Reeves.

Morgan currently has three projects in development: “The Eye of the World” at Universal, “The Vatican Tapes” at Lionsgate and “Heatseekers” with Platinum Dunes at Paramount.

“Fast Five” bows April 29.

Morgan is repped by ICM, H2F Entertainment and McKuin Frankel Whitehead.