"Naja atra" was first described by Danish physician, zoologist, and botanist Theodore Edward Cantor in 1842. The generic name "naja" is a Latinisation of the Sanskrit word () meaning "cobra". The specific epithet "atra" comes from the Latin term ater, which means "dark", "black", or "gloomy".