Floor panels (1b, 1c) are shown which are provided with a mechanical locking system comprising a tongue with rocker arms that allows locking by a vertical turning motion.