It broke out before 2:00 p.m. at 194 Muskflower Court in the Laurel Chase community in Toms River.
Two of the 3-story units suffered major damage. Two others sustained smoke and water damage.
Everyone got out safely, although two firefighters were treated for minor injuries.
Investigators are working to determine what sparked the blaze.