Based on the fact that the near horizon geometry of the extremal Schwarzschild-de Sitter black holes is Nariai geometry, we define the black holes of Nariai class as the configuration whose near-horizon geometry is factorized as two dimensional de Sitter space-time and some compact topology, that is Nariai geometry. We extend the entropy function formalism to the case of the black holes of Nari...