A cordless nailer is provided having a magazine assembly with improved features. An improved latch mechanism for clearing nail jams is provided that reduces wear on the latch. A driver retention feature is provided to retain a drive blade from accidentally escaping the nailer. A pusher assembly is provided having a simplified and efficient construction. A pusher retention feature is provided that prevents the driver blade from impacting a nail pusher. A nail retention feature is provided to allow easy loading and unloading of nails into the nailer. Finally, a method of assembling the magazine assembly is provided.