A bolt action rifle with safety latching mechanism has an upper receiver including a movable bolt assembly, a lower receiver having a trigger assembly and releasably attached to the upper receiver, the bolt assembly movable between a cocked position and an uncocked position, and the upper receiver and the lower receiver including a latching mechanism operable to prevent the lower receiver from being detached from the upper receiver while the bolt assembly is in the cocked position.