A magazine lock and release mechanism for a firearm provides a left and right side magazine release, but prevents release of a magazine of a firearm without a tool. The mechanism comprises a magazine catch pivotable between an engaged and a disengaged position having a magazine catch tooth situated to engage a magazine inserted into a magazine well.