A free-floating rifle rail and barrel locking system that provides a barrel assembly and rail assembly, which is detachable from the main body of a rifle without tools. This is advantageous for quick field breakdown and/or rifle modification. The user has the option to disassemble the rifle for easy transport, to change barrel length, to change barrel caliber or change rail configurations. The rails are free-floating, meaning the rails do not come in contact with the barrel and thus do not impact the precision of the rifle.