Pterostylis petrosa was first formally described in 1983 by David Jones and Mark Clements from a specimen collected near The Rock and the description was published in Muelleria. The specific epithet (petrosa) is a Latin word meaning rocky or stony, referring to the habitat where this orchid grows, and to the type location.