Ba-Pef was a minor underworld god in Egyptian mythology. The name literally means that Ba, meaning that soul (ba). Ba-Pef is commonly portrayed as an obscure malevolent deity known from the Old Kingdom.