The work train went off the tracks near the DeKalb Avenue station in Fort Greene.
The derailed car was blocking two track lines. That meant no service for the B train and the re-routing of other lines.
Workers had to remove the derailed car and repair 200 feet of track.
Full service was restored by late afternoon.